LCOV - code coverage report
Current view: top level - mapserver/build/mapscript/perl - mapscriptPERL5_wrap.c (source / functions) Hit Total Coverage
Test: mapserver.info Lines: 2053 20659 9.9 %
Date: XXXX-XX-XX Functions: 91 1249 7.3 %

          Line data    Source code
       1             : /* ----------------------------------------------------------------------------
       2             :  * This file was automatically generated by SWIG (http://www.swig.org).
       3             :  * Version 3.0.12
       4             :  *
       5             :  * This file is not intended to be easily readable and contains a number of
       6             :  * coding conventions designed to improve portability and efficiency. Do not make
       7             :  * changes to this file unless you know what you are doing--modify the SWIG
       8             :  * interface file instead.
       9             :  * ----------------------------------------------------------------------------- */
      10             : 
      11             : 
      12             : #ifndef SWIGPERL
      13             : #define SWIGPERL
      14             : #endif
      15             : 
      16             : #define SWIG_CASTRANK_MODE
      17             : 
      18             : /* -----------------------------------------------------------------------------
      19             :  *  This section contains generic SWIG labels for method/variable
      20             :  *  declarations/attributes, and other compiler dependent labels.
      21             :  * ----------------------------------------------------------------------------- */
      22             : 
      23             : /* template workaround for compilers that cannot correctly implement the C++ standard */
      24             : #ifndef SWIGTEMPLATEDISAMBIGUATOR
      25             : # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
      26             : #  define SWIGTEMPLATEDISAMBIGUATOR template
      27             : # elif defined(__HP_aCC)
      28             : /* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
      29             : /* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
      30             : #  define SWIGTEMPLATEDISAMBIGUATOR template
      31             : # else
      32             : #  define SWIGTEMPLATEDISAMBIGUATOR
      33             : # endif
      34             : #endif
      35             : 
      36             : /* inline attribute */
      37             : #ifndef SWIGINLINE
      38             : # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
      39             : #   define SWIGINLINE inline
      40             : # else
      41             : #   define SWIGINLINE
      42             : # endif
      43             : #endif
      44             : 
      45             : /* attribute recognised by some compilers to avoid 'unused' warnings */
      46             : #ifndef SWIGUNUSED
      47             : # if defined(__GNUC__)
      48             : #   if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
      49             : #     define SWIGUNUSED __attribute__ ((__unused__))
      50             : #   else
      51             : #     define SWIGUNUSED
      52             : #   endif
      53             : # elif defined(__ICC)
      54             : #   define SWIGUNUSED __attribute__ ((__unused__))
      55             : # else
      56             : #   define SWIGUNUSED
      57             : # endif
      58             : #endif
      59             : 
      60             : #ifndef SWIG_MSC_UNSUPPRESS_4505
      61             : # if defined(_MSC_VER)
      62             : #   pragma warning(disable : 4505) /* unreferenced local function has been removed */
      63             : # endif
      64             : #endif
      65             : 
      66             : #ifndef SWIGUNUSEDPARM
      67             : # ifdef __cplusplus
      68             : #   define SWIGUNUSEDPARM(p)
      69             : # else
      70             : #   define SWIGUNUSEDPARM(p) p SWIGUNUSED
      71             : # endif
      72             : #endif
      73             : 
      74             : /* internal SWIG method */
      75             : #ifndef SWIGINTERN
      76             : # define SWIGINTERN static SWIGUNUSED
      77             : #endif
      78             : 
      79             : /* internal inline SWIG method */
      80             : #ifndef SWIGINTERNINLINE
      81             : # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
      82             : #endif
      83             : 
      84             : /* exporting methods */
      85             : #if defined(__GNUC__)
      86             : #  if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
      87             : #    ifndef GCC_HASCLASSVISIBILITY
      88             : #      define GCC_HASCLASSVISIBILITY
      89             : #    endif
      90             : #  endif
      91             : #endif
      92             : 
      93             : #ifndef SWIGEXPORT
      94             : # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
      95             : #   if defined(STATIC_LINKED)
      96             : #     define SWIGEXPORT
      97             : #   else
      98             : #     define SWIGEXPORT __declspec(dllexport)
      99             : #   endif
     100             : # else
     101             : #   if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
     102             : #     define SWIGEXPORT __attribute__ ((visibility("default")))
     103             : #   else
     104             : #     define SWIGEXPORT
     105             : #   endif
     106             : # endif
     107             : #endif
     108             : 
     109             : /* calling conventions for Windows */
     110             : #ifndef SWIGSTDCALL
     111             : # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
     112             : #   define SWIGSTDCALL __stdcall
     113             : # else
     114             : #   define SWIGSTDCALL
     115             : # endif
     116             : #endif
     117             : 
     118             : /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
     119             : #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
     120             : # define _CRT_SECURE_NO_DEPRECATE
     121             : #endif
     122             : 
     123             : /* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
     124             : #if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
     125             : # define _SCL_SECURE_NO_DEPRECATE
     126             : #endif
     127             : 
     128             : /* Deal with Apple's deprecated 'AssertMacros.h' from Carbon-framework */
     129             : #if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES)
     130             : # define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
     131             : #endif
     132             : 
     133             : /* Intel's compiler complains if a variable which was never initialised is
     134             :  * cast to void, which is a common idiom which we use to indicate that we
     135             :  * are aware a variable isn't used.  So we just silence that warning.
     136             :  * See: https://github.com/swig/swig/issues/192 for more discussion.
     137             :  */
     138             : #ifdef __INTEL_COMPILER
     139             : # pragma warning disable 592
     140             : #endif
     141             : 
     142             : /* -----------------------------------------------------------------------------
     143             :  * swigrun.swg
     144             :  *
     145             :  * This file contains generic C API SWIG runtime support for pointer
     146             :  * type checking.
     147             :  * ----------------------------------------------------------------------------- */
     148             : 
     149             : /* This should only be incremented when either the layout of swig_type_info changes,
     150             :    or for whatever reason, the runtime changes incompatibly */
     151             : #define SWIG_RUNTIME_VERSION "4"
     152             : 
     153             : /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
     154             : #ifdef SWIG_TYPE_TABLE
     155             : # define SWIG_QUOTE_STRING(x) #x
     156             : # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
     157             : # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
     158             : #else
     159             : # define SWIG_TYPE_TABLE_NAME
     160             : #endif
     161             : 
     162             : /*
     163             :   You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
     164             :   creating a static or dynamic library from the SWIG runtime code.
     165             :   In 99.9% of the cases, SWIG just needs to declare them as 'static'.
     166             : 
     167             :   But only do this if strictly necessary, ie, if you have problems
     168             :   with your compiler or suchlike.
     169             : */
     170             : 
     171             : #ifndef SWIGRUNTIME
     172             : # define SWIGRUNTIME SWIGINTERN
     173             : #endif
     174             : 
     175             : #ifndef SWIGRUNTIMEINLINE
     176             : # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
     177             : #endif
     178             : 
     179             : /*  Generic buffer size */
     180             : #ifndef SWIG_BUFFER_SIZE
     181             : # define SWIG_BUFFER_SIZE 1024
     182             : #endif
     183             : 
     184             : /* Flags for pointer conversions */
     185             : #define SWIG_POINTER_DISOWN        0x1
     186             : #define SWIG_CAST_NEW_MEMORY       0x2
     187             : 
     188             : /* Flags for new pointer objects */
     189             : #define SWIG_POINTER_OWN           0x1
     190             : 
     191             : 
     192             : /*
     193             :    Flags/methods for returning states.
     194             : 
     195             :    The SWIG conversion methods, as ConvertPtr, return an integer
     196             :    that tells if the conversion was successful or not. And if not,
     197             :    an error code can be returned (see swigerrors.swg for the codes).
     198             : 
     199             :    Use the following macros/flags to set or process the returning
     200             :    states.
     201             : 
     202             :    In old versions of SWIG, code such as the following was usually written:
     203             : 
     204             :      if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
     205             :        // success code
     206             :      } else {
     207             :        //fail code
     208             :      }
     209             : 
     210             :    Now you can be more explicit:
     211             : 
     212             :     int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
     213             :     if (SWIG_IsOK(res)) {
     214             :       // success code
     215             :     } else {
     216             :       // fail code
     217             :     }
     218             : 
     219             :    which is the same really, but now you can also do
     220             : 
     221             :     Type *ptr;
     222             :     int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
     223             :     if (SWIG_IsOK(res)) {
     224             :       // success code
     225             :       if (SWIG_IsNewObj(res) {
     226             :         ...
     227             :   delete *ptr;
     228             :       } else {
     229             :         ...
     230             :       }
     231             :     } else {
     232             :       // fail code
     233             :     }
     234             : 
     235             :    I.e., now SWIG_ConvertPtr can return new objects and you can
     236             :    identify the case and take care of the deallocation. Of course that
     237             :    also requires SWIG_ConvertPtr to return new result values, such as
     238             : 
     239             :       int SWIG_ConvertPtr(obj, ptr,...) {
     240             :         if (<obj is ok>) {
     241             :           if (<need new object>) {
     242             :             *ptr = <ptr to new allocated object>;
     243             :             return SWIG_NEWOBJ;
     244             :           } else {
     245             :             *ptr = <ptr to old object>;
     246             :             return SWIG_OLDOBJ;
     247             :           }
     248             :         } else {
     249             :           return SWIG_BADOBJ;
     250             :         }
     251             :       }
     252             : 
     253             :    Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
     254             :    more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
     255             :    SWIG errors code.
     256             : 
     257             :    Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
     258             :    allows to return the 'cast rank', for example, if you have this
     259             : 
     260             :        int food(double)
     261             :        int fooi(int);
     262             : 
     263             :    and you call
     264             : 
     265             :       food(1)   // cast rank '1'  (1 -> 1.0)
     266             :       fooi(1)   // cast rank '0'
     267             : 
     268             :    just use the SWIG_AddCast()/SWIG_CheckState()
     269             : */
     270             : 
     271             : #define SWIG_OK                    (0)
     272             : #define SWIG_ERROR                 (-1)
     273             : #define SWIG_IsOK(r)               (r >= 0)
     274             : #define SWIG_ArgError(r)           ((r != SWIG_ERROR) ? r : SWIG_TypeError)
     275             : 
     276             : /* The CastRankLimit says how many bits are used for the cast rank */
     277             : #define SWIG_CASTRANKLIMIT         (1 << 8)
     278             : /* The NewMask denotes the object was created (using new/malloc) */
     279             : #define SWIG_NEWOBJMASK            (SWIG_CASTRANKLIMIT  << 1)
     280             : /* The TmpMask is for in/out typemaps that use temporal objects */
     281             : #define SWIG_TMPOBJMASK            (SWIG_NEWOBJMASK << 1)
     282             : /* Simple returning values */
     283             : #define SWIG_BADOBJ                (SWIG_ERROR)
     284             : #define SWIG_OLDOBJ                (SWIG_OK)
     285             : #define SWIG_NEWOBJ                (SWIG_OK | SWIG_NEWOBJMASK)
     286             : #define SWIG_TMPOBJ                (SWIG_OK | SWIG_TMPOBJMASK)
     287             : /* Check, add and del mask methods */
     288             : #define SWIG_AddNewMask(r)         (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
     289             : #define SWIG_DelNewMask(r)         (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
     290             : #define SWIG_IsNewObj(r)           (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
     291             : #define SWIG_AddTmpMask(r)         (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
     292             : #define SWIG_DelTmpMask(r)         (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
     293             : #define SWIG_IsTmpObj(r)           (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
     294             : 
     295             : /* Cast-Rank Mode */
     296             : #if defined(SWIG_CASTRANK_MODE)
     297             : #  ifndef SWIG_TypeRank
     298             : #    define SWIG_TypeRank             unsigned long
     299             : #  endif
     300             : #  ifndef SWIG_MAXCASTRANK            /* Default cast allowed */
     301             : #    define SWIG_MAXCASTRANK          (2)
     302             : #  endif
     303             : #  define SWIG_CASTRANKMASK          ((SWIG_CASTRANKLIMIT) -1)
     304             : #  define SWIG_CastRank(r)           (r & SWIG_CASTRANKMASK)
     305             : SWIGINTERNINLINE int SWIG_AddCast(int r) {
     306           0 :   return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
     307             : }
     308             : SWIGINTERNINLINE int SWIG_CheckState(int r) {
     309           0 :   return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
     310             : }
     311             : #else /* no cast-rank mode */
     312             : #  define SWIG_AddCast(r) (r)
     313             : #  define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
     314             : #endif
     315             : 
     316             : 
     317             : #include <string.h>
     318             : 
     319             : #ifdef __cplusplus
     320             : extern "C" {
     321             : #endif
     322             : 
     323             : typedef void *(*swig_converter_func)(void *, int *);
     324             : typedef struct swig_type_info *(*swig_dycast_func)(void **);
     325             : 
     326             : /* Structure to store information on one type */
     327             : typedef struct swig_type_info {
     328             :   const char             *name;     /* mangled name of this type */
     329             :   const char             *str;      /* human readable name of this type */
     330             :   swig_dycast_func        dcast;    /* dynamic cast function down a hierarchy */
     331             :   struct swig_cast_info  *cast;     /* linked list of types that can cast into this type */
     332             :   void                   *clientdata;   /* language specific type data */
     333             :   int                    owndata;   /* flag if the structure owns the clientdata */
     334             : } swig_type_info;
     335             : 
     336             : /* Structure to store a type and conversion function used for casting */
     337             : typedef struct swig_cast_info {
     338             :   swig_type_info         *type;     /* pointer to type that is equivalent to this type */
     339             :   swig_converter_func     converter;    /* function to cast the void pointers */
     340             :   struct swig_cast_info  *next;     /* pointer to next cast in linked list */
     341             :   struct swig_cast_info  *prev;     /* pointer to the previous cast */
     342             : } swig_cast_info;
     343             : 
     344             : /* Structure used to store module information
     345             :  * Each module generates one structure like this, and the runtime collects
     346             :  * all of these structures and stores them in a circularly linked list.*/
     347             : typedef struct swig_module_info {
     348             :   swig_type_info         **types;   /* Array of pointers to swig_type_info structures that are in this module */
     349             :   size_t                 size;            /* Number of types in this module */
     350             :   struct swig_module_info *next;    /* Pointer to next element in circularly linked list */
     351             :   swig_type_info         **type_initial;  /* Array of initially generated type structures */
     352             :   swig_cast_info         **cast_initial;  /* Array of initially generated casting structures */
     353             :   void                    *clientdata;    /* Language specific module data */
     354             : } swig_module_info;
     355             : 
     356             : /*
     357             :   Compare two type names skipping the space characters, therefore
     358             :   "char*" == "char *" and "Class<int>" == "Class<int >", etc.
     359             : 
     360             :   Return 0 when the two name types are equivalent, as in
     361             :   strncmp, but skipping ' '.
     362             : */
     363             : SWIGRUNTIME int
     364           0 : SWIG_TypeNameComp(const char *f1, const char *l1,
     365             :       const char *f2, const char *l2) {
     366           0 :   for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
     367           0 :     while ((*f1 == ' ') && (f1 != l1)) ++f1;
     368           0 :     while ((*f2 == ' ') && (f2 != l2)) ++f2;
     369           0 :     if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
     370             :   }
     371           0 :   return (int)((l1 - f1) - (l2 - f2));
     372             : }
     373             : 
     374             : /*
     375             :   Check type equivalence in a name list like <name1>|<name2>|...
     376             :   Return 0 if equal, -1 if nb < tb, 1 if nb > tb
     377             : */
     378             : SWIGRUNTIME int
     379           0 : SWIG_TypeCmp(const char *nb, const char *tb) {
     380             :   int equiv = 1;
     381           0 :   const char* te = tb + strlen(tb);
     382             :   const char* ne = nb;
     383           0 :   while (equiv != 0 && *ne) {
     384           0 :     for (nb = ne; *ne; ++ne) {
     385           0 :       if (*ne == '|') break;
     386             :     }
     387           0 :     equiv = SWIG_TypeNameComp(nb, ne, tb, te);
     388           0 :     if (*ne) ++ne;
     389             :   }
     390           0 :   return equiv;
     391             : }
     392             : 
     393             : /*
     394             :   Check type equivalence in a name list like <name1>|<name2>|...
     395             :   Return 0 if not equal, 1 if equal
     396             : */
     397             : SWIGRUNTIME int
     398             : SWIG_TypeEquiv(const char *nb, const char *tb) {
     399           0 :   return SWIG_TypeCmp(nb, tb) == 0 ? 1 : 0;
     400             : }
     401             : 
     402             : /*
     403             :   Check the typename
     404             : */
     405             : SWIGRUNTIME swig_cast_info *
     406           0 : SWIG_TypeCheck(const char *c, swig_type_info *ty) {
     407           0 :   if (ty) {
     408           0 :     swig_cast_info *iter = ty->cast;
     409           0 :     while (iter) {
     410           0 :       if (strcmp(iter->type->name, c) == 0) {
     411           0 :         if (iter == ty->cast)
     412             :           return iter;
     413             :         /* Move iter to the top of the linked list */
     414           0 :         iter->prev->next = iter->next;
     415           0 :         if (iter->next)
     416           0 :           iter->next->prev = iter->prev;
     417           0 :         iter->next = ty->cast;
     418           0 :         iter->prev = 0;
     419           0 :         if (ty->cast) ty->cast->prev = iter;
     420           0 :         ty->cast = iter;
     421           0 :         return iter;
     422             :       }
     423           0 :       iter = iter->next;
     424             :     }
     425             :   }
     426             :   return 0;
     427             : }
     428             : 
     429             : /*
     430             :   Identical to SWIG_TypeCheck, except strcmp is replaced with a pointer comparison
     431             : */
     432             : SWIGRUNTIME swig_cast_info *
     433             : SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *ty) {
     434             :   if (ty) {
     435             :     swig_cast_info *iter = ty->cast;
     436             :     while (iter) {
     437             :       if (iter->type == from) {
     438             :         if (iter == ty->cast)
     439             :           return iter;
     440             :         /* Move iter to the top of the linked list */
     441             :         iter->prev->next = iter->next;
     442             :         if (iter->next)
     443             :           iter->next->prev = iter->prev;
     444             :         iter->next = ty->cast;
     445             :         iter->prev = 0;
     446             :         if (ty->cast) ty->cast->prev = iter;
     447             :         ty->cast = iter;
     448             :         return iter;
     449             :       }
     450             :       iter = iter->next;
     451             :     }
     452             :   }
     453             :   return 0;
     454             : }
     455             : 
     456             : /*
     457             :   Cast a pointer up an inheritance hierarchy
     458             : */
     459             : SWIGRUNTIMEINLINE void *
     460             : SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory) {
     461           1 :   return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory);
     462             : }
     463             : 
     464             : /*
     465             :    Dynamic pointer casting. Down an inheritance hierarchy
     466             : */
     467             : SWIGRUNTIME swig_type_info *
     468             : SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
     469             :   swig_type_info *lastty = ty;
     470             :   if (!ty || !ty->dcast) return ty;
     471             :   while (ty && (ty->dcast)) {
     472             :     ty = (*ty->dcast)(ptr);
     473             :     if (ty) lastty = ty;
     474             :   }
     475             :   return lastty;
     476             : }
     477             : 
     478             : /*
     479             :   Return the name associated with this type
     480             : */
     481             : SWIGRUNTIMEINLINE const char *
     482             : SWIG_TypeName(const swig_type_info *ty) {
     483             :   return ty->name;
     484             : }
     485             : 
     486             : /*
     487             :   Return the pretty name associated with this type,
     488             :   that is an unmangled type name in a form presentable to the user.
     489             : */
     490             : SWIGRUNTIME const char *
     491             : SWIG_TypePrettyName(const swig_type_info *type) {
     492             :   /* The "str" field contains the equivalent pretty names of the
     493             :      type, separated by vertical-bar characters.  We choose
     494             :      to print the last name, as it is often (?) the most
     495             :      specific. */
     496             :   if (!type) return NULL;
     497             :   if (type->str != NULL) {
     498             :     const char *last_name = type->str;
     499             :     const char *s;
     500             :     for (s = type->str; *s; s++)
     501             :       if (*s == '|') last_name = s+1;
     502             :     return last_name;
     503             :   }
     504             :   else
     505             :     return type->name;
     506             : }
     507             : 
     508             : /*
     509             :    Set the clientdata field for a type
     510             : */
     511             : SWIGRUNTIME void
     512           1 : SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
     513           1 :   swig_cast_info *cast = ti->cast;
     514             :   /* if (ti->clientdata == clientdata) return; */
     515           1 :   ti->clientdata = clientdata;
     516             : 
     517           1 :   while (cast) {
     518           1 :     if (!cast->converter) {
     519           1 :       swig_type_info *tc = cast->type;
     520           1 :       if (!tc->clientdata) {
     521           0 :   SWIG_TypeClientData(tc, clientdata);
     522             :       }
     523             :     }
     524           1 :     cast = cast->next;
     525             :   }
     526           1 : }
     527             : SWIGRUNTIME void
     528             : SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
     529             :   SWIG_TypeClientData(ti, clientdata);
     530             :   ti->owndata = 1;
     531             : }
     532             : 
     533             : /*
     534             :   Search for a swig_type_info structure only by mangled name
     535             :   Search is a O(log #types)
     536             : 
     537             :   We start searching at module start, and finish searching when start == end.
     538             :   Note: if start == end at the beginning of the function, we go all the way around
     539             :   the circular list.
     540             : */
     541             : SWIGRUNTIME swig_type_info *
     542           0 : SWIG_MangledTypeQueryModule(swig_module_info *start,
     543             :                             swig_module_info *end,
     544             :                 const char *name) {
     545             :   swig_module_info *iter = start;
     546             :   do {
     547           0 :     if (iter->size) {
     548             :       size_t l = 0;
     549           0 :       size_t r = iter->size - 1;
     550             :       do {
     551             :   /* since l+r >= 0, we can (>> 1) instead (/ 2) */
     552           0 :   size_t i = (l + r) >> 1;
     553           0 :   const char *iname = iter->types[i]->name;
     554           0 :   if (iname) {
     555           0 :     int compare = strcmp(name, iname);
     556           0 :     if (compare == 0) {
     557             :       return iter->types[i];
     558           0 :     } else if (compare < 0) {
     559           0 :       if (i) {
     560           0 :         r = i - 1;
     561             :       } else {
     562             :         break;
     563             :       }
     564           0 :     } else if (compare > 0) {
     565           0 :       l = i + 1;
     566             :     }
     567             :   } else {
     568             :     break; /* should never happen */
     569             :   }
     570           0 :       } while (l <= r);
     571             :     }
     572           0 :     iter = iter->next;
     573           0 :   } while (iter != end);
     574             :   return 0;
     575             : }
     576             : 
     577             : /*
     578             :   Search for a swig_type_info structure for either a mangled name or a human readable name.
     579             :   It first searches the mangled names of the types, which is a O(log #types)
     580             :   If a type is not found it then searches the human readable names, which is O(#types).
     581             : 
     582             :   We start searching at module start, and finish searching when start == end.
     583             :   Note: if start == end at the beginning of the function, we go all the way around
     584             :   the circular list.
     585             : */
     586             : SWIGRUNTIME swig_type_info *
     587           0 : SWIG_TypeQueryModule(swig_module_info *start,
     588             :                      swig_module_info *end,
     589             :          const char *name) {
     590             :   /* STEP 1: Search the name field using binary search */
     591           0 :   swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
     592           0 :   if (ret) {
     593             :     return ret;
     594             :   } else {
     595             :     /* STEP 2: If the type hasn't been found, do a complete search
     596             :        of the str field (the human readable name) */
     597             :     swig_module_info *iter = start;
     598             :     do {
     599             :       size_t i = 0;
     600           0 :       for (; i < iter->size; ++i) {
     601           0 :   if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
     602             :     return iter->types[i];
     603             :       }
     604           0 :       iter = iter->next;
     605           0 :     } while (iter != end);
     606             :   }
     607             : 
     608             :   /* neither found a match */
     609             :   return 0;
     610             : }
     611             : 
     612             : /*
     613             :    Pack binary data into a string
     614             : */
     615             : SWIGRUNTIME char *
     616             : SWIG_PackData(char *c, void *ptr, size_t sz) {
     617             :   static const char hex[17] = "0123456789abcdef";
     618             :   const unsigned char *u = (unsigned char *) ptr;
     619           0 :   const unsigned char *eu =  u + sz;
     620           0 :   for (; u != eu; ++u) {
     621           0 :     unsigned char uu = *u;
     622           0 :     *(c++) = hex[(uu & 0xf0) >> 4];
     623           0 :     *(c++) = hex[uu & 0xf];
     624             :   }
     625             :   return c;
     626             : }
     627             : 
     628             : /*
     629             :    Unpack binary data from a string
     630             : */
     631             : SWIGRUNTIME const char *
     632             : SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
     633             :   unsigned char *u = (unsigned char *) ptr;
     634             :   const unsigned char *eu = u + sz;
     635             :   for (; u != eu; ++u) {
     636             :     char d = *(c++);
     637             :     unsigned char uu;
     638             :     if ((d >= '0') && (d <= '9'))
     639             :       uu = (unsigned char)((d - '0') << 4);
     640             :     else if ((d >= 'a') && (d <= 'f'))
     641             :       uu = (unsigned char)((d - ('a'-10)) << 4);
     642             :     else
     643             :       return (char *) 0;
     644             :     d = *(c++);
     645             :     if ((d >= '0') && (d <= '9'))
     646             :       uu |= (unsigned char)(d - '0');
     647             :     else if ((d >= 'a') && (d <= 'f'))
     648             :       uu |= (unsigned char)(d - ('a'-10));
     649             :     else
     650             :       return (char *) 0;
     651             :     *u = uu;
     652             :   }
     653             :   return c;
     654             : }
     655             : 
     656             : /*
     657             :    Pack 'void *' into a string buffer.
     658             : */
     659             : SWIGRUNTIME char *
     660             : SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
     661             :   char *r = buff;
     662             :   if ((2*sizeof(void *) + 2) > bsz) return 0;
     663             :   *(r++) = '_';
     664             :   r = SWIG_PackData(r,&ptr,sizeof(void *));
     665             :   if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
     666             :   strcpy(r,name);
     667             :   return buff;
     668             : }
     669             : 
     670             : SWIGRUNTIME const char *
     671             : SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
     672             :   if (*c != '_') {
     673             :     if (strcmp(c,"NULL") == 0) {
     674             :       *ptr = (void *) 0;
     675             :       return name;
     676             :     } else {
     677             :       return 0;
     678             :     }
     679             :   }
     680             :   return SWIG_UnpackData(++c,ptr,sizeof(void *));
     681             : }
     682             : 
     683             : SWIGRUNTIME char *
     684             : SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
     685             :   char *r = buff;
     686             :   size_t lname = (name ? strlen(name) : 0);
     687             :   if ((2*sz + 2 + lname) > bsz) return 0;
     688             :   *(r++) = '_';
     689             :   r = SWIG_PackData(r,ptr,sz);
     690             :   if (lname) {
     691             :     strncpy(r,name,lname+1);
     692             :   } else {
     693             :     *r = 0;
     694             :   }
     695             :   return buff;
     696             : }
     697             : 
     698             : SWIGRUNTIME const char *
     699             : SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
     700             :   if (*c != '_') {
     701             :     if (strcmp(c,"NULL") == 0) {
     702             :       memset(ptr,0,sz);
     703             :       return name;
     704             :     } else {
     705             :       return 0;
     706             :     }
     707             :   }
     708             :   return SWIG_UnpackData(++c,ptr,sz);
     709             : }
     710             : 
     711             : #ifdef __cplusplus
     712             : }
     713             : #endif
     714             : 
     715             : /*  Errors in SWIG */
     716             : #define  SWIG_UnknownError         -1
     717             : #define  SWIG_IOError            -2
     718             : #define  SWIG_RuntimeError       -3
     719             : #define  SWIG_IndexError         -4
     720             : #define  SWIG_TypeError          -5
     721             : #define  SWIG_DivisionByZero     -6
     722             : #define  SWIG_OverflowError      -7
     723             : #define  SWIG_SyntaxError        -8
     724             : #define  SWIG_ValueError         -9
     725             : #define  SWIG_SystemError        -10
     726             : #define  SWIG_AttributeError     -11
     727             : #define  SWIG_MemoryError        -12
     728             : #define  SWIG_NullReferenceError   -13
     729             : 
     730             : 
     731             : 
     732             : #ifdef __cplusplus
     733             : /* Needed on some windows machines---since MS plays funny games with the header files under C++ */
     734             : #include <math.h>
     735             : #include <stdlib.h>
     736             : extern "C" {
     737             : #endif
     738             : #include "EXTERN.h"
     739             : #include "perl.h"
     740             : #include "XSUB.h"
     741             : 
     742             : /* Add in functionality missing in older versions of Perl. Much of this is based on Devel-PPPort on cpan. */
     743             : 
     744             : /* Add PERL_REVISION, PERL_VERSION, PERL_SUBVERSION if missing */
     745             : #ifndef PERL_REVISION
     746             : #  if !defined(__PATCHLEVEL_H_INCLUDED__) && !(defined(PATCHLEVEL) && defined(SUBVERSION))
     747             : #    define PERL_PATCHLEVEL_H_IMPLICIT
     748             : #    include <patchlevel.h>
     749             : #  endif
     750             : #  if !(defined(PERL_VERSION) || (defined(SUBVERSION) && defined(PATCHLEVEL)))
     751             : #    include <could_not_find_Perl_patchlevel.h>
     752             : #  endif
     753             : #  ifndef PERL_REVISION
     754             : #    define PERL_REVISION       (5)
     755             : #    define PERL_VERSION        PATCHLEVEL
     756             : #    define PERL_SUBVERSION     SUBVERSION
     757             : #  endif
     758             : #endif
     759             : 
     760             : #if defined(WIN32) && defined(PERL_OBJECT) && !defined(PerlIO_exportFILE)
     761             : #define PerlIO_exportFILE(fh,fl) (FILE*)(fh)
     762             : #endif
     763             : 
     764             : #ifndef SvIOK_UV
     765             : # define SvIOK_UV(sv)       (SvIOK(sv) && (SvUVX(sv) == SvIVX(sv)))
     766             : #endif
     767             : 
     768             : #ifndef SvUOK
     769             : # define SvUOK(sv)           SvIOK_UV(sv)
     770             : #endif
     771             : 
     772             : #if ((PERL_VERSION < 4) || ((PERL_VERSION == 4) && (PERL_SUBVERSION <= 5)))
     773             : #  define PL_sv_undef               sv_undef
     774             : #  define PL_na                     na
     775             : #  define PL_errgv                  errgv
     776             : #  define PL_sv_no                  sv_no
     777             : #  define PL_sv_yes                 sv_yes
     778             : #  define PL_markstack_ptr          markstack_ptr
     779             : #endif
     780             : 
     781             : #ifndef IVSIZE
     782             : #  ifdef LONGSIZE
     783             : #    define IVSIZE LONGSIZE
     784             : #  else
     785             : #    define IVSIZE 4 /* A bold guess, but the best we can make. */
     786             : #  endif
     787             : #endif
     788             : 
     789             : #ifndef INT2PTR
     790             : #  if (IVSIZE == PTRSIZE) && (UVSIZE == PTRSIZE)
     791             : #    define PTRV                  UV
     792             : #    define INT2PTR(any,d)        (any)(d)
     793             : #  else
     794             : #    if PTRSIZE == LONGSIZE
     795             : #      define PTRV                unsigned long
     796             : #    else
     797             : #      define PTRV                unsigned
     798             : #    endif
     799             : #    define INT2PTR(any,d)        (any)(PTRV)(d)
     800             : #  endif
     801             : 
     802             : #  define NUM2PTR(any,d)  (any)(PTRV)(d)
     803             : #  define PTR2IV(p)       INT2PTR(IV,p)
     804             : #  define PTR2UV(p)       INT2PTR(UV,p)
     805             : #  define PTR2NV(p)       NUM2PTR(NV,p)
     806             : 
     807             : #  if PTRSIZE == LONGSIZE
     808             : #    define PTR2ul(p)     (unsigned long)(p)
     809             : #  else
     810             : #    define PTR2ul(p)     INT2PTR(unsigned long,p)
     811             : #  endif
     812             : #endif /* !INT2PTR */
     813             : 
     814             : #ifndef SvPV_nolen
     815             : # define SvPV_nolen(x) SvPV(x,PL_na)
     816             : #endif
     817             : 
     818             : #ifndef get_sv
     819             : #  define get_sv perl_get_sv
     820             : #endif
     821             : 
     822             : #ifndef ERRSV
     823             : #  define ERRSV get_sv("@",FALSE)
     824             : #endif
     825             : 
     826             : #ifndef pTHX_
     827             : #define pTHX_
     828             : #endif   
     829             : 
     830             : #include <string.h>
     831             : #ifdef __cplusplus
     832             : }
     833             : #endif
     834             : 
     835             : /* -----------------------------------------------------------------------------
     836             :  * error manipulation
     837             :  * ----------------------------------------------------------------------------- */
     838             : 
     839             : SWIGINTERN const char*
     840           0 : SWIG_Perl_ErrorType(int code) {
     841           0 :   switch(code) {
     842             :   case SWIG_MemoryError:
     843             :     return "MemoryError";
     844             :   case SWIG_IOError:
     845           0 :     return "IOError";
     846             :   case SWIG_RuntimeError:
     847           0 :     return "RuntimeError";
     848             :   case SWIG_IndexError:
     849           0 :     return "IndexError";
     850             :   case SWIG_TypeError:
     851           0 :     return "TypeError";
     852             :   case SWIG_DivisionByZero:
     853           0 :     return "ZeroDivisionError";
     854             :   case SWIG_OverflowError:
     855           0 :     return "OverflowError";
     856             :   case SWIG_SyntaxError:
     857           0 :     return "SyntaxError";
     858             :   case SWIG_ValueError:
     859           0 :     return "ValueError";
     860             :   case SWIG_SystemError:
     861           0 :     return "SystemError";
     862             :   case SWIG_AttributeError:
     863           0 :     return "AttributeError";
     864             :   default:
     865           0 :     return "RuntimeError";
     866             :   }
     867             : }
     868             : 
     869             : 
     870             : /* -----------------------------------------------------------------------------
     871             :  * perlrun.swg
     872             :  *
     873             :  * This file contains the runtime support for Perl modules
     874             :  * and includes code for managing global variables and pointer
     875             :  * type checking.
     876             :  * ----------------------------------------------------------------------------- */
     877             : 
     878             : #ifdef PERL_OBJECT
     879             : #define SWIG_PERL_OBJECT_DECL CPerlObj *SWIGUNUSEDPARM(pPerl),
     880             : #define SWIG_PERL_OBJECT_CALL pPerl,
     881             : #else
     882             : #define SWIG_PERL_OBJECT_DECL
     883             : #define SWIG_PERL_OBJECT_CALL
     884             : #endif
     885             : 
     886             : /* Common SWIG API */
     887             : 
     888             : /* for raw pointers */
     889             : #define SWIG_ConvertPtr(obj, pp, type, flags)           SWIG_Perl_ConvertPtr(SWIG_PERL_OBJECT_CALL obj, pp, type, flags)
     890             : #define SWIG_ConvertPtrAndOwn(obj, pp, type, flags,own) SWIG_Perl_ConvertPtrAndOwn(SWIG_PERL_OBJECT_CALL obj, pp, type, flags, own)
     891             : #define SWIG_NewPointerObj(p, type, flags)              SWIG_Perl_NewPointerObj(SWIG_PERL_OBJECT_CALL p, type, flags)
     892             : #define swig_owntype                                    int
     893             : 
     894             : /* for raw packed data */
     895             : #define SWIG_ConvertPacked(obj, p, s, type)             SWIG_Perl_ConvertPacked(SWIG_PERL_OBJECT_CALL obj, p, s, type)
     896             : #define SWIG_NewPackedObj(p, s, type)                 SWIG_Perl_NewPackedObj(SWIG_PERL_OBJECT_CALL p, s, type)
     897             : 
     898             : /* for class or struct pointers */
     899             : #define SWIG_ConvertInstance(obj, pptr, type, flags)    SWIG_ConvertPtr(obj, pptr, type, flags)
     900             : #define SWIG_NewInstanceObj(ptr, type, flags)           SWIG_NewPointerObj(ptr, type, flags)
     901             : 
     902             : /* for C or C++ function pointers */
     903             : #define SWIG_ConvertFunctionPtr(obj, pptr, type)        SWIG_ConvertPtr(obj, pptr, type, 0)
     904             : #define SWIG_NewFunctionPtrObj(ptr, type)               SWIG_NewPointerObj(ptr, type, 0)
     905             : 
     906             : /* for C++ member pointers, ie, member methods */
     907             : #define SWIG_ConvertMember(obj, ptr, sz, ty)            SWIG_ConvertPacked(obj, ptr, sz, ty)
     908             : #define SWIG_NewMemberObj(ptr, sz, type)                SWIG_NewPackedObj(ptr, sz, type)
     909             : 
     910             : 
     911             : /* Runtime API */
     912             : 
     913             : #define SWIG_GetModule(clientdata)                      SWIG_Perl_GetModule(clientdata)
     914             : #define SWIG_SetModule(clientdata, pointer)             SWIG_Perl_SetModule(pointer)
     915             : 
     916             : 
     917             : /* Error manipulation */
     918             : 
     919             : #define SWIG_ErrorType(code)                            SWIG_Perl_ErrorType(code)               
     920             : #define SWIG_Error(code, msg)               sv_setpvf(get_sv("@", GV_ADD), "%s %s", SWIG_ErrorType(code), msg)
     921             : #define SWIG_fail                           goto fail               
     922             : 
     923             : /* Perl-specific SWIG API */
     924             : 
     925             : #define SWIG_MakePtr(sv, ptr, type, flags)              SWIG_Perl_MakePtr(SWIG_PERL_OBJECT_CALL sv, ptr, type, flags)
     926             : #define SWIG_MakePackedObj(sv, p, s, type)          SWIG_Perl_MakePackedObj(SWIG_PERL_OBJECT_CALL sv, p, s, type)
     927             : #define SWIG_SetError(str)                              SWIG_Error(SWIG_RuntimeError, str)
     928             : 
     929             : 
     930             : #define SWIG_PERL_DECL_ARGS_1(arg1)                     (SWIG_PERL_OBJECT_DECL arg1)
     931             : #define SWIG_PERL_CALL_ARGS_1(arg1)                     (SWIG_PERL_OBJECT_CALL arg1)
     932             : #define SWIG_PERL_DECL_ARGS_2(arg1, arg2)               (SWIG_PERL_OBJECT_DECL arg1, arg2)
     933             : #define SWIG_PERL_CALL_ARGS_2(arg1, arg2)               (SWIG_PERL_OBJECT_CALL arg1, arg2)
     934             : 
     935             : /* -----------------------------------------------------------------------------
     936             :  * pointers/data manipulation
     937             :  * ----------------------------------------------------------------------------- */
     938             : 
     939             : /* For backward compatibility only */
     940             : #define SWIG_POINTER_EXCEPTION  0
     941             : 
     942             : #ifdef __cplusplus
     943             : extern "C" {
     944             : #endif
     945             : 
     946             : #define SWIG_OWNER   SWIG_POINTER_OWN
     947             : #define SWIG_SHADOW  SWIG_OWNER << 1
     948             : 
     949             : #define SWIG_MAYBE_PERL_OBJECT SWIG_PERL_OBJECT_DECL
     950             : 
     951             : /* SWIG Perl macros */
     952             : 
     953             : /* Macro to declare an XS function */
     954             : #ifndef XSPROTO
     955             : #   define XSPROTO(name) void name(pTHX_ CV* cv)
     956             : #endif
     957             : 
     958             : /* Macro to call an XS function */
     959             : #ifdef PERL_OBJECT 
     960             : #  define SWIG_CALLXS(_name) _name(cv,pPerl) 
     961             : #else 
     962             : #  ifndef MULTIPLICITY 
     963             : #    define SWIG_CALLXS(_name) _name(cv) 
     964             : #  else 
     965             : #    define SWIG_CALLXS(_name) _name(PERL_GET_THX, cv) 
     966             : #  endif 
     967             : #endif 
     968             : 
     969             : #ifdef PERL_OBJECT
     970             : #define MAGIC_PPERL  CPerlObj *pPerl = (CPerlObj *) this;
     971             : 
     972             : #ifdef __cplusplus
     973             : extern "C" {
     974             : #endif
     975             : typedef int (CPerlObj::*SwigMagicFunc)(SV *, MAGIC *);
     976             : #ifdef __cplusplus
     977             : }
     978             : #endif
     979             : 
     980             : #define SWIG_MAGIC(a,b) (SV *a, MAGIC *b)
     981             : #define SWIGCLASS_STATIC
     982             : 
     983             : #else /* PERL_OBJECT */
     984             : 
     985             : #define MAGIC_PPERL
     986             : #define SWIGCLASS_STATIC static SWIGUNUSED
     987             : 
     988             : #ifndef MULTIPLICITY
     989             : #define SWIG_MAGIC(a,b) (SV *a, MAGIC *b)
     990             : 
     991             : #ifdef __cplusplus
     992             : extern "C" {
     993             : #endif
     994             : typedef int (*SwigMagicFunc)(SV *, MAGIC *);
     995             : #ifdef __cplusplus
     996             : }
     997             : #endif
     998             : 
     999             : #else /* MULTIPLICITY */
    1000             : 
    1001             : #define SWIG_MAGIC(a,b) (struct interpreter *interp, SV *a, MAGIC *b)
    1002             : 
    1003             : #ifdef __cplusplus
    1004             : extern "C" {
    1005             : #endif
    1006             : typedef int (*SwigMagicFunc)(struct interpreter *, SV *, MAGIC *);
    1007             : #ifdef __cplusplus
    1008             : }
    1009             : #endif
    1010             : 
    1011             : #endif /* MULTIPLICITY */
    1012             : #endif /* PERL_OBJECT */
    1013             : 
    1014             : #  ifdef PERL_OBJECT
    1015             : #    define SWIG_croak_null() SWIG_Perl_croak_null(pPerl)
    1016             : static void SWIGUNUSED SWIG_Perl_croak_null(CPerlObj *pPerl)
    1017             : #  else
    1018           0 : static void SWIGUNUSED SWIG_croak_null()
    1019             : #  endif
    1020             : {
    1021           0 :   SV *err = get_sv("@", GV_ADD);
    1022             : #  if (PERL_VERSION < 6)
    1023             :   croak("%_", err);
    1024             : #  else
    1025           0 :   if (sv_isobject(err))
    1026           0 :     croak(0);
    1027             :   else
    1028           0 :     croak("%s", SvPV_nolen(err));
    1029             : #  endif
    1030             : }
    1031             : 
    1032             : 
    1033             : /* 
    1034             :    Define how strict is the cast between strings and integers/doubles
    1035             :    when overloading between these types occurs.
    1036             :    
    1037             :    The default is making it as strict as possible by using SWIG_AddCast
    1038             :    when needed.
    1039             :    
    1040             :    You can use -DSWIG_PERL_NO_STRICT_STR2NUM at compilation time to
    1041             :    disable the SWIG_AddCast, making the casting between string and
    1042             :    numbers less strict.
    1043             : 
    1044             :    In the end, we try to solve the overloading between strings and
    1045             :    numerical types in the more natural way, but if you can avoid it,
    1046             :    well, avoid it using %rename, for example.
    1047             : */
    1048             : #ifndef SWIG_PERL_NO_STRICT_STR2NUM
    1049             : # ifndef SWIG_PERL_STRICT_STR2NUM
    1050             : #  define SWIG_PERL_STRICT_STR2NUM
    1051             : # endif
    1052             : #endif
    1053             : #ifdef SWIG_PERL_STRICT_STR2NUM
    1054             : /* string takes precedence */
    1055             : #define SWIG_Str2NumCast(x) SWIG_AddCast(x)  
    1056             : #else
    1057             : /* number takes precedence */
    1058             : #define SWIG_Str2NumCast(x) x
    1059             : #endif
    1060             : 
    1061             : 
    1062             : 
    1063             : #include <stdlib.h>
    1064             : 
    1065             : SWIGRUNTIME const char *
    1066             : SWIG_Perl_TypeProxyName(const swig_type_info *type) {
    1067           1 :   if (!type) return NULL;
    1068           1 :   if (type->clientdata != NULL) {
    1069             :     return (const char*) type->clientdata;
    1070             :   } 
    1071             :   else {
    1072           0 :     return type->name;
    1073             :   }
    1074             : }
    1075             : 
    1076             : /* Identical to SWIG_TypeCheck, except for strcmp comparison */
    1077             : SWIGRUNTIME swig_cast_info *
    1078           1 : SWIG_TypeProxyCheck(const char *c, swig_type_info *ty) {
    1079           1 :   if (ty) {
    1080           1 :     swig_cast_info *iter = ty->cast;
    1081           1 :     while (iter) {
    1082           1 :       if (strcmp(SWIG_Perl_TypeProxyName(iter->type), c) == 0) {
    1083           1 :         if (iter == ty->cast)
    1084             :           return iter;
    1085             :         /* Move iter to the top of the linked list */
    1086           0 :         iter->prev->next = iter->next;
    1087           0 :         if (iter->next)
    1088           0 :           iter->next->prev = iter->prev;
    1089           0 :         iter->next = ty->cast;
    1090           0 :         iter->prev = 0;
    1091           0 :         if (ty->cast) ty->cast->prev = iter;
    1092           0 :         ty->cast = iter;
    1093           0 :         return iter;
    1094             :       }
    1095           0 :       iter = iter->next;
    1096             :     }
    1097             :   }
    1098             :   return 0;
    1099             : }
    1100             : 
    1101             : /* Function for getting a pointer value */
    1102             : 
    1103             : SWIGRUNTIME int
    1104           1 : SWIG_Perl_ConvertPtrAndOwn(SWIG_MAYBE_PERL_OBJECT SV *sv, void **ptr, swig_type_info *_t, int flags, int *own) {
    1105             :   swig_cast_info *tc;
    1106             :   void *voidptr = (void *)0;
    1107             :   SV *tsv = 0;
    1108             : 
    1109           1 :   if (own)
    1110           0 :     *own = 0;
    1111             : 
    1112             :   /* If magical, apply more magic */
    1113           1 :   if (SvGMAGICAL(sv))
    1114           0 :     mg_get(sv);
    1115             : 
    1116             :   /* Check to see if this is an object */
    1117           1 :   if (sv_isobject(sv)) {
    1118             :     IV tmp = 0;
    1119           1 :     tsv = (SV*) SvRV(sv);
    1120           1 :     if ((SvTYPE(tsv) == SVt_PVHV)) {
    1121             :       MAGIC *mg;
    1122           1 :       if (SvMAGICAL(tsv)) {
    1123           1 :         mg = mg_find(tsv,'P');
    1124           1 :         if (mg) {
    1125           1 :           sv = mg->mg_obj;
    1126           1 :           if (sv_isobject(sv)) {
    1127           1 :       tsv = (SV*)SvRV(sv);
    1128           1 :             tmp = SvIV(tsv);
    1129             :           }
    1130             :         }
    1131             :       } else {
    1132             :         return SWIG_ERROR;
    1133             :       }
    1134             :     } else {
    1135           1 :       tmp = SvIV(tsv);
    1136             :     }
    1137           1 :     voidptr = INT2PTR(void *,tmp);
    1138           1 :   } else if (! SvOK(sv)) {            /* Check for undef */
    1139           1 :     *(ptr) = (void *) 0;
    1140           1 :     return SWIG_OK;
    1141           0 :   } else if (SvTYPE(sv) == SVt_RV) {  /* Check for NULL pointer */
    1142           0 :     if (!SvROK(sv)) {
    1143             :       /* In Perl 5.12 and later, SVt_RV == SVt_IV, so sv could be a valid integer value.  */
    1144           0 :       if (SvIOK(sv)) {
    1145             :         return SWIG_ERROR;
    1146             :       } else {
    1147             :         /* NULL pointer (reference to undef). */
    1148           0 :         *(ptr) = (void *) 0;
    1149           0 :         return SWIG_OK;
    1150             :       }
    1151             :     } else {
    1152             :       return SWIG_ERROR;
    1153             :     }
    1154             :   } else {                            /* Don't know what it is */
    1155             :     return SWIG_ERROR;
    1156             :   }
    1157           1 :   if (_t) {
    1158             :     /* Now see if the types match */
    1159           1 :     char *_c = HvNAME(SvSTASH(SvRV(sv)));
    1160           1 :     tc = SWIG_TypeProxyCheck(_c,_t);
    1161             : #ifdef SWIG_DIRECTORS
    1162             :     if (!tc && !sv_derived_from(sv,SWIG_Perl_TypeProxyName(_t))) {
    1163             : #else
    1164           1 :     if (!tc) {
    1165             : #endif
    1166             :       return SWIG_ERROR;
    1167             :     }
    1168             :     {
    1169           1 :       int newmemory = 0;
    1170           1 :       *ptr = SWIG_TypeCast(tc,voidptr,&newmemory);
    1171           1 :       if (newmemory == SWIG_CAST_NEW_MEMORY) {
    1172             :         assert(own); /* badly formed typemap which will lead to a memory leak - it must set and use own to delete *ptr */
    1173           0 :         if (own)
    1174           0 :           *own = *own | SWIG_CAST_NEW_MEMORY;
    1175             :       }
    1176             :     }
    1177             :   } else {
    1178           0 :     *ptr = voidptr;
    1179             :   }
    1180             : 
    1181             :   /* 
    1182             :    *  DISOWN implementation: we need a perl guru to check this one.
    1183             :    */
    1184           1 :   if (tsv && (flags & SWIG_POINTER_DISOWN)) {
    1185             :     /* 
    1186             :      *  almost copy paste code from below SWIG_POINTER_OWN setting
    1187             :      */
    1188             :     SV *obj = sv;
    1189           1 :     HV *stash = SvSTASH(SvRV(obj));
    1190           1 :     GV *gv = *(GV**)hv_fetch(stash, "OWNER", 5, TRUE);
    1191           1 :     if (isGV(gv)) {
    1192           1 :       HV *hv = GvHVn(gv);
    1193             :       /*
    1194             :        * To set ownership (see below), a newSViv(1) entry is added. 
    1195             :        * Hence, to remove ownership, we delete the entry.
    1196             :        */
    1197           1 :       if (hv_exists_ent(hv, obj, 0)) {
    1198           1 :   hv_delete_ent(hv, obj, 0, 0);
    1199             :       }
    1200             :     }
    1201             :   }
    1202             :   return SWIG_OK;
    1203             : }
    1204             : 
    1205             : SWIGRUNTIME int
    1206             : SWIG_Perl_ConvertPtr(SWIG_MAYBE_PERL_OBJECT SV *sv, void **ptr, swig_type_info *_t, int flags) {
    1207           1 :   return SWIG_Perl_ConvertPtrAndOwn(sv, ptr, _t, flags, 0);
    1208             : }
    1209             : 
    1210             : SWIGRUNTIME void
    1211           1 : SWIG_Perl_MakePtr(SWIG_MAYBE_PERL_OBJECT SV *sv, void *ptr, swig_type_info *t, int flags) {
    1212           1 :   if (ptr && (flags & (SWIG_SHADOW | SWIG_POINTER_OWN))) {
    1213             :     SV *self;
    1214           1 :     SV *obj=newSV(0);
    1215           1 :     HV *hash=newHV();
    1216             :     HV *stash;
    1217           1 :     sv_setref_pv(obj, SWIG_Perl_TypeProxyName(t), ptr);
    1218           1 :     stash=SvSTASH(SvRV(obj));
    1219           1 :     if (flags & SWIG_POINTER_OWN) {
    1220             :       HV *hv;
    1221           1 :       GV *gv = *(GV**)hv_fetch(stash, "OWNER", 5, TRUE);
    1222           1 :       if (!isGV(gv))
    1223           0 :         gv_init(gv, stash, "OWNER", 5, FALSE);
    1224           1 :       hv=GvHVn(gv);
    1225           1 :       hv_store_ent(hv, obj, newSViv(1), 0);
    1226             :     }
    1227           1 :     sv_magic((SV *)hash, (SV *)obj, 'P', Nullch, 0);
    1228           1 :     SvREFCNT_dec(obj);
    1229           1 :     self=newRV_noinc((SV *)hash);
    1230           1 :     sv_setsv(sv, self);
    1231           1 :     SvREFCNT_dec((SV *)self);
    1232           1 :     sv_bless(sv, stash);
    1233             :   }
    1234             :   else {
    1235           0 :     sv_setref_pv(sv, SWIG_Perl_TypeProxyName(t), ptr);
    1236             :   }
    1237           1 : }
    1238             : 
    1239             : SWIGRUNTIMEINLINE SV *
    1240           1 : SWIG_Perl_NewPointerObj(SWIG_MAYBE_PERL_OBJECT void *ptr, swig_type_info *t, int flags) {
    1241           1 :   SV *result = sv_newmortal();
    1242           1 :   SWIG_MakePtr(result, ptr, t, flags);
    1243           1 :   return result;
    1244             : }
    1245             : 
    1246             : SWIGRUNTIME void
    1247           0 : SWIG_Perl_MakePackedObj(SWIG_MAYBE_PERL_OBJECT SV *sv, void *ptr, int sz, swig_type_info *type) {
    1248             :   char result[1024];
    1249             :   char *r = result;
    1250           0 :   if ((2*sz + 1 + strlen(SWIG_Perl_TypeProxyName(type))) > 1000) return;
    1251           0 :   *(r++) = '_';
    1252           0 :   r = SWIG_PackData(r,ptr,sz);
    1253             :   strcpy(r,SWIG_Perl_TypeProxyName(type));
    1254           0 :   sv_setpv(sv, result);
    1255             : }
    1256             : 
    1257             : SWIGRUNTIME SV *
    1258             : SWIG_Perl_NewPackedObj(SWIG_MAYBE_PERL_OBJECT void *ptr, int sz, swig_type_info *type) {
    1259             :   SV *result = sv_newmortal();
    1260             :   SWIG_Perl_MakePackedObj(result, ptr, sz, type);
    1261             :   return result;
    1262             : }
    1263             : 
    1264             : /* Convert a packed value value */
    1265             : SWIGRUNTIME int
    1266             : SWIG_Perl_ConvertPacked(SWIG_MAYBE_PERL_OBJECT SV *obj, void *ptr, int sz, swig_type_info *ty) {
    1267             :   swig_cast_info *tc;
    1268             :   const char  *c = 0;
    1269             : 
    1270             :   if ((!obj) || (!SvOK(obj))) return SWIG_ERROR;
    1271             :   c = SvPV_nolen(obj);
    1272             :   /* Pointer values must start with leading underscore */
    1273             :   if (*c != '_') return SWIG_ERROR;
    1274             :   c++;
    1275             :   c = SWIG_UnpackData(c,ptr,sz);
    1276             :   if (ty) {
    1277             :     tc = SWIG_TypeCheck(c,ty);
    1278             :     if (!tc) return SWIG_ERROR;
    1279             :   }
    1280             :   return SWIG_OK;
    1281             : }
    1282             : 
    1283             : 
    1284             : /* Macros for low-level exception handling */
    1285             : #define SWIG_croak(x)    { SWIG_Error(SWIG_RuntimeError, x); SWIG_fail; }
    1286             : 
    1287             : 
    1288             : typedef XSPROTO(SwigPerlWrapper);
    1289             : typedef SwigPerlWrapper *SwigPerlWrapperPtr;
    1290             : 
    1291             : /* Structure for command table */
    1292             : typedef struct {
    1293             :   const char         *name;
    1294             :   SwigPerlWrapperPtr  wrapper;
    1295             : } swig_command_info;
    1296             : 
    1297             : /* Information for constant table */
    1298             : 
    1299             : #define SWIG_INT     1
    1300             : #define SWIG_FLOAT   2
    1301             : #define SWIG_STRING  3
    1302             : #define SWIG_POINTER 4
    1303             : #define SWIG_BINARY  5
    1304             : 
    1305             : /* Constant information structure */
    1306             : typedef struct swig_constant_info {
    1307             :     int              type;
    1308             :     const char      *name;
    1309             :     long             lvalue;
    1310             :     double           dvalue;
    1311             :     void            *pvalue;
    1312             :     swig_type_info **ptype;
    1313             : } swig_constant_info;
    1314             : 
    1315             : 
    1316             : /* Structure for variable table */
    1317             : typedef struct {
    1318             :   const char   *name;
    1319             :   SwigMagicFunc   set;
    1320             :   SwigMagicFunc   get;
    1321             :   swig_type_info  **type;
    1322             : } swig_variable_info;
    1323             : 
    1324             : /* Magic variable code */
    1325             : #ifndef PERL_OBJECT
    1326             : # ifdef __cplusplus
    1327             : #  define swig_create_magic(s,a,b,c) _swig_create_magic(s,const_cast<char*>(a),b,c)
    1328             : # else
    1329             : #  define swig_create_magic(s,a,b,c) _swig_create_magic(s,(char*)(a),b,c)
    1330             : # endif
    1331             : # ifndef MULTIPLICITY
    1332             : SWIGRUNTIME void _swig_create_magic(SV *sv, char *name, int (*set)(SV *, MAGIC *), int (*get)(SV *,MAGIC *)) 
    1333             : # else
    1334           0 : SWIGRUNTIME void _swig_create_magic(SV *sv, char *name, int (*set)(struct interpreter*, SV *, MAGIC *), int (*get)(struct interpreter*, SV *,MAGIC *)) 
    1335             : # endif
    1336             : #else
    1337             : #  define swig_create_magic(s,a,b,c) _swig_create_magic(pPerl,s,a,b,c)
    1338             : SWIGRUNTIME void _swig_create_magic(CPerlObj *pPerl, SV *sv, const char *name, int (CPerlObj::*set)(SV *, MAGIC *), int (CPerlObj::*get)(SV *, MAGIC *)) 
    1339             : #endif
    1340             : {
    1341             :   MAGIC *mg;
    1342           0 :   sv_magic(sv,sv,'U',name,strlen(name));
    1343           0 :   mg = mg_find(sv,'U');
    1344           0 :   mg->mg_virtual = (MGVTBL *) malloc(sizeof(MGVTBL));
    1345           0 :   mg->mg_virtual->svt_get = (SwigMagicFunc) get;
    1346           0 :   mg->mg_virtual->svt_set = (SwigMagicFunc) set;
    1347           0 :   mg->mg_virtual->svt_len = 0;
    1348           0 :   mg->mg_virtual->svt_clear = 0;
    1349           0 :   mg->mg_virtual->svt_free = 0;
    1350           0 : }
    1351             : 
    1352             : 
    1353             : SWIGRUNTIME swig_module_info *
    1354           1 : SWIG_Perl_GetModule(void *SWIGUNUSEDPARM(clientdata)) {
    1355             :   static void *type_pointer = (void *)0;
    1356             :   SV *pointer;
    1357             : 
    1358             :   /* first check if pointer already created */
    1359           1 :   if (!type_pointer) {
    1360           1 :     pointer = get_sv("swig_runtime_data::type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME, FALSE | GV_ADDMULTI);
    1361           1 :     if (pointer && SvOK(pointer)) {
    1362           0 :       type_pointer = INT2PTR(swig_type_info **, SvIV(pointer));
    1363             :     }
    1364             :   }
    1365             : 
    1366           1 :   return (swig_module_info *) type_pointer;
    1367             : }
    1368             : 
    1369             : SWIGRUNTIME void
    1370           1 : SWIG_Perl_SetModule(swig_module_info *module) {
    1371             :   SV *pointer;
    1372             : 
    1373             :   /* create a new pointer */
    1374           1 :   pointer = get_sv("swig_runtime_data::type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME, TRUE | GV_ADDMULTI);
    1375           1 :   sv_setiv(pointer, PTR2IV(module));
    1376           1 : }
    1377             : 
    1378             : #ifdef __cplusplus
    1379             : }
    1380             : #endif
    1381             : 
    1382             : /* Workaround perl5 global namespace pollution. Note that undefining library
    1383             :  * functions like fopen will not solve the problem on all platforms as fopen
    1384             :  * might be a macro on Windows but not necessarily on other operating systems. */
    1385             : #ifdef do_open
    1386             :   #undef do_open
    1387             : #endif
    1388             : #ifdef do_close
    1389             :   #undef do_close
    1390             : #endif
    1391             : #ifdef do_exec
    1392             :   #undef do_exec
    1393             : #endif
    1394             : #ifdef scalar
    1395             :   #undef scalar
    1396             : #endif
    1397             : #ifdef list
    1398             :   #undef list
    1399             : #endif
    1400             : #ifdef apply
    1401             :   #undef apply
    1402             : #endif
    1403             : #ifdef convert
    1404             :   #undef convert
    1405             : #endif
    1406             : #ifdef Error
    1407             :   #undef Error
    1408             : #endif
    1409             : #ifdef form
    1410             :   #undef form
    1411             : #endif
    1412             : #ifdef vform
    1413             :   #undef vform
    1414             : #endif
    1415             : #ifdef LABEL
    1416             :   #undef LABEL
    1417             : #endif
    1418             : #ifdef METHOD
    1419             :   #undef METHOD
    1420             : #endif
    1421             : #ifdef Move
    1422             :   #undef Move
    1423             : #endif
    1424             : #ifdef yylex
    1425             :   #undef yylex
    1426             : #endif
    1427             : #ifdef yyparse
    1428             :   #undef yyparse
    1429             : #endif
    1430             : #ifdef yyerror
    1431             :   #undef yyerror
    1432             : #endif
    1433             : #ifdef invert
    1434             :   #undef invert
    1435             : #endif
    1436             : #ifdef ref
    1437             :   #undef ref
    1438             : #endif
    1439             : #ifdef read
    1440             :   #undef read
    1441             : #endif
    1442             : #ifdef write
    1443             :   #undef write
    1444             : #endif
    1445             : #ifdef eof
    1446             :   #undef eof
    1447             : #endif
    1448             : #ifdef close
    1449             :   #undef close
    1450             : #endif
    1451             : #ifdef rewind
    1452             :   #undef rewind
    1453             : #endif
    1454             : #ifdef free
    1455             :   #undef free
    1456             : #endif
    1457             : #ifdef malloc
    1458             :   #undef malloc
    1459             : #endif
    1460             : #ifdef calloc
    1461             :   #undef calloc
    1462             : #endif
    1463             : #ifdef Stat
    1464             :   #undef Stat
    1465             : #endif
    1466             : #ifdef check
    1467             :   #undef check
    1468             : #endif
    1469             : #ifdef seekdir
    1470             :   #undef seekdir
    1471             : #endif
    1472             : #ifdef open
    1473             :   #undef open
    1474             : #endif
    1475             : #ifdef readdir
    1476             :   #undef readdir
    1477             : #endif
    1478             : #ifdef bind
    1479             :   #undef bind
    1480             : #endif
    1481             : #ifdef access
    1482             :   #undef access
    1483             : #endif
    1484             : #ifdef stat
    1485             :   #undef stat
    1486             : #endif
    1487             : #ifdef seed
    1488             :   #undef seed
    1489             : #endif
    1490             : 
    1491             : #ifdef bool
    1492             :   /* Leave if macro is from C99 stdbool.h */
    1493             :   #ifndef __bool_true_false_are_defined
    1494             :     #undef bool
    1495             :   #endif
    1496             : #endif
    1497             : 
    1498             : 
    1499             : 
    1500             : 
    1501             : #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0) 
    1502             : 
    1503             : #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else 
    1504             : 
    1505             : 
    1506             : 
    1507             :   #define SWIG_exception(code, msg) do { SWIG_Error(code, msg); SWIG_fail;; } while(0) 
    1508             : 
    1509             : 
    1510             : /* -------- TYPES TABLE (BEGIN) -------- */
    1511             : 
    1512             : #define SWIGTYPE_p_CompositingOperation swig_types[0]
    1513             : #define SWIGTYPE_p_DBFFieldType swig_types[1]
    1514             : #define SWIGTYPE_p_DBFInfo swig_types[2]
    1515             : #define SWIGTYPE_p_FILE swig_types[3]
    1516             : #define SWIGTYPE_p__CompositingFilter swig_types[4]
    1517             : #define SWIGTYPE_p__LayerCompositer swig_types[5]
    1518             : #define SWIGTYPE_p_cgiRequestObj swig_types[6]
    1519             : #define SWIGTYPE_p_char swig_types[7]
    1520             : #define SWIGTYPE_p_classObj swig_types[8]
    1521             : #define SWIGTYPE_p_clusterObj swig_types[9]
    1522             : #define SWIGTYPE_p_colorObj swig_types[10]
    1523             : #define SWIGTYPE_p_debugLevel swig_types[11]
    1524             : #define SWIGTYPE_p_double swig_types[12]
    1525             : #define SWIGTYPE_p_errorObj swig_types[13]
    1526             : #define SWIGTYPE_p_expressionObj swig_types[14]
    1527             : #define SWIGTYPE_p_fontSetObj swig_types[15]
    1528             : #define SWIGTYPE_p_hashTableObj swig_types[16]
    1529             : #define SWIGTYPE_p_imageObj swig_types[17]
    1530             : #define SWIGTYPE_p_int swig_types[18]
    1531             : #define SWIGTYPE_p_int32_t swig_types[19]
    1532             : #define SWIGTYPE_p_intarray swig_types[20]
    1533             : #define SWIGTYPE_p_labelCacheMemberObj swig_types[21]
    1534             : #define SWIGTYPE_p_labelCacheObj swig_types[22]
    1535             : #define SWIGTYPE_p_labelCacheSlotObj swig_types[23]
    1536             : #define SWIGTYPE_p_labelLeaderObj swig_types[24]
    1537             : #define SWIGTYPE_p_labelObj swig_types[25]
    1538             : #define SWIGTYPE_p_layerObj swig_types[26]
    1539             : #define SWIGTYPE_p_legendObj swig_types[27]
    1540             : #define SWIGTYPE_p_lineObj swig_types[28]
    1541             : #define SWIGTYPE_p_mapObj swig_types[29]
    1542             : #define SWIGTYPE_p_markerCacheMemberObj swig_types[30]
    1543             : #define SWIGTYPE_p_outputFormatObj swig_types[31]
    1544             : #define SWIGTYPE_p_p_char swig_types[32]
    1545             : #define SWIGTYPE_p_p_labelCacheMemberObj swig_types[33]
    1546             : #define SWIGTYPE_p_p_textSymbolObj swig_types[34]
    1547             : #define SWIGTYPE_p_pointObj swig_types[35]
    1548             : #define SWIGTYPE_p_projectionObj swig_types[36]
    1549             : #define SWIGTYPE_p_queryMapObj swig_types[37]
    1550             : #define SWIGTYPE_p_rectObj swig_types[38]
    1551             : #define SWIGTYPE_p_referenceMapObj swig_types[39]
    1552             : #define SWIGTYPE_p_resultCacheObj swig_types[40]
    1553             : #define SWIGTYPE_p_resultObj swig_types[41]
    1554             : #define SWIGTYPE_p_scaleTokenEntryObj swig_types[42]
    1555             : #define SWIGTYPE_p_scaleTokenObj swig_types[43]
    1556             : #define SWIGTYPE_p_scalebarObj swig_types[44]
    1557             : #define SWIGTYPE_p_shapeObj swig_types[45]
    1558             : #define SWIGTYPE_p_shapefileObj swig_types[46]
    1559             : #define SWIGTYPE_p_styleObj swig_types[47]
    1560             : #define SWIGTYPE_p_symbolObj swig_types[48]
    1561             : #define SWIGTYPE_p_symbolSetObj swig_types[49]
    1562             : #define SWIGTYPE_p_uint32_t swig_types[50]
    1563             : #define SWIGTYPE_p_webObj swig_types[51]
    1564             : static swig_type_info *swig_types[53];
    1565             : static swig_module_info swig_module = {swig_types, 52, 0, 0, 0, 0};
    1566             : #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
    1567             : #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
    1568             : 
    1569             : /* -------- TYPES TABLE (END) -------- */
    1570             : 
    1571             : #define SWIG_init    boot_mapscript
    1572             : 
    1573             : #define SWIG_name   "mapscriptc::boot_mapscript"
    1574             : #define SWIG_prefix "mapscriptc::"
    1575             : 
    1576             : #define SWIGVERSION 0x030012 
    1577             : #define SWIG_VERSION SWIGVERSION
    1578             : 
    1579             : 
    1580             : #define SWIG_as_voidptr(a) (void *)((const void *)(a)) 
    1581             : #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),(void**)(a)) 
    1582             : 
    1583             : 
    1584             : #ifdef __cplusplus
    1585             : extern "C"
    1586             : #endif
    1587             : #ifndef PERL_OBJECT
    1588             : #ifndef MULTIPLICITY
    1589             : SWIGEXPORT void SWIG_init (CV* cv);
    1590             : #else
    1591             : SWIGEXPORT void SWIG_init (pTHXo_ CV* cv);
    1592             : #endif
    1593             : #else
    1594             : SWIGEXPORT void SWIG_init (CV *cv, CPerlObj *);
    1595             : #endif
    1596             : 
    1597             : 
    1598             : #include "../../mapserver.h"
    1599             : #include "../../maptemplate.h"
    1600             : #include "../../mapogcsld.h"
    1601             : #include "../../mapows.h"
    1602             : #include "../../cgiutil.h"
    1603             : #include "../../mapcopy.h"
    1604             : #include "../../maperror.h"
    1605             : #include "../../mapprimitive.h"
    1606             : #include "../../mapshape.h"
    1607             : 
    1608             : #if defined(WIN32) && defined(SWIGCSHARP)
    1609             : /* <windows.h> is needed for GetExceptionCode() for unhandled exception */
    1610             : #include <windows.h>
    1611             : #endif
    1612             : 
    1613             : 
    1614             : 
    1615             : typedef int intarray;
    1616             : 
    1617             : 
    1618             : #include <limits.h>
    1619             : #if !defined(SWIG_NO_LLONG_MAX)
    1620             : # if !defined(LLONG_MAX) && defined(__GNUC__) && defined (__LONG_LONG_MAX__)
    1621             : #   define LLONG_MAX __LONG_LONG_MAX__
    1622             : #   define LLONG_MIN (-LLONG_MAX - 1LL)
    1623             : #   define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL)
    1624             : # endif
    1625             : #endif
    1626             : 
    1627             : 
    1628             : #include <stdlib.h>
    1629             : #ifdef _MSC_VER
    1630             : # ifndef strtoull
    1631             : #  define strtoull _strtoui64
    1632             : # endif
    1633             : # ifndef strtoll
    1634             : #  define strtoll _strtoi64
    1635             : # endif
    1636             : #endif
    1637             : 
    1638             : 
    1639             : SWIGINTERN int
    1640           0 : SWIG_AsVal_double SWIG_PERL_DECL_ARGS_2(SV *obj, double *val)
    1641             : {
    1642           0 :   if (SvNIOK(obj)) {
    1643           0 :     if (val) *val = SvNV(obj);
    1644             :     return SWIG_OK;
    1645           0 :   } else if (SvIOK(obj)) {
    1646           0 :     if (val) *val = (double) SvIV(obj);
    1647             :     return SWIG_AddCast(SWIG_OK);
    1648             :   } else {
    1649           0 :     const char *nptr = SvPV_nolen(obj);
    1650           0 :     if (nptr) {
    1651             :       char *endptr;
    1652             :       double v;
    1653           0 :       errno = 0;
    1654           0 :       v = strtod(nptr, &endptr);
    1655           0 :       if (errno == ERANGE) {
    1656           0 :   errno = 0;
    1657           0 :   return SWIG_OverflowError;
    1658             :       } else {
    1659           0 :   if (*endptr == '\0') {
    1660           0 :     if (val) *val = v;
    1661             :     return SWIG_Str2NumCast(SWIG_OK);
    1662             :   }
    1663             :       }
    1664             :     }
    1665             :   }
    1666             :   return SWIG_TypeError;
    1667             : }
    1668             : 
    1669             : 
    1670             : #include <float.h>
    1671             : 
    1672             : 
    1673             : #include <math.h>
    1674             : 
    1675             : 
    1676             : SWIGINTERNINLINE int
    1677           0 : SWIG_CanCastAsInteger(double *d, double min, double max) {
    1678           0 :   double x = *d;
    1679           0 :   if ((min <= x && x <= max)) {
    1680           0 :    double fx = floor(x);
    1681           0 :    double cx = ceil(x);
    1682           0 :    double rd =  ((x - fx) < 0.5) ? fx : cx; /* simple rint */
    1683           0 :    if ((errno == EDOM) || (errno == ERANGE)) {
    1684           0 :      errno = 0;
    1685             :    } else {
    1686             :      double summ, reps, diff;
    1687           0 :      if (rd < x) {
    1688           0 :        diff = x - rd;
    1689           0 :      } else if (rd > x) {
    1690           0 :        diff = rd - x;
    1691             :      } else {
    1692             :        return 1;
    1693             :      }
    1694           0 :      summ = rd + x;
    1695           0 :      reps = diff/summ;
    1696           0 :      if (reps < 8*DBL_EPSILON) {
    1697           0 :        *d = rd;
    1698           0 :        return 1;
    1699             :      }
    1700             :    }
    1701             :   }
    1702             :   return 0;
    1703             : }
    1704             : 
    1705             : 
    1706             : SWIGINTERN int
    1707           0 : SWIG_AsVal_unsigned_SS_long SWIG_PERL_DECL_ARGS_2(SV *obj, unsigned long *val) 
    1708             : {
    1709           0 :   if (SvUOK(obj)) {
    1710           0 :     UV v = SvUV(obj);
    1711             :     if (UVSIZE <= sizeof(*val) || v <= ULONG_MAX) {
    1712           0 :       if (val) *val = v;
    1713             :       return SWIG_OK;
    1714             :     }
    1715             :     return SWIG_OverflowError;
    1716           0 :   } else if (SvIOK(obj)) {
    1717           0 :     IV v = SvIV(obj);
    1718           0 :     if (v >= 0 && (IVSIZE <= sizeof(*val) || v <= ULONG_MAX)) {
    1719           0 :       if (val) *val = v;
    1720             :       return SWIG_OK;
    1721             :     }
    1722             :     return SWIG_OverflowError;
    1723             :   } else {
    1724             :     int dispatch = 0;
    1725           0 :     const char *nptr = SvPV_nolen(obj);
    1726           0 :     if (nptr) {
    1727             :       char *endptr;
    1728             :       unsigned long v;
    1729           0 :       errno = 0;
    1730           0 :       v = strtoul(nptr, &endptr,0);
    1731           0 :       if (errno == ERANGE) {
    1732           0 :   errno = 0;
    1733           0 :   return SWIG_OverflowError;
    1734             :       } else {
    1735           0 :   if (*endptr == '\0') {
    1736           0 :     if (val) *val = v;
    1737             :     return SWIG_Str2NumCast(SWIG_OK);
    1738             :   }
    1739             :       }
    1740             :     }
    1741             :     if (!dispatch) {
    1742             :       double d;
    1743           0 :       int res = SWIG_AddCast(SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(obj,&d));
    1744           0 :       if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, 0, ULONG_MAX)) {
    1745           0 :   if (val) *val = (unsigned long)(d);
    1746           0 :   return res;
    1747             :       }
    1748             :     }
    1749             :   }
    1750           0 :   return SWIG_TypeError;
    1751             : }
    1752             : 
    1753             : 
    1754             : #if defined(LLONG_MAX) && !defined(SWIG_LONG_LONG_AVAILABLE)
    1755             : #  define SWIG_LONG_LONG_AVAILABLE
    1756             : #endif
    1757             : 
    1758             : 
    1759             : #ifdef SWIG_LONG_LONG_AVAILABLE
    1760             : SWIGINTERN int
    1761             : SWIG_AsVal_unsigned_SS_long_SS_long SWIG_PERL_DECL_ARGS_2(SV *obj, unsigned long long *val)
    1762             : {
    1763             :   if (SvUOK(obj)) {
    1764             :     /* pretty sure this should be conditional on
    1765             :      * (UVSIZE <= sizeof(*val) || v <= ULLONG_MAX) */
    1766             :     if (val) *val = SvUV(obj);
    1767             :     return SWIG_OK;
    1768             :   } else  if (SvIOK(obj)) {
    1769             :     IV v = SvIV(obj);
    1770             :     if (v >= 0 && (IVSIZE <= sizeof(*val) || v <= ULLONG_MAX)) {
    1771             :       if (val) *val = v;
    1772             :       return SWIG_OK;
    1773             :     } else {
    1774             :       return SWIG_OverflowError;
    1775             :     }
    1776             :   } else {
    1777             :     int dispatch = 0;
    1778             :     const char *nptr = SvPV_nolen(obj);
    1779             :     if (nptr) {
    1780             :       char *endptr;
    1781             :       unsigned long long v;
    1782             :       errno = 0;
    1783             :       v = strtoull(nptr, &endptr,0);
    1784             :       if (errno == ERANGE) {
    1785             :   errno = 0;
    1786             :   return SWIG_OverflowError;
    1787             :       } else {
    1788             :   if (*endptr == '\0') {
    1789             :     if (val) *val = v;
    1790             :     return SWIG_Str2NumCast(SWIG_OK);
    1791             :   }
    1792             :       }
    1793             :     }
    1794             :     if (!dispatch) {
    1795             :       const double mant_max = 1LL << DBL_MANT_DIG;
    1796             :       double d;
    1797             :       int res = SWIG_AddCast(SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(obj,&d));
    1798             :       if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, 0, mant_max)) {
    1799             :   if (val) *val = (unsigned long long)(d);
    1800             :   return res;
    1801             :       }
    1802             :     }
    1803             :   }
    1804             :   return SWIG_TypeError;
    1805             : }
    1806             : #endif
    1807             : 
    1808             : 
    1809             : SWIGINTERNINLINE int
    1810           0 : SWIG_AsVal_size_t SWIG_PERL_DECL_ARGS_2(SV * obj, size_t *val)
    1811             : {
    1812             :   int res = SWIG_TypeError;
    1813             : #ifdef SWIG_LONG_LONG_AVAILABLE
    1814             :   if (sizeof(size_t) <= sizeof(unsigned long)) {
    1815             : #endif
    1816             :     unsigned long v;
    1817           0 :     res = SWIG_AsVal_unsigned_SS_long SWIG_PERL_CALL_ARGS_2(obj, val ? &v : 0);
    1818           0 :     if (SWIG_IsOK(res) && val) *val = (size_t)(v);
    1819             : #ifdef SWIG_LONG_LONG_AVAILABLE
    1820             :   } else if (sizeof(size_t) <= sizeof(unsigned long long)) {
    1821             :     unsigned long long v;
    1822             :     res = SWIG_AsVal_unsigned_SS_long_SS_long SWIG_PERL_CALL_ARGS_2(obj, val ? &v : 0);
    1823             :     if (SWIG_IsOK(res) && val) *val = (size_t)(v);
    1824             :   }
    1825             : #endif
    1826           0 :   return res;
    1827             : }
    1828             : 
    1829             : SWIGINTERN intarray *new_intarray(size_t nelements){
    1830           0 :     return (int *)calloc(nelements, sizeof(int));
    1831             :   }
    1832             : SWIGINTERN void delete_intarray(intarray *self){
    1833           0 :     free((char*)self);
    1834             :   }
    1835             : SWIGINTERN int intarray_getitem(intarray *self,size_t index){
    1836           0 :     return self[index];
    1837             :   }
    1838             : 
    1839             : SWIGINTERNINLINE SV *
    1840           1 : SWIG_From_long  SWIG_PERL_DECL_ARGS_1(long value)
    1841             : {
    1842             :   SV *sv;
    1843             :   if (IVSIZE >= sizeof(value) || (value >= IV_MIN && value <= IV_MAX))
    1844           1 :     sv = newSViv(value);
    1845             :   else
    1846             :     sv = newSVpvf("%ld", value);
    1847           1 :   return sv_2mortal(sv);
    1848             : }
    1849             : 
    1850             : 
    1851             : SWIGINTERNINLINE SV *
    1852             : SWIG_From_int  SWIG_PERL_DECL_ARGS_1(int value)
    1853             : {    
    1854           1 :   return SWIG_From_long  SWIG_PERL_CALL_ARGS_1(value);
    1855             : }
    1856             : 
    1857             : 
    1858             : SWIGINTERN int
    1859           1 : SWIG_AsVal_long SWIG_PERL_DECL_ARGS_2(SV *obj, long* val)
    1860             : {
    1861           1 :   if (SvUOK(obj)) {
    1862           0 :     UV v = SvUV(obj);
    1863           0 :     if (UVSIZE < sizeof(*val) || v <= LONG_MAX) {
    1864           0 :       if (val) *val = v;
    1865             :       return SWIG_OK;
    1866             :     }
    1867             :     return SWIG_OverflowError;
    1868           1 :   } else if (SvIOK(obj)) {
    1869           1 :     IV v = SvIV(obj);
    1870             :     if (IVSIZE <= sizeof(*val) || (v >= LONG_MIN && v <= LONG_MAX)) {
    1871           1 :       if(val) *val = v;
    1872             :       return SWIG_OK;
    1873             :     }
    1874             :     return SWIG_OverflowError;
    1875             :   } else {
    1876             :     int dispatch = 0;
    1877           1 :     const char *nptr = SvPV_nolen(obj);
    1878           1 :     if (nptr) {
    1879             :       char *endptr;
    1880             :       long v;
    1881           1 :       errno = 0;
    1882           1 :       v = strtol(nptr, &endptr,0);
    1883           1 :       if (errno == ERANGE) {
    1884           0 :   errno = 0;
    1885           1 :   return SWIG_OverflowError;
    1886             :       } else {
    1887           1 :   if (*endptr == '\0') {
    1888           1 :     if (val) *val = v;
    1889             :     return SWIG_Str2NumCast(SWIG_OK);
    1890             :   }
    1891             :       }
    1892             :     }
    1893             :     if (!dispatch) {
    1894             :       double d;
    1895           0 :       int res = SWIG_AddCast(SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(obj,&d));
    1896           0 :       if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, LONG_MIN, LONG_MAX)) {
    1897           0 :   if (val) *val = (long)(d);
    1898           0 :   return res;
    1899             :       }
    1900             :     }
    1901             :   }
    1902           0 :   return SWIG_TypeError;
    1903             : }
    1904             : 
    1905             : 
    1906             : SWIGINTERN int
    1907           1 : SWIG_AsVal_int SWIG_PERL_DECL_ARGS_2(SV * obj, int *val)
    1908             : {
    1909             :   long v;
    1910           1 :   int res = SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(obj, &v);
    1911           1 :   if (SWIG_IsOK(res)) {
    1912           1 :     if ((v < INT_MIN || v > INT_MAX)) {
    1913             :       return SWIG_OverflowError;
    1914             :     } else {
    1915           1 :       if (val) *val = (int)(v);
    1916             :     }
    1917             :   }  
    1918           1 :   return res;
    1919             : }
    1920             : 
    1921             : SWIGINTERN void intarray_setitem(intarray *self,size_t index,int value){
    1922           0 :     self[index] = value;
    1923             :   }
    1924             : SWIGINTERN int *intarray_cast(intarray *self){
    1925             :     return self;
    1926             :   }
    1927             : SWIGINTERN intarray *intarray_frompointer(int *t){
    1928             :     return (intarray *)(t);
    1929             :   }
    1930             : 
    1931             : #ifdef __cplusplus
    1932             : extern "C" {
    1933             : #endif
    1934             : 
    1935             : typedef struct {
    1936             :     unsigned char *data;
    1937             :     int size;
    1938             :     int owns_data;
    1939             : } gdBuffer;
    1940             : 
    1941             : #ifdef __cplusplus
    1942             : }
    1943             : #endif
    1944             : 
    1945             : 
    1946             : SWIGINTERN swig_type_info*
    1947           0 : SWIG_pchar_descriptor(void)
    1948             : {
    1949             :   static int init = 0;
    1950             :   static swig_type_info* info = 0;
    1951           0 :   if (!init) {
    1952           0 :     info = SWIG_TypeQuery("_p_char");
    1953           0 :     init = 1;
    1954             :   }
    1955           0 :   return info;
    1956             : }
    1957             : 
    1958             : 
    1959             : SWIGINTERN int
    1960           1 : SWIG_AsCharPtrAndSize(SV *obj, char** cptr, size_t* psize, int *alloc)
    1961             : {
    1962           1 :   if (SvMAGICAL(obj)) {
    1963           0 :      SV *tmp = sv_newmortal();
    1964           0 :      SvSetSV(tmp, obj);
    1965             :      obj = tmp;
    1966             :   }
    1967           1 :   if (SvPOK(obj)) {
    1968           1 :     STRLEN len = 0;
    1969           1 :     char *cstr = SvPV(obj, len); 
    1970           1 :     size_t size = len + 1;
    1971           1 :     if (cptr)  {
    1972           1 :       if (alloc) {
    1973           1 :   if (*alloc == SWIG_NEWOBJ) {
    1974           0 :     *cptr = (char *)memcpy(malloc((size)*sizeof(char)), cstr, sizeof(char)*(size));
    1975             :   } else {
    1976           1 :     *cptr = cstr;
    1977           1 :     *alloc = SWIG_OLDOBJ;
    1978             :   }
    1979             :       }
    1980             :     }
    1981           1 :     if (psize) *psize = size;
    1982             :     return SWIG_OK;
    1983             :   } else {
    1984           0 :     swig_type_info* pchar_descriptor = SWIG_pchar_descriptor();
    1985           0 :     if (pchar_descriptor) {
    1986           0 :       char* vptr = 0; 
    1987           0 :       if (SWIG_ConvertPtr(obj, (void**)&vptr, pchar_descriptor, 0) == SWIG_OK) {
    1988           0 :   if (cptr) *cptr = vptr;
    1989           0 :   if (psize) *psize = vptr ? (strlen(vptr) + 1) : 0;
    1990           0 :   if (alloc) *alloc = SWIG_OLDOBJ;
    1991           0 :   return SWIG_OK;
    1992             :       }
    1993             :     }
    1994             :   }
    1995             :   return SWIG_TypeError;
    1996             : }
    1997             : 
    1998             : 
    1999             : 
    2000             : 
    2001             : 
    2002             : SWIGINTERNINLINE SV *
    2003           1 : SWIG_FromCharPtrAndSize(const char* carray, size_t size)
    2004             : {
    2005           1 :   SV *obj = sv_newmortal();
    2006           1 :   if (carray) {
    2007           1 :     sv_setpvn(obj, carray, size);
    2008             :   } else {
    2009           0 :     sv_setsv(obj, &PL_sv_undef);
    2010             :   }
    2011           1 :   return obj;
    2012             : }
    2013             : 
    2014             : 
    2015             : SWIGINTERNINLINE SV * 
    2016           1 : SWIG_FromCharPtr(const char *cptr)
    2017             : { 
    2018           1 :   return SWIG_FromCharPtrAndSize(cptr, (cptr ? strlen(cptr) : 0));
    2019             : }
    2020             : 
    2021             : 
    2022             : SWIGINTERNINLINE SV *
    2023           1 : SWIG_From_double  SWIG_PERL_DECL_ARGS_1(double value)
    2024             : {
    2025           1 :   return sv_2mortal(newSVnv(value));
    2026             : }
    2027             : 
    2028             : SWIGINTERN int clusterObj_updateFromString(clusterObj *self,char *snippet){
    2029           0 :     return msUpdateClusterFromString(self, snippet);
    2030             :   }
    2031             : SWIGINTERN char *clusterObj_convertToString(clusterObj *self){
    2032           0 :     return msWriteClusterToString(self);
    2033             :   }
    2034           0 : SWIGINTERN int clusterObj_setGroup(clusterObj *self,char *group){
    2035           0 :     if (!group || strlen(group) == 0) {
    2036           0 :        msFreeExpression(&self->group);
    2037           0 :        return MS_SUCCESS;
    2038             :     }
    2039           0 :     else return msLoadExpressionString(&self->group, group);
    2040             :   }
    2041             : SWIGINTERN char *clusterObj_getGroupString(clusterObj *self){
    2042           0 :     return msGetExpressionString(&(self->group));
    2043             :   }
    2044           0 : SWIGINTERN int clusterObj_setFilter(clusterObj *self,char *filter){
    2045           0 :     if (!filter || strlen(filter) == 0) {
    2046           0 :       msFreeExpression(&self->filter);
    2047           0 :       return MS_SUCCESS;
    2048             :     } 
    2049           0 :     else return msLoadExpressionString(&self->filter, filter);
    2050             :   }
    2051             : SWIGINTERN char *clusterObj_getFilterString(clusterObj *self){
    2052           0 :     return msGetExpressionString(&(self->filter));
    2053             :   }
    2054           0 : SWIGINTERN outputFormatObj *new_outputFormatObj(char const *driver,char *name){
    2055             :         outputFormatObj *format;
    2056             : 
    2057           0 :         format = msCreateDefaultOutputFormat(NULL, driver, name);
    2058             : 
    2059             :         /* in the case of unsupported formats, msCreateDefaultOutputFormat
    2060             :            should return NULL */
    2061           0 :         if (!format)
    2062             :         {
    2063           0 :             msSetError(12, "Unsupported format driver: %s",
    2064             :                        "outputFormatObj()", driver);
    2065           0 :             return NULL;
    2066             :         }
    2067             :         
    2068           0 :         msInitializeRendererVTable(format);
    2069             : 
    2070           0 :         MS_REFCNT_INIT(format);
    2071           0 :   format->inmapfile = 1;
    2072             : 
    2073           0 :         return format;
    2074             :     }
    2075             : SWIGINTERN void delete_outputFormatObj(outputFormatObj *self){
    2076           0 :         msFreeOutputFormat( self );
    2077             :     }
    2078             : SWIGINTERN void outputFormatObj_setExtension(outputFormatObj *self,char const *extension){
    2079           0 :         msFree( self->extension );
    2080           0 :         self->extension = msStrdup(extension);
    2081             :     }
    2082             : SWIGINTERN void outputFormatObj_setMimetype(outputFormatObj *self,char const *mimetype){
    2083           0 :         msFree( self->mimetype );
    2084           0 :         self->mimetype = msStrdup(mimetype);
    2085             :     }
    2086             : SWIGINTERN void outputFormatObj_setOption(outputFormatObj *self,char const *key,char const *value){
    2087           0 :         msSetOutputFormatOption( self, key, value );
    2088             :     }
    2089             : SWIGINTERN int outputFormatObj_validate(outputFormatObj *self){
    2090           0 :         return msOutputFormatValidate( self, 0 );
    2091             :     }
    2092             : SWIGINTERN char *outputFormatObj_getOption(outputFormatObj *self,char const *key,char const *value){
    2093           0 :         return msStrdup(msGetOutputFormatOption(self, key, value));
    2094             :     }
    2095           0 : SWIGINTERN char *outputFormatObj_getOptionAt(outputFormatObj *self,int i){
    2096           0 :        if( i >= 0 && i < self->numformatoptions ) {
    2097           0 :           return msStrdup(self->formatoptions[i]);
    2098             :        }
    2099             :        return NULL;
    2100             :     }
    2101             : SWIGINTERN void outputFormatObj_attachDevice(outputFormatObj *self,void *device){
    2102           0 :         self->device = device;
    2103             :     }
    2104             : SWIGINTERN int queryMapObj_updateFromString(queryMapObj *self,char *snippet){
    2105           0 :     return msUpdateQueryMapFromString(self, snippet, 0);
    2106             :   }
    2107             : SWIGINTERN char *queryMapObj_convertToString(queryMapObj *self){
    2108           0 :     return msWriteQueryMapToString(self);
    2109             :   }
    2110             : SWIGINTERN webObj *new_webObj(void){
    2111             :         webObj *web;
    2112           0 :         web = (webObj *) malloc(sizeof(webObj));
    2113           0 :         initWeb(web);
    2114             :         return web;
    2115             :     }
    2116           0 : SWIGINTERN void delete_webObj(webObj *self){
    2117           0 :         if (!self) return;
    2118           0 :   freeWeb(self);
    2119           0 :         free(self);
    2120             :     }
    2121             : SWIGINTERN int webObj_updateFromString(webObj *self,char *snippet){
    2122           0 :         return msUpdateWebFromString(self, snippet, 0);
    2123             :     }
    2124             : SWIGINTERN char *webObj_convertToString(webObj *self){
    2125           0 :         return msWriteWebToString(self);
    2126             :     }
    2127           0 : SWIGINTERN struct styleObj *new_styleObj(classObj *parent_class){
    2128             :     
    2129             :         styleObj *style = NULL;
    2130             :         
    2131           0 :         if (parent_class!=NULL) {
    2132           0 :             if ((style = msGrowClassStyles(parent_class)) == NULL)
    2133             :                 return NULL;
    2134             : 
    2135           0 :             if ( initStyle(style) == MS_FAILURE ) {
    2136           0 :                 msSetError(12, "Failed to init new styleObj instance",
    2137             :                                        "initStyle()");
    2138             :             }
    2139           0 :             parent_class->numstyles++;
    2140           0 :             MS_REFCNT_INCR(style);
    2141             :         }
    2142             :         else {
    2143           0 :             style = (styleObj *) malloc(sizeof(styleObj));
    2144           0 :             if (!style) { 
    2145           0 :                 msSetError(2, "Failed to allocate memory for new styleObj instance",
    2146             :                                        "styleObj()");
    2147           0 :                 return NULL;
    2148             :             }
    2149           0 :             if ( initStyle(style) == MS_FAILURE ) {
    2150           0 :                 msSetError(12, "Failed to init new styleObj instance",
    2151             :                                        "initStyle()");
    2152           0 :                 msFree(style);
    2153           0 :                 return NULL;
    2154             :       }
    2155             :         }
    2156           0 :         return style;
    2157             :     }
    2158           0 : SWIGINTERN void delete_styleObj(struct styleObj *self){
    2159           0 :         if (self) { 
    2160           0 :     if ( freeStyle(self) == MS_SUCCESS ) {
    2161           0 :                 free(self);
    2162             :       self=NULL;
    2163             :     }
    2164             :   }
    2165           0 :     }
    2166             : SWIGINTERN int styleObj_updateFromString(struct styleObj *self,char *snippet){
    2167           0 :         return msUpdateStyleFromString(self, snippet, 0);
    2168             :     }
    2169             : SWIGINTERN char *styleObj_convertToString(struct styleObj *self){
    2170           0 :         return msWriteStyleToString(self);
    2171             :     }
    2172           0 : SWIGINTERN styleObj *styleObj_clone(struct styleObj *self){
    2173             :         styleObj *style;
    2174             : 
    2175           0 :         style = (styleObj *) malloc(sizeof(styleObj));
    2176           0 :         if (!style)
    2177             :         {
    2178           0 :             msSetError(2,
    2179             :                 "Could not allocate memory for new styleObj instance",
    2180             :                 "clone()");
    2181           0 :             return NULL;
    2182             :         }
    2183           0 :         if (initStyle(style) == -1)
    2184             :         {
    2185           0 :             msSetError(2, "Failed to initialize Style",
    2186             :                                   "clone()");
    2187           0 :             return NULL;
    2188             :         }
    2189             : 
    2190           0 :         if (msCopyStyle(style, self) != MS_SUCCESS)
    2191             :         {
    2192           0 :             free(style);
    2193           0 :             return NULL;
    2194             :         }
    2195             :         
    2196             :         return style;
    2197             :     }
    2198           0 : SWIGINTERN int styleObj_setSymbolByName(struct styleObj *self,mapObj *map,char *symbolname){
    2199           0 :         self->symbol = msGetSymbolIndex(&map->symbolset, symbolname, 1);
    2200           0 :         if (self->symbolname) free((char*)self->symbolname);
    2201           0 :         if (symbolname) self->symbolname = msStrdup(symbolname);
    2202           0 :         else self->symbolname = 0;
    2203           0 :         return self->symbol;
    2204             :     }
    2205           0 : SWIGINTERN int styleObj_removeBinding(struct styleObj *self,int binding){
    2206           0 :     if(binding < 0 || binding >= 12) return MS_FAILURE;
    2207             : 
    2208           0 :     if(self->bindings[binding].item) {
    2209           0 :       free(self->bindings[binding].item);
    2210           0 :       self->bindings[binding].item = NULL;
    2211           0 :       self->bindings[binding].index = -1;
    2212           0 :       self->numbindings--;
    2213             :     }
    2214             : 
    2215             :     return MS_SUCCESS;
    2216             :   }
    2217           0 : SWIGINTERN int styleObj_setBinding(struct styleObj *self,int binding,char *item){
    2218           0 :     if(!item) return MS_FAILURE;
    2219           0 :     if(binding < 0 || binding >= 12) return MS_FAILURE;
    2220             : 
    2221           0 :     if(self->bindings[binding].item) {
    2222           0 :       free(self->bindings[binding].item);
    2223           0 :       self->bindings[binding].item = NULL;
    2224           0 :       self->bindings[binding].index = -1;
    2225           0 :       self->numbindings--;
    2226             :     }
    2227             : 
    2228           0 :     self->bindings[binding].item = msStrdup(item);
    2229           0 :     self->numbindings++;
    2230             : 
    2231           0 :     return MS_SUCCESS;
    2232             :   }
    2233             : SWIGINTERN char *styleObj_getBinding(struct styleObj *self,int binding){
    2234           0 :     if(binding < 0 || binding >= 12) return NULL;
    2235             : 
    2236           0 :     return self->bindings[binding].item;
    2237             :   }
    2238             : SWIGINTERN char *styleObj_getGeomTransform(struct styleObj *self){
    2239             :     return self->_geomtransform.string;
    2240             :   }
    2241             : SWIGINTERN void styleObj_setGeomTransform(struct styleObj *self,char *transform){
    2242           0 :     msStyleSetGeomTransform(self, transform);
    2243             :   }
    2244             : 
    2245             : SWIGINTERN int
    2246           0 : SWIG_AsCharArray(SV * obj, char *val, size_t size)
    2247             : { 
    2248           0 :   char* cptr = 0; size_t csize = 0; int alloc = SWIG_OLDOBJ;
    2249           0 :   int res = SWIG_AsCharPtrAndSize(obj, &cptr, &csize, &alloc);
    2250           0 :   if (SWIG_IsOK(res)) {
    2251             :     /* special case of single char conversion when we don't need space for NUL */
    2252           0 :     if (size == 1 && csize == 2 && cptr && !cptr[1]) --csize;
    2253           0 :     if (csize <= size) {
    2254           0 :       if (val) {
    2255           0 :   if (csize) memcpy(val, cptr, csize*sizeof(char));
    2256           0 :   if (csize < size) memset(val + csize, 0, (size - csize)*sizeof(char));
    2257             :       }
    2258           0 :       if (alloc == SWIG_NEWOBJ) {
    2259           0 :   free((char*)cptr);
    2260           0 :   res = SWIG_DelNewMask(res);
    2261             :       }      
    2262           0 :       return res;
    2263             :     }
    2264           0 :     if (alloc == SWIG_NEWOBJ) free((char*)cptr);
    2265             :   }
    2266             :   return SWIG_TypeError;
    2267             : }
    2268             : 
    2269             : 
    2270             : SWIGINTERN int
    2271           0 : SWIG_AsVal_char SWIG_PERL_DECL_ARGS_2(SV * obj, char *val)
    2272             : {    
    2273           0 :   int res = SWIG_AsCharArray(obj, val, 1);
    2274           0 :   if (!SWIG_IsOK(res)) {
    2275             :     long v;
    2276           0 :     res = SWIG_AddCast(SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(obj, &v));
    2277           0 :     if (SWIG_IsOK(res)) {
    2278           0 :       if ((CHAR_MIN <= v) && (v <= CHAR_MAX)) {
    2279           0 :   if (val) *val = (char)(v);
    2280             :       } else {
    2281             :   res = SWIG_OverflowError;
    2282             :       }
    2283             :     }
    2284             :   }
    2285           0 :   return res;
    2286             : }
    2287             : 
    2288             : 
    2289             : SWIGINTERNINLINE SV *
    2290             : SWIG_From_char  SWIG_PERL_DECL_ARGS_1(char c) 
    2291             : { 
    2292           0 :   return SWIG_FromCharPtrAndSize(&c,1);
    2293             : }
    2294             : 
    2295           0 : SWIGINTERN struct labelObj *new_labelObj(void){
    2296             :       labelObj *label;
    2297             :         
    2298           0 :       label = (labelObj *)calloc(1, sizeof(labelObj));
    2299           0 :       if (!label)
    2300             :         return(NULL);
    2301             :     
    2302           0 :       initLabel(label);
    2303             :       
    2304           0 :       return(label);      
    2305             :     }
    2306             : SWIGINTERN void delete_labelObj(struct labelObj *self){
    2307           0 :       freeLabel(self);
    2308             :     }
    2309             : SWIGINTERN int labelObj_updateFromString(struct labelObj *self,char *snippet){
    2310           0 :     return msUpdateLabelFromString(self, snippet,0);
    2311             :   }
    2312             : SWIGINTERN char *labelObj_convertToString(struct labelObj *self){
    2313           0 :     return msWriteLabelToString(self);
    2314             :   }
    2315           0 : SWIGINTERN int labelObj_removeBinding(struct labelObj *self,int binding){
    2316           0 :     if(binding < 0 || binding >= 9) return MS_FAILURE;
    2317             : 
    2318           0 :     if(self->bindings[binding].item) {
    2319           0 :       free(self->bindings[binding].item);
    2320           0 :       self->bindings[binding].item = NULL;
    2321           0 :       self->bindings[binding].index = -1; 
    2322           0 :       self->numbindings--;
    2323             :     }
    2324             : 
    2325             :     return MS_SUCCESS;
    2326             :   }
    2327             : SWIGINTERN char *labelObj_getBinding(struct labelObj *self,int binding){
    2328           0 :     if(binding < 0 || binding >= 9) return NULL;
    2329             : 
    2330           0 :     return self->bindings[binding].item;
    2331             :   }
    2332           0 : SWIGINTERN int labelObj_setBinding(struct labelObj *self,int binding,char *item){
    2333           0 :     if(!item) return MS_FAILURE;
    2334           0 :     if(binding < 0 || binding >= 9) return MS_FAILURE;
    2335             : 
    2336           0 :     if(self->bindings[binding].item) {
    2337           0 :       free(self->bindings[binding].item);
    2338           0 :       self->bindings[binding].item = NULL; 
    2339           0 :       self->bindings[binding].index = -1;
    2340           0 :       self->numbindings--;
    2341             :     }
    2342             : 
    2343           0 :     self->bindings[binding].item = msStrdup(item); 
    2344           0 :     self->numbindings++;
    2345             : 
    2346           0 :     return MS_SUCCESS;
    2347             :   }
    2348           0 : SWIGINTERN int labelObj_setExpression(struct labelObj *self,char *expression){
    2349           0 :     if (!expression || strlen(expression) == 0) {
    2350           0 :        msFreeExpression(&self->expression);
    2351           0 :        return MS_SUCCESS;
    2352             :     }
    2353           0 :     else return msLoadExpressionString(&self->expression, expression);
    2354             :   }
    2355             : SWIGINTERN char *labelObj_getExpressionString(struct labelObj *self){
    2356           0 :     return msGetExpressionString(&(self->expression));
    2357             :   }
    2358           0 : SWIGINTERN int labelObj_setText(struct labelObj *self,char *text){
    2359           0 :     if (!text || strlen(text) == 0) {
    2360           0 :       msFreeExpression(&self->text);
    2361           0 :       return MS_SUCCESS;
    2362             :     } 
    2363           0 :     else return msLoadExpressionString(&self->text, text);
    2364             :   }
    2365             : SWIGINTERN char *labelObj_getTextString(struct labelObj *self){
    2366           0 :     return msGetExpressionString(&(self->text));
    2367             :   }
    2368           0 : SWIGINTERN styleObj *labelObj_getStyle(struct labelObj *self,int i){
    2369           0 :       if (i >= 0 && i < self->numstyles) {
    2370           0 :           MS_REFCNT_INCR(self->styles[i]);
    2371           0 :           return self->styles[i];
    2372             :       } else {
    2373           0 :           msSetError(31, "Invalid index: %d", "getStyle()", i);
    2374             :           return NULL;
    2375             :       }
    2376             :   }
    2377             : SWIGINTERN int labelObj_insertStyle(struct labelObj *self,styleObj *style,int index){
    2378           0 :         return msInsertLabelStyle(self, style, index);
    2379             :     }
    2380           0 : SWIGINTERN styleObj *labelObj_removeStyle(struct labelObj *self,int index){
    2381           0 :   styleObj* style = (styleObj *) msRemoveLabelStyle(self, index);
    2382           0 :   if (style)
    2383           0 :     MS_REFCNT_INCR(style);
    2384           0 :         return style;
    2385             :     }
    2386             : SWIGINTERN int labelObj_moveStyleUp(struct labelObj *self,int index){
    2387           0 :         return msMoveLabelStyleUp(self, index);
    2388             :     }
    2389             : SWIGINTERN int labelObj_moveStyleDown(struct labelObj *self,int index){
    2390           0 :        return msMoveLabelStyleDown(self, index);
    2391             :     }
    2392           1 : SWIGINTERN struct classObj *new_classObj(layerObj *layer){
    2393             :         classObj *new_class=NULL;
    2394             :         
    2395           1 :         if (!layer)
    2396             :         {
    2397           1 :             new_class = (classObj *) malloc(sizeof(classObj));
    2398           1 :             if (!new_class)
    2399             :             {
    2400           0 :                 msSetError(2,
    2401             :                     "Could not allocate memory for new classObj instance",
    2402             :                     "classObj()");
    2403           0 :                 return NULL;
    2404             :             }
    2405           1 :             if (initClass(new_class) == -1) return NULL;
    2406           1 :             new_class->layer = NULL;
    2407           1 :             return new_class;
    2408             :         }
    2409             :         else
    2410             :         {
    2411           1 :             if(msGrowLayerClasses(layer) == NULL)
    2412             :                 return NULL;
    2413           1 :             if (initClass(layer->class[layer->numclasses]) == -1)
    2414             :                 return NULL;
    2415           1 :             layer->class[layer->numclasses]->layer = layer;
    2416           1 :       MS_REFCNT_INCR(layer->class[layer->numclasses]);
    2417           1 :             layer->numclasses++;
    2418           1 :             return (layer->class[layer->numclasses-1]);
    2419             :         }
    2420             : 
    2421             :         return NULL;
    2422             :     }
    2423           1 : SWIGINTERN void delete_classObj(struct classObj *self){
    2424           1 :         if (self)
    2425             :         {
    2426           1 :             if (freeClass(self)==MS_SUCCESS) {
    2427           0 :               free(self);
    2428             :     self=NULL;
    2429             :       }
    2430             :         }
    2431           1 :     }
    2432             : SWIGINTERN int classObj_updateFromString(struct classObj *self,char *snippet){
    2433           0 :         return msUpdateClassFromString(self, snippet, 0);
    2434             :     }
    2435             : SWIGINTERN char *classObj_convertToString(struct classObj *self){
    2436           0 :         return msWriteClassToString(self);
    2437             :     }
    2438           0 : SWIGINTERN classObj *classObj_clone(struct classObj *self){
    2439             :         classObj *new_class;
    2440             : 
    2441           0 :         new_class = (classObj *) malloc(sizeof(classObj));
    2442           0 :         if (!new_class)
    2443             :         {
    2444           0 :             msSetError(2,
    2445             :                 "Could not allocate memory for new classObj instance",
    2446             :                 "clone()");
    2447           0 :             return NULL;
    2448             :         }
    2449           0 :         if (initClass(new_class) == -1)
    2450             :         {
    2451           0 :             msSetError(2, "Failed to initialize Class",
    2452             :                                   "clone()");
    2453           0 :             return NULL;
    2454             :         }
    2455           0 :         new_class->layer = NULL;
    2456             : 
    2457           0 :         if (msCopyClass(new_class, self, self->layer) != MS_SUCCESS) {
    2458           0 :             freeClass(new_class);
    2459           0 :             free(new_class);
    2460             :             new_class = NULL;
    2461             :         }
    2462             :         
    2463           0 :         return new_class;
    2464             :     }
    2465           0 : SWIGINTERN int classObj_setExpression(struct classObj *self,char *expression){
    2466           0 :     if (!expression || strlen(expression) == 0) {
    2467           0 :        msFreeExpression(&self->expression);
    2468           0 :        return MS_SUCCESS;
    2469             :     }
    2470           0 :     else return msLoadExpressionString(&self->expression, expression);
    2471             :   }
    2472             : SWIGINTERN char *classObj_getExpressionString(struct classObj *self){
    2473           0 :     return msGetExpressionString(&(self->expression));
    2474             :   }
    2475           0 : SWIGINTERN int classObj_setText(struct classObj *self,char *text){
    2476           0 :     if (!text || strlen(text) == 0) {
    2477           0 :       msFreeExpression(&self->text);
    2478           0 :       return MS_SUCCESS;
    2479             :     } 
    2480           0 :     else return msLoadExpressionString(&self->text, text);
    2481             :   }
    2482             : SWIGINTERN char *classObj_getTextString(struct classObj *self){
    2483           0 :     return msGetExpressionString(&(self->text));
    2484             :   }
    2485           0 : SWIGINTERN char *classObj_getMetaData(struct classObj *self,char *name){
    2486             :     char *value = NULL;
    2487           0 :     if (!name) {
    2488           0 :       msSetError(16, "NULL key", "getMetaData");
    2489             :     }
    2490             :      
    2491           0 :     value = (char *) msLookupHashTable(&(self->metadata), name);
    2492           0 :     if (!value) {
    2493           0 :       msSetError(16, "Key %s does not exist", "getMetaData", name);
    2494           0 :       return NULL;
    2495             :     }
    2496             :     return value;
    2497             :   }
    2498             : SWIGINTERN int classObj_setMetaData(struct classObj *self,char *name,char *value){
    2499           0 :     if (msInsertHashTable(&(self->metadata), name, value) == NULL)
    2500             :         return MS_FAILURE;
    2501             :     return MS_SUCCESS;
    2502             :   }
    2503             : SWIGINTERN char *classObj_getFirstMetaDataKey(struct classObj *self){
    2504           0 :     return (char *) msFirstKeyFromHashTable(&(self->metadata));
    2505             :   }
    2506             : SWIGINTERN char *classObj_getNextMetaDataKey(struct classObj *self,char *lastkey){
    2507           0 :     return (char *) msNextKeyFromHashTable(&(self->metadata), lastkey);
    2508             :   }
    2509           0 : SWIGINTERN int classObj_drawLegendIcon(struct classObj *self,mapObj *map,layerObj *layer,int width,int height,imageObj *dstImage,int dstX,int dstY){    
    2510           0 :     if(layer->sizeunits != MS_PIXELS) {
    2511           0 :       map->cellsize = msAdjustExtent(&(map->extent), map->width, map->height);
    2512           0 :       layer->scalefactor = (msInchesPerUnit(layer->sizeunits,0)/msInchesPerUnit(map->units,0)) / map->cellsize;
    2513             :     }
    2514             :     else
    2515           0 :       layer->scalefactor = map->resolution/map->defresolution;
    2516             :     
    2517           0 :     return msDrawLegendIcon(map, layer, self, width, height, dstImage, dstX, dstY, 1, NULL);
    2518             :   }
    2519             : SWIGINTERN imageObj *classObj_createLegendIcon(struct classObj *self,mapObj *map,layerObj *layer,int width,int height){
    2520           0 :     return msCreateLegendIcon(map, layer, self, width, height, 1);
    2521             :   }
    2522           0 : SWIGINTERN labelObj *classObj_getLabel(struct classObj *self,int i){
    2523           0 :     if (i >= 0 && i < self->numlabels) {
    2524           0 :       MS_REFCNT_INCR(self->labels[i]);
    2525           0 :       return self->labels[i];
    2526             :     } else {
    2527           0 :       msSetError(31, "Invalid index: %d.", "getLabel()", i);
    2528             :       return NULL;
    2529             :     }
    2530             :   }
    2531             : SWIGINTERN int classObj_addLabel(struct classObj *self,labelObj *label){
    2532           0 :     return msAddLabelToClass(self, label);
    2533             :   }
    2534           0 : SWIGINTERN labelObj *classObj_removeLabel(struct classObj *self,int index){
    2535           0 :     labelObj* label = (labelObj *) msRemoveLabelFromClass(self, index);
    2536           0 :     if (label) MS_REFCNT_INCR(label);
    2537           0 :     return label;
    2538             :   }
    2539           0 : SWIGINTERN styleObj *classObj_getStyle(struct classObj *self,int i){
    2540           0 :     if (i >= 0 && i < self->numstyles) {
    2541           0 :       MS_REFCNT_INCR(self->styles[i]);
    2542           0 :       return self->styles[i];
    2543             :     } else {
    2544           0 :       msSetError(31, "Invalid index: %d", "getStyle()", i);
    2545             :       return NULL;
    2546             :     }
    2547             :   }
    2548             : SWIGINTERN int classObj_insertStyle(struct classObj *self,styleObj *style,int index){
    2549           0 :     return msInsertStyle(self, style, index);
    2550             :   }
    2551           0 : SWIGINTERN styleObj *classObj_removeStyle(struct classObj *self,int index){
    2552           0 :     styleObj* style = (styleObj *) msRemoveStyle(self, index);
    2553           0 :     if (style) MS_REFCNT_INCR(style);
    2554           0 :     return style;
    2555             :   }
    2556             : SWIGINTERN int classObj_moveStyleUp(struct classObj *self,int index){
    2557           0 :     return msMoveStyleUp(self, index);
    2558             :   }
    2559             : SWIGINTERN int classObj_moveStyleDown(struct classObj *self,int index){
    2560           0 :     return msMoveStyleDown(self, index);
    2561             :   }
    2562             : SWIGINTERN void labelCacheObj_freeCache(labelCacheObj *self){
    2563           0 :         msFreeLabelCache(self);    
    2564             :     }
    2565             : SWIGINTERN resultObj *new_resultObj(long shapeindex){
    2566           0 :         resultObj *result = (resultObj *) msSmallMalloc(sizeof(resultObj));
    2567             : 
    2568           0 :         result->tileindex = -1;
    2569           0 :         result->resultindex = -1; 
    2570           0 :         result->shapeindex = shapeindex;
    2571             :         
    2572             :         return result;
    2573             :     }
    2574             : SWIGINTERN void delete_resultObj(resultObj *self){
    2575           0 :         free(self);   
    2576             :     }
    2577             : SWIGINTERN resultObj *resultCacheObj_getResult(resultCacheObj *self,int i){
    2578           0 :         if (i >= 0 && i < self->numresults) {
    2579           0 :             return &self->results[i];
    2580             :         }
    2581             :         return NULL;
    2582             :     }
    2583           0 : SWIGINTERN symbolSetObj *new_symbolSetObj(char const *symbolfile){
    2584             :         symbolSetObj *symbolset;
    2585             :         mapObj *temp_map=NULL;
    2586           0 :         symbolset = (symbolSetObj *) malloc(sizeof(symbolSetObj));
    2587           0 :         msInitSymbolSet(symbolset);
    2588           0 :         if (symbolfile) {
    2589           0 :             symbolset->filename = msStrdup(symbolfile);
    2590           0 :             temp_map = msNewMapObj();
    2591           0 :             msLoadSymbolSet(symbolset, temp_map);
    2592           0 :             symbolset->map = NULL;
    2593           0 :             msFreeMap(temp_map);
    2594             :         }
    2595           0 :         return symbolset;
    2596             :     }
    2597           0 : SWIGINTERN void delete_symbolSetObj(symbolSetObj *self){
    2598           0 :         msFreeSymbolSet(self);
    2599           0 :         if (self->filename) free(self->filename);
    2600           0 :         free(self);
    2601           0 :     }
    2602           0 : SWIGINTERN symbolObj *symbolSetObj_getSymbol(symbolSetObj *self,int i){
    2603           0 :         if (i >= 0 && i < self->numsymbols) {
    2604           0 :       symbolObj *s=self->symbol[i];
    2605           0 :       MS_REFCNT_INCR(s);
    2606             :             return s;
    2607             :         } else
    2608             :             return NULL;
    2609             :     }
    2610           0 : SWIGINTERN symbolObj *symbolSetObj_getSymbolByName(symbolSetObj *self,char *symbolname){
    2611             :         int i;
    2612             : 
    2613           0 :         if (!symbolname) return NULL;
    2614             : 
    2615           0 :         i = msGetSymbolIndex(self, symbolname, 1);
    2616           0 :         if (i == -1)
    2617             :             return NULL;
    2618             :     else {
    2619           0 :       MS_REFCNT_INCR(self->symbol[i]);
    2620           0 :             return self->symbol[i];
    2621             :     }
    2622             :     }
    2623             : SWIGINTERN int symbolSetObj_index(symbolSetObj *self,char *symbolname){
    2624           0 :         return msGetSymbolIndex(self, symbolname, 1);
    2625             :     }
    2626             : SWIGINTERN int symbolSetObj_appendSymbol(symbolSetObj *self,symbolObj *symbol){
    2627           0 :         return msAppendSymbol(self, symbol);
    2628             :     }
    2629           0 : SWIGINTERN symbolObj *symbolSetObj_removeSymbol(symbolSetObj *self,int index){
    2630           0 :         symbolObj *s=msRemoveSymbol(self, index);
    2631           0 :     if (s!=NULL) {
    2632           0 :       MS_REFCNT_INCR(s);
    2633             :     }
    2634           0 :         return s;
    2635             :     }
    2636             : SWIGINTERN int symbolSetObj_save(symbolSetObj *self,char const *filename){
    2637           0 :         return msSaveSymbolSet(self, filename);
    2638             :     }
    2639             : SWIGINTERN int referenceMapObj_updateFromString(referenceMapObj *self,char *snippet){
    2640           0 :     return msUpdateReferenceMapFromString(self, snippet, 0);
    2641             :   }
    2642             : SWIGINTERN char *referenceMapObj_convertToString(referenceMapObj *self){
    2643           0 :     return msWriteReferenceMapToString(self);
    2644             :   }
    2645             : SWIGINTERN int scalebarObj_updateFromString(scalebarObj *self,char *snippet){
    2646           0 :     return msUpdateScalebarFromString(self, snippet, 0);
    2647             :   }
    2648             : SWIGINTERN char *scalebarObj_convertToString(scalebarObj *self){
    2649           0 :     return msWriteScalebarToString(self);
    2650             :   }
    2651             : SWIGINTERN int legendObj_updateFromString(legendObj *self,char *snippet){
    2652           0 :     return msUpdateLegendFromString(self, snippet, 0);
    2653             :   }
    2654             : SWIGINTERN char *legendObj_convertToString(legendObj *self){
    2655           0 :     return msWriteLegendToString(self);
    2656             :   }
    2657           0 : SWIGINTERN struct imageObj *new_imageObj(int width,int height,outputFormatObj *input_format,char const *file,double resolution,double defresolution){
    2658             :         imageObj *image=NULL;
    2659             :         outputFormatObj *format;
    2660             :         rendererVTableObj *renderer = NULL;
    2661             :         rasterBufferObj *rb = NULL;
    2662             : 
    2663           0 :         if (input_format) {
    2664             :             format = input_format;
    2665             :         }
    2666             :         else {
    2667           0 :             format = msCreateDefaultOutputFormat(NULL, "AGG/PNG", "aggpng");
    2668           0 :             if (format)
    2669           0 :                 msInitializeRendererVTable(format);
    2670             :         }
    2671           0 :         if (format == NULL) {
    2672           0 :             msSetError(15, "Could not create output format",
    2673             :                        "imageObj()");
    2674           0 :             return NULL;
    2675             :         }
    2676             : 
    2677           0 :         if (file) {
    2678             : 
    2679           0 :             renderer = format->vtable;
    2680           0 :             rb = (rasterBufferObj*) malloc(sizeof(rasterBufferObj));
    2681           0 :             if (!rb) {
    2682           0 :                 msSetError(2, NULL, "imageObj()");
    2683           0 :                 return NULL;
    2684             :             }
    2685           0 :             if ( (renderer->loadImageFromFile((char *)file, rb)) == MS_FAILURE) {
    2686           0 :                 msFreeRasterBuffer(rb);
    2687           0 :                 free(rb);
    2688           0 :                 return NULL;
    2689             :             }
    2690           0 :             image = msImageCreate(rb->width, rb->height, format, NULL, NULL,
    2691             :                                   resolution, defresolution, NULL);
    2692           0 :             if (! image) {
    2693           0 :                 msFreeRasterBuffer(rb);
    2694           0 :                 free(rb);
    2695           0 :                 return NULL;
    2696             :             }
    2697             : 
    2698           0 :             if(renderer->mergeRasterBuffer(image, rb, 1.0, 0, 0, 0, 0, rb->width, rb->height) != MS_SUCCESS) {
    2699           0 :                 msFreeImage(image);
    2700             :                 image = NULL;
    2701             :             }
    2702             : 
    2703           0 :             msFreeRasterBuffer(rb);
    2704           0 :             free(rb);
    2705             : 
    2706           0 :             return image;
    2707             :         }
    2708             : 
    2709           0 :         image = msImageCreate(width, height, format, NULL, NULL, resolution, defresolution, NULL);
    2710           0 :         return image;
    2711             :     }
    2712             : SWIGINTERN void delete_imageObj(struct imageObj *self){
    2713           0 :         msFreeImage(self);
    2714             :     }
    2715             : SWIGINTERN void imageObj_save(struct imageObj *self,char *filename,mapObj *map){
    2716           0 :         msSaveImage(map, self, filename );
    2717             :     }
    2718           0 : SWIGINTERN int imageObj_write(struct imageObj *self,FILE *file){
    2719             :         int retval=MS_FAILURE;
    2720             :         rendererVTableObj *renderer = NULL;
    2721             : 
    2722           0 :         if (MS_RENDERER_PLUGIN(self->format))
    2723             :         {
    2724           0 :             if (file)
    2725             :             {
    2726           0 :                 renderer = self->format->vtable;
    2727             :                 /* FIXME? as an improvement, pass a map argument instead of the NULL (see #4216) */
    2728           0 :                 retval = renderer->saveImage(self, NULL, file, self->format);
    2729             :             }
    2730             :             else
    2731             :             {
    2732           0 :                 retval = msSaveImage(NULL, self, NULL);
    2733             :             }
    2734             :         }
    2735             :         else
    2736             :         {
    2737           0 :             msSetError(15, "Writing of %s format not implemented",
    2738             :                        "imageObj::write",
    2739             :                        self->format->name);
    2740             :         }
    2741             : 
    2742           0 :         return retval;
    2743             :     }
    2744           0 : SWIGINTERN gdBuffer imageObj_getBytes(struct imageObj *self){
    2745             :         gdBuffer buffer;
    2746             : 
    2747           0 :         buffer.owns_data = 1;
    2748             : 
    2749           0 :         buffer.data = msSaveImageBuffer(self, &buffer.size, self->format);
    2750             : 
    2751           0 :         if( buffer.data == NULL || buffer.size == 0 )
    2752             :         {
    2753           0 :             buffer.data = NULL;
    2754           0 :             msSetError(12, "Failed to get image buffer", "getBytes");
    2755           0 :             return buffer;
    2756             :         }
    2757             : 
    2758           0 :         return buffer;
    2759             :     }
    2760           0 : SWIGINTERN int imageObj_getSize(struct imageObj *self){
    2761             :         gdBuffer buffer;
    2762             :         int size=0;
    2763             : 
    2764           0 :         buffer.data = msSaveImageBuffer(self, &buffer.size, self->format);
    2765           0 :         size = buffer.size;
    2766             : 
    2767           0 :         if( buffer.data == NULL || buffer.size == 0 ) {
    2768           0 :             buffer.data = NULL;
    2769           0 :             msSetError(12, "Failed to get image buffer size", "getSize");
    2770             :         }
    2771           0 :         free(buffer.data);
    2772           0 :         return size;
    2773             :     }
    2774           1 : SWIGINTERN struct layerObj *new_layerObj(mapObj *map){
    2775             :         layerObj *layer;
    2776             :         int result;
    2777             :         
    2778           1 :         if (!map) {
    2779           1 :             layer = (layerObj *) malloc(sizeof(layerObj));
    2780           1 :             if (!layer) {
    2781           0 :                 msSetError(2, "Failed to initialize Layer",
    2782             :                                        "layerObj()");
    2783           0 :                 return NULL;
    2784             :             } 
    2785           1 :             result = initLayer(layer, NULL);
    2786           1 :             if (result == MS_SUCCESS) {
    2787           1 :                 layer->index = -1;
    2788           1 :                 return layer;
    2789             :             }
    2790             :             else {
    2791           0 :                 msSetError(2, "Failed to initialize Layer",
    2792             :                                        "layerObj()");
    2793           0 :                 return NULL;
    2794             :             }
    2795             :         }
    2796             :         else {
    2797           1 :             if(msGrowMapLayers(map) == NULL)
    2798             :                 return(NULL);
    2799             : 
    2800           1 :             if (initLayer((map->layers[map->numlayers]), map) == -1)
    2801             :                 return(NULL);
    2802             : 
    2803           1 :             map->layers[map->numlayers]->index = map->numlayers;
    2804           1 :             map->layerorder[map->numlayers] = map->numlayers;
    2805           1 :             map->numlayers++;
    2806           1 :         MS_REFCNT_INCR(map->layers[map->numlayers-1]);
    2807             : 
    2808           1 :             return (map->layers[map->numlayers-1]);
    2809             :         }
    2810             :     }
    2811             : SWIGINTERN void layerObj_setOpacity(struct layerObj *self,int opacity){
    2812           0 :       msSetLayerOpacity(self, opacity);
    2813             :     }
    2814             : SWIGINTERN int layerObj_getOpacity(struct layerObj *self){
    2815           0 :       if(self->compositer) return (self->compositer->opacity);
    2816             :       return (100);
    2817             :     }
    2818           1 : SWIGINTERN void delete_layerObj(struct layerObj *self){
    2819             :         /*if (!self->map) {*/
    2820           1 :         if (self) {
    2821           1 :             if(freeLayer(self)==MS_SUCCESS) {
    2822           1 :                 free(self);
    2823             :         }
    2824             :         }
    2825           1 :     }
    2826           0 : SWIGINTERN layerObj *layerObj_clone(struct layerObj *self){
    2827             :         layerObj *layer;
    2828             :         int result;
    2829             : 
    2830           0 :         layer = (layerObj *) malloc(sizeof(layerObj));
    2831           0 :         if (!layer) {
    2832           0 :             msSetError(2, "Failed to initialize Layer",
    2833             :                                   "layerObj()");
    2834           0 :             return NULL;
    2835             :         } 
    2836           0 :         result = initLayer(layer, NULL);
    2837           0 :         if (result != MS_SUCCESS) {
    2838           0 :             msSetError(2, "Failed to initialize Layer",
    2839             :                                   "layerObj()");
    2840           0 :             return NULL;
    2841             :         }
    2842             : 
    2843           0 :         if (msCopyLayer(layer, self) != MS_SUCCESS) {
    2844           0 :             freeLayer(layer);
    2845           0 :             free(layer);
    2846             :             layer = NULL;
    2847             :         }
    2848           0 :         layer->map = NULL;
    2849           0 :         layer->index = -1;
    2850             :         
    2851           0 :         return layer;
    2852             :     }
    2853             : SWIGINTERN int layerObj_updateFromString(struct layerObj *self,char *snippet){
    2854           0 :         return msUpdateLayerFromString(self, snippet, 0);
    2855             :     }
    2856             : SWIGINTERN char *layerObj_convertToString(struct layerObj *self){
    2857           0 :         return msWriteLayerToString(self);
    2858             :     }
    2859             : SWIGINTERN int layerObj_insertClass(struct layerObj *self,classObj *classobj,int index){
    2860           1 :         return msInsertClass(self, classobj, index);
    2861             :     }
    2862           0 : SWIGINTERN classObj *layerObj_removeClass(struct layerObj *self,int index){
    2863           0 :         classObj* c = msRemoveClass(self, index);
    2864           0 :     if (c != NULL) {
    2865           0 :         MS_REFCNT_INCR(c);
    2866             :     }
    2867           0 :     return c;
    2868             :     }
    2869           0 : SWIGINTERN int layerObj_open(struct layerObj *self){
    2870             :         int status;
    2871           0 :         status =  msLayerOpen(self);
    2872           0 :         if (status == MS_SUCCESS) {
    2873           0 :             return msLayerGetItems(self);
    2874             :         }
    2875             :         return status;
    2876             :     }
    2877           0 : SWIGINTERN int layerObj_whichShapes(struct layerObj *self,rectObj rect){
    2878           0 :         int oldconnectiontype = self->connectiontype;
    2879           0 :         self->connectiontype = MS_INLINE;
    2880             : 
    2881           0 :         if(msLayerWhichItems(self, 1, NULL) != MS_SUCCESS) {
    2882           0 :             self->connectiontype = oldconnectiontype;
    2883           0 :             return MS_FAILURE;
    2884             :         }
    2885           0 :         self->connectiontype = oldconnectiontype;
    2886             : 
    2887           0 :         return msLayerWhichShapes(self, rect, 0);
    2888             :     }
    2889           0 : SWIGINTERN shapeObj *layerObj_nextShape(struct layerObj *self){
    2890             :        int status;
    2891             :        shapeObj *shape;
    2892             : 
    2893           0 :        shape = (shapeObj *)malloc(sizeof(shapeObj));
    2894           0 :        if (!shape) return NULL;
    2895           0 :        msInitShape(shape);
    2896             : 
    2897           0 :        status = msLayerNextShape(self, shape);
    2898           0 :        if(status != MS_SUCCESS) {
    2899           0 :          msFreeShape(shape);
    2900           0 :      free(shape);
    2901           0 :      return NULL;
    2902             :        } else
    2903             :          return shape;
    2904             :     }
    2905             : SWIGINTERN void layerObj_close(struct layerObj *self){
    2906           0 :         msLayerClose(self);
    2907             :     }
    2908           0 : SWIGINTERN shapeObj *layerObj_getShape(struct layerObj *self,resultObj *record){
    2909             :         int retval;
    2910             :         shapeObj *shape;
    2911             : 
    2912           0 :         if (!record) return NULL;
    2913             :     
    2914           0 :         shape = (shapeObj *)malloc(sizeof(shapeObj));
    2915           0 :         if (!shape) return NULL;
    2916             : 
    2917           0 :         msInitShape(shape);
    2918           0 :         shape->type = self->type; /* is this right? */
    2919             : 
    2920           0 :         retval = msLayerGetShape(self, shape, record);
    2921           0 :         if(retval != MS_SUCCESS) {
    2922           0 :           msFreeShape(shape);
    2923           0 :           free(shape);
    2924           0 :           return NULL;
    2925             :         } else
    2926             :         return shape;
    2927             :     }
    2928             : SWIGINTERN int layerObj_getNumResults(struct layerObj *self){
    2929           0 :         if (!self->resultcache) return 0;
    2930           0 :         return self->resultcache->numresults;
    2931             :     }
    2932           0 : SWIGINTERN rectObj *layerObj_getResultsBounds(struct layerObj *self){
    2933             :         rectObj *bounds;
    2934           0 :         if (!self->resultcache) return NULL;
    2935           0 :         bounds = (rectObj *) malloc(sizeof(rectObj));
    2936           0 :         MS_COPYRECT(bounds, &self->resultcache->bounds);
    2937             :         return bounds;
    2938             :     }
    2939             : SWIGINTERN resultObj *layerObj_getResult(struct layerObj *self,int i){
    2940           0 :         if (!self->resultcache) return NULL;
    2941           0 :         if (i >= 0 && i < self->resultcache->numresults)
    2942           0 :             return &self->resultcache->results[i]; 
    2943             :         else
    2944             :             return NULL;
    2945             :     }
    2946           1 : SWIGINTERN classObj *layerObj_getClass(struct layerObj *self,int i){
    2947             :     classObj *result=NULL;
    2948           1 :         if (i >= 0 && i < self->numclasses) {
    2949           1 :             result=self->class[i]; 
    2950           1 :         MS_REFCNT_INCR(result);
    2951             :     }
    2952           1 :     return result;
    2953             :     }
    2954             : SWIGINTERN char *layerObj_getItem(struct layerObj *self,int i){
    2955             :   
    2956           0 :         if (i >= 0 && i < self->numitems)
    2957           0 :             return (char *) (self->items[i]);
    2958             :         else
    2959             :             return NULL;
    2960             :     }
    2961             : SWIGINTERN int layerObj_setItems(struct layerObj *self,char **items,int numitems){
    2962           0 :         return msLayerSetItems(self, items, numitems);
    2963             :     }
    2964             : SWIGINTERN int layerObj_draw(struct layerObj *self,mapObj *map,imageObj *image){
    2965           0 :         return msDrawLayer(map, self, image);    
    2966             :     }
    2967             : SWIGINTERN int layerObj_drawQuery(struct layerObj *self,mapObj *map,imageObj *image){
    2968           0 :         return msDrawQueryLayer(map, self, image);    
    2969             :     }
    2970           0 : SWIGINTERN int layerObj_queryByFilter(struct layerObj *self,mapObj *map,char *string){
    2971             :         int status;
    2972             :         int retval;
    2973             : 
    2974           0 :         msInitQuery(&(map->query));
    2975             : 
    2976           0 :         map->query.type = MS_QUERY_BY_FILTER;
    2977           0 :         map->query.mode = MS_QUERY_MULTIPLE;
    2978             : 
    2979           0 :         map->query.filter.string = msStrdup(string);
    2980           0 :         map->query.filter.type = MS_EXPRESSION;
    2981             :         
    2982           0 :         map->query.layer = self->index;
    2983           0 :            map->query.rect = map->extent;
    2984             : 
    2985           0 :           status = self->status;
    2986           0 :           self->status = 1;
    2987           0 :         retval = msQueryByFilter(map);
    2988           0 :         self->status = status;
    2989           0 :           return retval;
    2990             :     }
    2991           0 : SWIGINTERN int layerObj_queryByAttributes(struct layerObj *self,mapObj *map,char *qitem,char *qstring,int mode){
    2992             :         int status;
    2993             :         int retval;
    2994             : 
    2995           0 :         msInitQuery(&(map->query));
    2996             :         
    2997           0 :         map->query.type = MS_QUERY_BY_FILTER;
    2998           0 :         map->query.mode = mode;
    2999             : 
    3000           0 :         if(qitem) map->query.filteritem = msStrdup(qitem);
    3001           0 :         if(qstring) {
    3002           0 :           msInitExpression(&map->query.filter);
    3003           0 :           msLoadExpressionString(&map->query.filter, qstring);
    3004             :         }
    3005             : 
    3006           0 :         map->query.layer = self->index;
    3007           0 :         map->query.rect = map->extent;
    3008             : 
    3009           0 :         status = self->status;
    3010           0 :         self->status = 1;
    3011           0 :         retval = msQueryByFilter(map);
    3012           0 :         self->status = status;
    3013             : 
    3014           0 :         return retval;
    3015             :     }
    3016           0 : SWIGINTERN int layerObj_queryByPoint(struct layerObj *self,mapObj *map,pointObj *point,int mode,double buffer){
    3017             :         int status;
    3018             :         int retval;
    3019             : 
    3020           0 :         msInitQuery(&(map->query));
    3021             : 
    3022           0 :         map->query.type = MS_QUERY_BY_POINT;
    3023           0 :         map->query.mode = mode;
    3024           0 :         map->query.point = *point;
    3025           0 :         map->query.buffer = buffer;
    3026           0 :         map->query.layer = self->index;
    3027             :         
    3028           0 :         status = self->status;
    3029           0 :         self->status = 1;
    3030           0 :         retval = msQueryByPoint(map);
    3031           0 :         self->status = status;
    3032             : 
    3033           0 :         return retval;
    3034             :     }
    3035           0 : SWIGINTERN int layerObj_queryByRect(struct layerObj *self,mapObj *map,rectObj rect){
    3036             :         int status;
    3037             :         int retval;
    3038             : 
    3039           0 :         msInitQuery(&(map->query));
    3040             : 
    3041           0 :         map->query.type = MS_QUERY_BY_RECT;
    3042           0 :         map->query.mode = MS_QUERY_MULTIPLE;
    3043           0 :         map->query.rect = rect; 
    3044           0 :         map->query.layer = self->index;
    3045             : 
    3046           0 :         status = self->status;
    3047           0 :         self->status = 1;
    3048           0 :         retval = msQueryByRect(map);
    3049           0 :         self->status = status;
    3050             : 
    3051           0 :         return retval;
    3052             :     }
    3053             : SWIGINTERN int layerObj_queryByFeatures(struct layerObj *self,mapObj *map,int slayer){
    3054             :         int status;
    3055             :         int retval;
    3056             : 
    3057           0 :         map->query.slayer = slayer;
    3058           0 :         map->query.layer = self->index;
    3059             : 
    3060           0 :         status = self->status;
    3061           0 :         self->status = 1;
    3062           0 :         retval = msQueryByFeatures(map);
    3063           0 :         self->status = status;
    3064             :         return retval;
    3065             :     }
    3066           0 : SWIGINTERN int layerObj_queryByShape(struct layerObj *self,mapObj *map,shapeObj *shape){
    3067             :         int status;
    3068             :         int retval;
    3069             :         
    3070           0 :         msInitQuery(&(map->query));
    3071             : 
    3072           0 :         map->query.type = MS_QUERY_BY_SHAPE;
    3073           0 :         map->query.mode = MS_QUERY_MULTIPLE;
    3074           0 :         map->query.shape = (shapeObj *) malloc(sizeof(shapeObj));
    3075           0 :         msInitShape(map->query.shape);
    3076           0 :         msCopyShape(shape, map->query.shape);
    3077           0 :         map->query.layer = self->index;
    3078             : 
    3079           0 :         status = self->status;
    3080           0 :         self->status = 1;
    3081           0 :         retval = msQueryByShape(map);
    3082           0 :         self->status = status;
    3083           0 :         return retval;
    3084             :     }
    3085             : SWIGINTERN int layerObj_queryByIndex(struct layerObj *self,mapObj *map,int tileindex,int shapeindex,int bAddToQuery){
    3086             :         int status;
    3087             :         int retval;
    3088             :         
    3089           0 :         msInitQuery(&(map->query));
    3090             : 
    3091           0 :         map->query.type = MS_QUERY_BY_INDEX;
    3092           0 :         map->query.mode = MS_QUERY_SINGLE;
    3093           0 :         map->query.tileindex = tileindex;
    3094           0 :         map->query.shapeindex = shapeindex;
    3095           0 :         map->query.clear_resultcache = !bAddToQuery;
    3096           0 :         map->query.layer = self->index;
    3097             : 
    3098           0 :         status = self->status;
    3099           0 :         self->status = 1;
    3100           0 :         retval = msQueryByIndex(map);
    3101           0 :         self->status = status;
    3102             :         return retval;
    3103             :     }
    3104             : SWIGINTERN resultCacheObj *layerObj_getResults(struct layerObj *self){
    3105             :         return self->resultcache;
    3106             :     }
    3107           0 : SWIGINTERN int layerObj_setFilter(struct layerObj *self,char *filter){
    3108           0 :         if (!filter || strlen(filter) == 0) {
    3109           0 :             msFreeExpression(&self->filter);
    3110           0 :             return MS_SUCCESS;
    3111             :         }
    3112           0 :         else return msLoadExpressionString(&self->filter, filter);
    3113             :     }
    3114             : SWIGINTERN char *layerObj_getFilterString(struct layerObj *self){
    3115           0 :         return msGetExpressionString(&(self->filter));
    3116             :     }
    3117             : SWIGINTERN int layerObj_setWKTProjection(struct layerObj *self,char *wkt){
    3118           0 :         self->project = 1;
    3119           0 :         return msOGCWKT2ProjectionObj(wkt, &(self->projection), self->debug);
    3120             :     }
    3121             : SWIGINTERN char *layerObj_getProjection(struct layerObj *self){    
    3122           0 :         return (char *) msGetProjectionString(&(self->projection));
    3123             :     }
    3124             : SWIGINTERN int layerObj_setProjection(struct layerObj *self,char *proj4){
    3125           0 :         self->project = 1;
    3126           0 :         return msLoadProjectionString(&(self->projection), proj4);
    3127             :     }
    3128           0 : SWIGINTERN int layerObj_addFeature(struct layerObj *self,shapeObj *shape){    
    3129           0 :         self->connectiontype = MS_INLINE;
    3130           0 :         if(self->features != NULL && self->features->tailifhead != NULL) 
    3131           0 :             shape->index = self->features->tailifhead->shape.index + 1;
    3132             :         else 
    3133           0 :             shape->index = 0;
    3134           0 :         if (insertFeatureList(&(self->features), shape) == NULL) 
    3135             :         return MS_FAILURE;
    3136           0 :         return MS_SUCCESS;
    3137             :     }
    3138             : SWIGINTERN int layerObj_getNumFeatures(struct layerObj *self){
    3139           0 :         return msLayerGetNumFeatures(self);
    3140             :     }
    3141             : SWIGINTERN rectObj *layerObj_getExtent(struct layerObj *self){
    3142             :         rectObj *extent;
    3143           0 :         extent = (rectObj *) malloc(sizeof(rectObj));
    3144           0 :         msLayerGetExtent(self, extent);
    3145             :         return extent;
    3146             :     }
    3147           0 : SWIGINTERN int layerObj_setExtent(struct layerObj *self,double minx,double miny,double maxx,double maxy){
    3148           0 :         if (minx > maxx || miny > maxy) {
    3149           0 :             msSetError(34,
    3150             :                 "{ 'minx': %f , 'miny': %f , 'maxx': %f , 'maxy': %f }",
    3151             :                 "layerObj::setExtent()", minx, miny, maxx, maxy);
    3152           0 :             return MS_FAILURE;
    3153             :         }
    3154             : 
    3155           0 :         return msLayerSetExtent(self, minx, miny, maxx, maxy);
    3156             :     }
    3157           0 : SWIGINTERN char *layerObj_getMetaData(struct layerObj *self,char *name){
    3158             :         char *value = NULL;
    3159           0 :         if (!name) {
    3160           0 :             msSetError(16, "NULL key", "getMetaData");
    3161             :         }
    3162             :      
    3163           0 :         value = (char *) msLookupHashTable(&(self->metadata), name);
    3164             :     /*
    3165             :     Umberto, 05/17/2006
    3166             :     Exceptions should be reserved for situations when a serious error occurred
    3167             :     and normal program flow must be interrupted.
    3168             :     In this case returning null should be more that enough.
    3169             :     */
    3170             : 
    3171           0 :         if (!value) {
    3172           0 :             msSetError(16, "Key %s does not exist", "getMetaData", name);
    3173           0 :             return NULL;
    3174             :         }
    3175             : 
    3176             :         return value;
    3177             :     }
    3178             : SWIGINTERN int layerObj_setMetaData(struct layerObj *self,char *name,char *value){
    3179           0 :         if (msInsertHashTable(&(self->metadata), name, value) == NULL)
    3180             :         return MS_FAILURE;
    3181             :         return MS_SUCCESS;
    3182             :     }
    3183             : SWIGINTERN int layerObj_removeMetaData(struct layerObj *self,char *name){
    3184           0 :         return(msRemoveHashTable(&(self->metadata), name));
    3185             :     }
    3186             : SWIGINTERN char *layerObj_getFirstMetaDataKey(struct layerObj *self){
    3187           0 :         return (char *) msFirstKeyFromHashTable(&(self->metadata));
    3188             :     }
    3189             : SWIGINTERN char *layerObj_getNextMetaDataKey(struct layerObj *self,char *lastkey){
    3190           0 :         return (char *) msNextKeyFromHashTable(&(self->metadata), lastkey);
    3191             :     }
    3192             : SWIGINTERN char *layerObj_getWMSFeatureInfoURL(struct layerObj *self,mapObj *map,int click_x,int click_y,int feature_count,char *info_format){
    3193           0 :         return (char *) msWMSGetFeatureInfoURL(map, self, click_x, click_y,
    3194             :                feature_count, info_format);
    3195             :     }
    3196             : SWIGINTERN char *layerObj_executeWFSGetFeature(struct layerObj *self,layerObj *layer){
    3197           0 :         return (char *) msWFSExecuteGetFeature(layer);
    3198             :     }
    3199             : SWIGINTERN int layerObj_applySLD(struct layerObj *self,char *sld,char *stylelayer){
    3200           0 :       return msSLDApplySLD(self->map, sld, self->index, stylelayer, NULL);
    3201             :     }
    3202             : SWIGINTERN int layerObj_applySLDURL(struct layerObj *self,char *sld,char *stylelayer){
    3203           0 :       return msSLDApplySLDURL(self->map, sld, self->index, stylelayer, NULL);
    3204             :     }
    3205             : SWIGINTERN char *layerObj_generateSLD(struct layerObj *self){
    3206           0 :         return (char *) msSLDGenerateSLD(self->map, self->index, NULL);
    3207             :     }
    3208           0 : SWIGINTERN int layerObj_isVisible(struct layerObj *self){
    3209           0 :         if (!self->map)
    3210             :         {
    3211           0 :             msSetError(12,
    3212             :                 "visibility has no meaning outside of a map context",
    3213             :                 "isVisible()");
    3214           0 :             return MS_FAILURE;
    3215             :         }
    3216           0 :         return msLayerIsVisible(self->map, self);
    3217             :     }
    3218             : SWIGINTERN int layerObj_moveClassUp(struct layerObj *self,int index){
    3219           0 :         return msMoveClassUp(self, index);
    3220             :     }
    3221             : SWIGINTERN int layerObj_moveClassDown(struct layerObj *self,int index){
    3222           0 :         return msMoveClassDown(self, index);
    3223             :     }
    3224             : SWIGINTERN void layerObj_setProcessingKey(struct layerObj *self,char const *key,char const *value){
    3225           0 :        msLayerSetProcessingKey( self, key, value );
    3226             :     }
    3227             : SWIGINTERN void layerObj_setProcessing(struct layerObj *self,char const *directive){
    3228           0 :         msLayerAddProcessing( self, directive );
    3229             :     }
    3230             : SWIGINTERN void layerObj_addProcessing(struct layerObj *self,char const *directive){
    3231           0 :         msLayerAddProcessing( self, directive );
    3232             :     }
    3233             : SWIGINTERN char *layerObj_getProcessing(struct layerObj *self,int index){
    3234           0 :         return (char *) msLayerGetProcessing(self, index);
    3235             :     }
    3236             : SWIGINTERN char *layerObj_getProcessingKey(struct layerObj *self,char const *key){
    3237           0 :       return (char *) msLayerGetProcessingKey(self, key);
    3238             :     }
    3239             : SWIGINTERN int layerObj_clearProcessing(struct layerObj *self){
    3240           0 :         return msLayerClearProcessing(self);
    3241             :     }
    3242           0 : SWIGINTERN int layerObj_setConnectionType(struct layerObj *self,int connectiontype,char const *library_str){    
    3243             :         /* Caller is responsible to close previous layer correctly before
    3244             :          * calling msConnectLayer() 
    3245             :          */
    3246           0 :         if (msLayerIsOpen(self))
    3247           0 :           msLayerClose(self);
    3248           0 :         return msConnectLayer(self, connectiontype, library_str);
    3249             :     }
    3250             : SWIGINTERN int layerObj_getClassIndex(struct layerObj *self,mapObj *map,shapeObj *shape,int *classgroup,int numclasses){
    3251           0 :         return msShapeGetClass(self, map, shape, classgroup, numclasses);
    3252             :     }
    3253             : SWIGINTERN char *layerObj_getGeomTransform(struct layerObj *self){
    3254             :       return self->_geomtransform.string;
    3255             :     }
    3256           0 : SWIGINTERN void layerObj_setGeomTransform(struct layerObj *self,char *transform){
    3257           0 :       msFree(self->_geomtransform.string);
    3258           0 :       if (!transform || strlen(transform) > 0) {
    3259           0 :         self->_geomtransform.string = msStrdup(transform);
    3260           0 :         self->_geomtransform.type = MS_GEOMTRANSFORM_EXPRESSION;
    3261             :       }
    3262             :       else {
    3263           0 :         self->_geomtransform.type = MS_GEOMTRANSFORM_NONE;
    3264           0 :         self->_geomtransform.string = NULL;
    3265             :       }
    3266           0 :     }
    3267           0 : SWIGINTERN char *layerObj_getItemType(struct layerObj *self,int i){
    3268             : 
    3269             :         char *itemType = NULL;
    3270             : 
    3271           0 :         if (i >= 0 && i < self->numitems) {
    3272             :             gmlItemListObj *item_list;
    3273           0 :             item_list = msGMLGetItems(self, "G");
    3274           0 :             if (item_list != NULL) {
    3275           0 :                 gmlItemObj *item = item_list->items + i;
    3276           0 :                 itemType = msStrdup(item->type);
    3277           0 :                 msGMLFreeItems(item_list); // destroy the original list
    3278             :             }
    3279             :         }
    3280             : 
    3281           0 :         return itemType;
    3282             : 
    3283             :     }
    3284           1 : SWIGINTERN struct mapObj *new_mapObj(char *filename){
    3285           1 :         if (filename && strlen(filename))
    3286           1 :             return msLoadMap(filename, NULL);
    3287             :         else { /* create an empty map, no layers etc... */
    3288           0 :             return msNewMapObj();
    3289             :         }      
    3290             :     }
    3291             : SWIGINTERN void delete_mapObj(struct mapObj *self){
    3292           1 :         msFreeMap(self);
    3293             :     }
    3294           0 : SWIGINTERN mapObj *mapObj_clone(struct mapObj *self){
    3295             :         mapObj *dstMap;
    3296           0 :         dstMap = msNewMapObj();
    3297           0 :         if (msCopyMap(dstMap, self) != MS_SUCCESS) {
    3298           0 :             msFreeMap(dstMap);
    3299             :             dstMap = NULL;
    3300             :         }
    3301           0 :         return dstMap;
    3302             :     }
    3303             : SWIGINTERN int mapObj_insertLayer(struct mapObj *self,layerObj *layer,int index){
    3304           1 :         return msInsertLayer(self, layer, index);  
    3305             :     }
    3306             : SWIGINTERN layerObj *mapObj_removeLayer(struct mapObj *self,int index){
    3307           0 :       layerObj *layer=msRemoveLayer(self, index);
    3308           0 :   MS_REFCNT_INCR(layer);
    3309             :         return layer;
    3310             :     }
    3311             : SWIGINTERN int mapObj_setExtent(struct mapObj *self,double minx,double miny,double maxx,double maxy){ 
    3312           0 :   return msMapSetExtent( self, minx, miny, maxx, maxy );
    3313             :     }
    3314             : SWIGINTERN int mapObj_offsetExtent(struct mapObj *self,double x,double y){  
    3315           0 :   return msMapOffsetExtent( self, x, y );
    3316             :     }
    3317             : SWIGINTERN int mapObj_scaleExtent(struct mapObj *self,double zoomfactor,double minscaledenom,double maxscaledenom){ 
    3318           0 :   return msMapScaleExtent( self, zoomfactor, minscaledenom, maxscaledenom );
    3319             :     }
    3320             : SWIGINTERN int mapObj_setCenter(struct mapObj *self,pointObj *center){  
    3321           0 :   return msMapSetCenter( self, center );
    3322             :     }
    3323             : SWIGINTERN int mapObj_setSize(struct mapObj *self,int width,int height){
    3324           0 :         return msMapSetSize(self, width, height);
    3325             :     }
    3326             : SWIGINTERN int mapObj_setRotation(struct mapObj *self,double rotation_angle){
    3327           0 :         return msMapSetRotation( self, rotation_angle );
    3328             :     }
    3329           1 : SWIGINTERN layerObj *mapObj_getLayer(struct mapObj *self,int i){
    3330           1 :     if(i >= 0 && i < self->numlayers) {
    3331           1 :       MS_REFCNT_INCR(self->layers[i]);
    3332           1 :         return (self->layers[i]); /* returns an EXISTING layer */
    3333             :     } else {
    3334             :       return NULL;
    3335             :     }
    3336             :   }
    3337           1 : SWIGINTERN layerObj *mapObj_getLayerByName(struct mapObj *self,char *name){
    3338             :     int i;
    3339             : 
    3340           1 :     i = msGetLayerIndex(self, name);
    3341             : 
    3342           1 :     if(i != -1) {
    3343           1 :       MS_REFCNT_INCR(self->layers[i]);
    3344           1 :       return (self->layers[i]); /* returns an EXISTING layer */
    3345             :     }
    3346             :     else
    3347             :       return NULL;
    3348             :   }
    3349             : SWIGINTERN int mapObj_getSymbolByName(struct mapObj *self,char *name){
    3350           0 :     return msGetSymbolIndex(&self->symbolset, name, 1);
    3351             :   }
    3352           0 : SWIGINTERN void mapObj_prepareQuery(struct mapObj *self){
    3353             :     int status;
    3354             : 
    3355           0 :     status = msCalculateScale(self->extent, self->units, self->width, self->height, self->resolution, &self->scaledenom);
    3356           0 :     if(status != MS_SUCCESS) self->scaledenom = -1;
    3357           0 :   }
    3358             : SWIGINTERN imageObj *mapObj_prepareImage(struct mapObj *self){
    3359           0 :     return msPrepareImage(self, 0);
    3360             :   }
    3361           0 : SWIGINTERN void mapObj_setImageType(struct mapObj *self,char *imagetype){
    3362             :       outputFormatObj *format;
    3363             : 
    3364           0 :       format = msSelectOutputFormat( self, imagetype );
    3365           0 :       if( format == NULL )
    3366           0 :     msSetError(12, "Unable to find IMAGETYPE '%s'.", 
    3367             :          "setImageType()", imagetype );
    3368             :       else
    3369             :       {  
    3370           0 :           msFree( self->imagetype );
    3371           0 :           self->imagetype = msStrdup(imagetype);
    3372           0 :           msApplyOutputFormat( &(self->outputformat), format, -1111, 
    3373             :                                -1111, -1111 );
    3374             :       }
    3375           0 :   }
    3376           0 : SWIGINTERN void mapObj_selectOutputFormat(struct mapObj *self,char *imagetype){
    3377             :         outputFormatObj *format;
    3378             : 
    3379           0 :         format = msSelectOutputFormat( self, imagetype );
    3380           0 :         if ( format == NULL )
    3381           0 :           msSetError(12, "Unable to find IMAGETYPE '%s'.", 
    3382             :                    "setImageType()", imagetype );
    3383             :         else
    3384             :         {   
    3385           0 :             msFree( self->imagetype );
    3386           0 :             self->imagetype = msStrdup(imagetype);
    3387           0 :             msApplyOutputFormat( &(self->outputformat), format, -1111, 
    3388             :                                  -1111, -1111 );
    3389             :         }
    3390           0 :     }
    3391           0 : SWIGINTERN outputFormatObj *mapObj_getOutputFormat(struct mapObj *self,int i){
    3392           0 :     if(i >= 0 && i < self->numoutputformats) {
    3393           0 :       MS_REFCNT_INCR(self->outputformatlist[i]);
    3394           0 :         return (self->outputformatlist[i]); 
    3395             :     } else {
    3396             :       return NULL;
    3397             :     }
    3398             :   }
    3399             : SWIGINTERN void mapObj_setOutputFormat(struct mapObj *self,outputFormatObj *format){
    3400           0 :       msApplyOutputFormat( &(self->outputformat), format, -1111, 
    3401             :                            -1111, -1111 );
    3402             :   }
    3403             : SWIGINTERN imageObj *mapObj_draw(struct mapObj *self){
    3404             : 
    3405             : 
    3406             : 
    3407             : 
    3408             : 
    3409             : 
    3410             : 
    3411             : 
    3412           0 :     return msDrawMap(self, 0);
    3413             : 
    3414             :   }
    3415             : SWIGINTERN imageObj *mapObj_drawQuery(struct mapObj *self){
    3416           0 :     return msDrawMap(self, 1);
    3417             :   }
    3418             : SWIGINTERN imageObj *mapObj_drawLegend(struct mapObj *self){
    3419           0 :     return msDrawLegend(self, 0, NULL);
    3420             :   }
    3421             : SWIGINTERN imageObj *mapObj_drawScalebar(struct mapObj *self){
    3422           0 :     return msDrawScalebar(self);
    3423             :   }
    3424             : SWIGINTERN imageObj *mapObj_drawReferenceMap(struct mapObj *self){
    3425           0 :     return msDrawReferenceMap(self);
    3426             :   }
    3427             : SWIGINTERN int mapObj_embedScalebar(struct mapObj *self,imageObj *image){ 
    3428           0 :     return msEmbedScalebar(self, image);
    3429             :   }
    3430             : SWIGINTERN int mapObj_embedLegend(struct mapObj *self,imageObj *image){ 
    3431           0 :     return msEmbedLegend(self, image);
    3432             :   }
    3433             : SWIGINTERN int mapObj_drawLabelCache(struct mapObj *self,imageObj *image){
    3434           0 :     return msDrawLabelCache(self,image);
    3435             :   }
    3436           0 : SWIGINTERN int mapObj_queryByFilter(struct mapObj *self,char *string){
    3437           0 :     msInitQuery(&(self->query));
    3438             : 
    3439           0 :     self->query.type = MS_QUERY_BY_FILTER;
    3440           0 :     self->query.mode = MS_QUERY_MULTIPLE;
    3441             : 
    3442           0 :     self->query.filter.string = msStrdup(string);
    3443           0 :     self->query.filter.type = MS_EXPRESSION;
    3444             : 
    3445           0 :     self->query.rect = self->extent;
    3446             : 
    3447           0 :     return msQueryByFilter(self);
    3448             :   }
    3449           0 : SWIGINTERN int mapObj_queryByPoint(struct mapObj *self,pointObj *point,int mode,double buffer){
    3450           0 :     msInitQuery(&(self->query));
    3451             : 
    3452           0 :     self->query.type = MS_QUERY_BY_POINT;
    3453           0 :     self->query.mode = mode;
    3454           0 :     self->query.point = *point;
    3455           0 :     self->query.buffer = buffer;
    3456             : 
    3457           0 :     return msQueryByPoint(self);
    3458             :   }
    3459             : SWIGINTERN int mapObj_queryByRect(struct mapObj *self,rectObj rect){
    3460           0 :     msInitQuery(&(self->query));
    3461             : 
    3462           0 :     self->query.type = MS_QUERY_BY_RECT;
    3463           0 :     self->query.mode = MS_QUERY_MULTIPLE;
    3464           0 :     self->query.rect = rect;
    3465             : 
    3466           0 :     return msQueryByRect(self);
    3467             :   }
    3468             : SWIGINTERN int mapObj_queryByFeatures(struct mapObj *self,int slayer){
    3469           0 :     self->query.slayer = slayer;
    3470           0 :     return msQueryByFeatures(self);
    3471             :   }
    3472           0 : SWIGINTERN int mapObj_queryByShape(struct mapObj *self,shapeObj *shape){
    3473           0 :     msInitQuery(&(self->query));
    3474             :     
    3475           0 :     self->query.type = MS_QUERY_BY_SHAPE;
    3476           0 :     self->query.mode = MS_QUERY_MULTIPLE;
    3477           0 :     self->query.shape = (shapeObj *) malloc(sizeof(shapeObj));
    3478           0 :     msInitShape(self->query.shape);
    3479           0 :     msCopyShape(shape, self->query.shape);
    3480             : 
    3481           0 :     return msQueryByShape(self);
    3482             :   }
    3483             : SWIGINTERN int mapObj_setWKTProjection(struct mapObj *self,char *wkt){
    3484           0 :     return msOGCWKT2ProjectionObj(wkt, &(self->projection), self->debug);
    3485             :   }
    3486             : SWIGINTERN char *mapObj_getProjection(struct mapObj *self){
    3487           0 :     return msGetProjectionString(&(self->projection));
    3488             :   }
    3489             : SWIGINTERN int mapObj_setProjection(struct mapObj *self,char *proj4){
    3490           0 :     return msLoadProjectionString(&(self->projection), proj4);
    3491             :   }
    3492             : SWIGINTERN int mapObj_save(struct mapObj *self,char *filename){
    3493           0 :     return msSaveMap(self, filename);
    3494             :   }
    3495             : SWIGINTERN int mapObj_saveQuery(struct mapObj *self,char *filename,int results){
    3496           0 :     return msSaveQuery(self, filename, results);
    3497             :   }
    3498             : SWIGINTERN int mapObj_loadQuery(struct mapObj *self,char *filename){
    3499           0 :     return msLoadQuery(self, filename);
    3500             :   }
    3501             : SWIGINTERN void mapObj_freeQuery(struct mapObj *self,int qlayer){
    3502           0 :     msQueryFree(self, qlayer);
    3503             :   }
    3504             : SWIGINTERN int mapObj_saveQueryAsGML(struct mapObj *self,char *filename,char const *ns){
    3505           0 :     return msGMLWriteQuery(self, filename, ns);
    3506             :   }
    3507           0 : SWIGINTERN char *mapObj_getMetaData(struct mapObj *self,char *name){
    3508             :     char *value = NULL;
    3509           0 :     if (!name) {
    3510           0 :       msSetError(16, "NULL key", "getMetaData");
    3511             :     }
    3512             :      
    3513           0 :     value = (char *) msLookupHashTable(&(self->web.metadata), name);
    3514           0 :     if (!value) {
    3515           0 :       msSetError(16, "Key %s does not exist", "getMetaData", name);
    3516           0 :       return NULL;
    3517             :     }
    3518             :     return value;
    3519             :   }
    3520             : SWIGINTERN int mapObj_setMetaData(struct mapObj *self,char *name,char *value){
    3521           0 :     if (msInsertHashTable(&(self->web.metadata), name, value) == NULL)
    3522             :   return MS_FAILURE;
    3523             :     return MS_SUCCESS;
    3524             :   }
    3525             : SWIGINTERN int mapObj_removeMetaData(struct mapObj *self,char *name){
    3526           0 :     return(msRemoveHashTable(&(self->web.metadata), name));
    3527             :   }
    3528             : SWIGINTERN char *mapObj_getFirstMetaDataKey(struct mapObj *self){
    3529           0 :     return (char *) msFirstKeyFromHashTable(&(self->web.metadata));
    3530             :   }
    3531             : SWIGINTERN char *mapObj_getNextMetaDataKey(struct mapObj *self,char *lastkey){
    3532           0 :     return (char *) msNextKeyFromHashTable(&(self->web.metadata), lastkey);
    3533             :   }
    3534           0 : SWIGINTERN int mapObj_setSymbolSet(struct mapObj *self,char *szFileName){
    3535           0 :     msFreeSymbolSet(&self->symbolset);
    3536           0 :     msInitSymbolSet(&self->symbolset);
    3537             :    
    3538           0 :     self->symbolset.filename = msStrdup(szFileName);
    3539             : 
    3540             :     /* Symbolset shares same fontset as main mapfile */
    3541           0 :     self->symbolset.fontset = &(self->fontset);
    3542             : 
    3543           0 :     return msLoadSymbolSet(&self->symbolset, self);
    3544             :   }
    3545             : SWIGINTERN int mapObj_getNumSymbols(struct mapObj *self){
    3546             :     return self->symbolset.numsymbols;
    3547             :   }
    3548           0 : SWIGINTERN int mapObj_setFontSet(struct mapObj *self,char *filename){
    3549           0 :     msFreeFontSet(&(self->fontset));
    3550           0 :     msInitFontSet(&(self->fontset));
    3551             :    
    3552           0 :     self->fontset.filename = msStrdup(filename);
    3553             : 
    3554           0 :     return msLoadFontSet(&(self->fontset), self);
    3555             :   }
    3556             : SWIGINTERN int mapObj_saveMapContext(struct mapObj *self,char *szFileName){
    3557           0 :     return msSaveMapContext(self, szFileName);
    3558             :   }
    3559             : SWIGINTERN int mapObj_loadMapContext(struct mapObj *self,char *szFileName,int useUniqueNames){
    3560           0 :     return msLoadMapContext(self, szFileName, useUniqueNames);
    3561             :   }
    3562             : SWIGINTERN int mapObj_moveLayerUp(struct mapObj *self,int layerindex){
    3563           0 :     return msMoveLayerUp(self, layerindex);
    3564             :   }
    3565             : SWIGINTERN int mapObj_moveLayerDown(struct mapObj *self,int layerindex){
    3566           0 :     return msMoveLayerDown(self, layerindex);
    3567             :   }
    3568           0 : SWIGINTERN intarray *mapObj_getLayersDrawingOrder(struct mapObj *self){
    3569             :     int i;
    3570             :     intarray *order;
    3571           0 :     order = new_intarray(self->numlayers);
    3572           0 :     for (i=0; i<self->numlayers; i++)
    3573             :         
    3574             : 
    3575             : 
    3576           0 :         intarray_setitem(order, i, self->layerorder[i]);
    3577             :         
    3578           0 :     return order;
    3579             :   }
    3580             : SWIGINTERN int mapObj_setLayersDrawingOrder(struct mapObj *self,int *panIndexes){
    3581           0 :     return  msSetLayersdrawingOrder(self, panIndexes); 
    3582             :   }
    3583             : SWIGINTERN void mapObj_setConfigOption(struct mapObj *self,char *key,char *value){
    3584           0 :     msSetConfigOption(self,key,value);
    3585             :   }
    3586             : SWIGINTERN char *mapObj_getConfigOption(struct mapObj *self,char *key){
    3587           0 :     return (char *) msGetConfigOption(self,key);
    3588             :   }
    3589             : SWIGINTERN void mapObj_applyConfigOptions(struct mapObj *self){
    3590           0 :     msApplyMapConfigOptions( self );
    3591             :   }
    3592             : SWIGINTERN int mapObj_applySLD(struct mapObj *self,char *sld){
    3593           0 :       return msSLDApplySLD(self, sld, -1, NULL, NULL);
    3594             :     }
    3595             : SWIGINTERN int mapObj_applySLDURL(struct mapObj *self,char *sld){
    3596           0 :       return msSLDApplySLDURL(self, sld, -1, NULL, NULL);
    3597             :     }
    3598             : SWIGINTERN char *mapObj_generateSLD(struct mapObj *self){
    3599           0 :         return (char *) msSLDGenerateSLD(self, -1, NULL);
    3600             :     }
    3601             : SWIGINTERN char *mapObj_processTemplate(struct mapObj *self,int bGenerateImages,char **names,char **values,int numentries){
    3602           0 :         return msProcessTemplate(self, bGenerateImages, names, values,
    3603             :                                  numentries);
    3604             :     }
    3605             : SWIGINTERN char *mapObj_processLegendTemplate(struct mapObj *self,char **names,char **values,int numentries){
    3606           0 :         return msProcessLegendTemplate(self, names, values, numentries);
    3607             :     }
    3608             : SWIGINTERN char *mapObj_processQueryTemplate(struct mapObj *self,char **names,char **values,int numentries){
    3609           0 :         return msProcessQueryTemplate(self, 1, names, values, numentries);
    3610             :     }
    3611             : SWIGINTERN outputFormatObj *mapObj_getOutputFormatByName(struct mapObj *self,char *name){
    3612           0 :         return msSelectOutputFormat(self, name); 
    3613             :     }
    3614             : SWIGINTERN int mapObj_appendOutputFormat(struct mapObj *self,outputFormatObj *format){
    3615           0 :         return msAppendOutputFormat(self, format);
    3616             :     }
    3617             : SWIGINTERN int mapObj_removeOutputFormat(struct mapObj *self,char *name){
    3618           0 :         return msRemoveOutputFormat(self, name);
    3619             :     }
    3620             : SWIGINTERN int mapObj_loadOWSParameters(struct mapObj *self,cgiRequestObj *request,char *wmtver_string){
    3621           0 :         return msMapLoadOWSParameters(self, request, wmtver_string);
    3622             :     }
    3623             : SWIGINTERN int mapObj_OWSDispatch(struct mapObj *self,cgiRequestObj *req){
    3624           1 :   return msOWSDispatch( self, req, 1 );
    3625             :     }
    3626             : SWIGINTERN char *mapObj_convertToString(struct mapObj *self){
    3627           0 :         return msWriteMapToString(self);
    3628             :     }
    3629           0 : SWIGINTERN int mapObj_zoomPoint(struct mapObj *self,int zoomfactor,pointObj *poPixPos,int width,int height,rectObj *poGeorefExt,rectObj *poMaxGeorefExt){
    3630             :         double      dfGeoPosX, dfGeoPosY;
    3631             :         double      dfDeltaX, dfDeltaY;
    3632             :         rectObj     oNewGeorefExt;    
    3633             :         double      dfNewScale;
    3634             :         int         bMaxExtSet;
    3635             :         double      dfDeltaExt;
    3636             :         double dX, dY;
    3637             :         
    3638           0 :         dfNewScale = 0.0;
    3639             :         bMaxExtSet = 0;
    3640             :         dfDeltaExt = -1.0;
    3641             : 
    3642           0 :         if (poMaxGeorefExt != NULL) { bMaxExtSet = 1; }
    3643             : 
    3644             :         /* ----------------------------------------------------------- */
    3645             :         /*      check the validity of the parameters.                  */
    3646             :         /* ----------------------------------------------------------- */
    3647           0 :         if (zoomfactor == 0 || width <= 0 || height <= 0 || poGeorefExt == NULL || poPixPos == NULL) {
    3648           0 :             msSetError(12, "Incorrect arguments", "mapscript::mapObj::zoomPoint()");
    3649           0 :             return MS_FAILURE;
    3650             :         }
    3651             : 
    3652             :         /* ----------------------------------------------------------- */
    3653             :         /*      check if the values passed are consistent min > max.   */
    3654             :         /* ----------------------------------------------------------- */
    3655           0 :         if (poGeorefExt->minx >= poGeorefExt->maxx)  {
    3656           0 :             msSetError(12, "Georeferenced coordinates minx >= maxx",  "mapscript::mapObj::zoomPoint()");
    3657           0 :             return MS_FAILURE;
    3658             :         }
    3659           0 :         if (poGeorefExt->miny >= poGeorefExt->maxy)  {
    3660           0 :             msSetError(12, "Georeferenced coordinates miny >= maxy", "mapscript::mapObj::zoomPoint()");
    3661           0 :             return MS_FAILURE;
    3662             :         }
    3663             : 
    3664           0 :         if (bMaxExtSet == 1) {
    3665           0 :             if (poMaxGeorefExt->minx >= poMaxGeorefExt->maxx) {
    3666           0 :                 msSetError(12, "Max Georeferenced coordinates minx >= maxx", "mapscript::mapObj::zoomPoint()");
    3667           0 :                 return MS_FAILURE;
    3668             :             }
    3669           0 :             if (poMaxGeorefExt->miny >= poMaxGeorefExt->maxy) {
    3670           0 :                 msSetError(12, "Max Georeferenced coordinates miny >= maxy", "mapscript::mapObj::zoomPoint()");
    3671             :             }
    3672             :         }
    3673             :    
    3674           0 :         dfDeltaX = poGeorefExt->maxx - poGeorefExt->minx;
    3675           0 :         dfDeltaY = poGeorefExt->maxy - poGeorefExt->miny;
    3676           0 :         dX = dfDeltaX/((double)width);
    3677           0 :         dY = dfDeltaY/((double)height);
    3678           0 :         dfGeoPosX = poGeorefExt->minx + dX * (double)poPixPos->x;
    3679           0 :         dfGeoPosY = poGeorefExt->maxy - dY * (double)poPixPos->y;
    3680             :         
    3681             :         /* --- -------------------------------------------------------- */
    3682             :         /*      zoom in                                                 */
    3683             :         /* ------------------------------------------------------------ */
    3684           0 :         if (zoomfactor > 1) {
    3685           0 :             oNewGeorefExt.minx = dfGeoPosX - (dfDeltaX/(2*zoomfactor));        
    3686           0 :             oNewGeorefExt.miny = dfGeoPosY - (dfDeltaY/(2*zoomfactor));        
    3687           0 :             oNewGeorefExt.maxx = dfGeoPosX + (dfDeltaX/(2*zoomfactor));        
    3688           0 :             oNewGeorefExt.maxy = dfGeoPosY + (dfDeltaY/(2*zoomfactor));
    3689             :         }
    3690             : 
    3691           0 :         if (zoomfactor < 0) {
    3692           0 :             oNewGeorefExt.minx = dfGeoPosX - (dfDeltaX/2)*(abs(zoomfactor));    
    3693           0 :             oNewGeorefExt.miny = dfGeoPosY - (dfDeltaY/2)*(abs(zoomfactor));    
    3694           0 :             oNewGeorefExt.maxx = dfGeoPosX + (dfDeltaX/2)*(abs(zoomfactor));    
    3695           0 :             oNewGeorefExt.maxy = dfGeoPosY + (dfDeltaY/2)*(abs(zoomfactor));
    3696             :         }
    3697             : 
    3698           0 :         if (zoomfactor == 1) {
    3699           0 :             oNewGeorefExt.minx = dfGeoPosX - (dfDeltaX/2);
    3700           0 :             oNewGeorefExt.miny = dfGeoPosY - (dfDeltaY/2);
    3701           0 :             oNewGeorefExt.maxx = dfGeoPosX + (dfDeltaX/2);
    3702           0 :             oNewGeorefExt.maxy = dfGeoPosY + (dfDeltaY/2);
    3703             :         }
    3704             : 
    3705             :         /* ------------------------------------------------------------ */
    3706             :         /*   if the min and max scale are set in the map file, we will  */
    3707             :         /*   use them to test before zooming.                           */
    3708             :         /* ------------------------------------------------------------ */
    3709           0 :         msAdjustExtent(&oNewGeorefExt, self->width, self->height);
    3710           0 :         msCalculateScale(oNewGeorefExt, self->units, self->width, self->height, self->resolution, &dfNewScale);
    3711             :     
    3712           0 :         if (self->web.maxscaledenom > 0) {
    3713           0 :             if (zoomfactor < 0 && dfNewScale > self->web.maxscaledenom) {
    3714             :                 return MS_FAILURE;
    3715             :             }
    3716             :         }
    3717             : 
    3718             :         /* ============================================================ */
    3719             :         /*  we do a spcial case for zoom in : we try to zoom as much as */
    3720             :         /*  possible using the mincale set in the .map.                 */
    3721             :         /* ============================================================ */
    3722           0 :         if (self->web.minscaledenom > 0 && dfNewScale < self->web.minscaledenom && zoomfactor > 1) {
    3723             :             /* To be consistent in swig mapscript and PHP mapscript, 
    3724             :                use the same function to calculate the delta extents. */
    3725           0 :             dfDeltaExt = GetDeltaExtentsUsingScale(self->web.minscaledenom, self->units, dfGeoPosY, 
    3726             :                                                    self->width, self->resolution);
    3727             : 
    3728           0 :             if (dfDeltaExt > 0.0) {
    3729           0 :                 oNewGeorefExt.minx = dfGeoPosX - (dfDeltaExt/2);
    3730           0 :                 oNewGeorefExt.miny = dfGeoPosY - (dfDeltaExt/2);
    3731           0 :                 oNewGeorefExt.maxx = dfGeoPosX + (dfDeltaExt/2);
    3732           0 :                 oNewGeorefExt.maxy = dfGeoPosY + (dfDeltaExt/2);
    3733             :             } else
    3734             :                 return MS_FAILURE;
    3735             :         }
    3736             : 
    3737             :         /* ------------------------------------------------------------ */
    3738             :         /*  If the buffer is set, make sure that the extents do not go  */
    3739             :         /*  beyond the buffer.                                          */
    3740             :         /* ------------------------------------------------------------ */
    3741           0 :         if (bMaxExtSet) {
    3742           0 :             dfDeltaX = oNewGeorefExt.maxx - oNewGeorefExt.minx;
    3743           0 :             dfDeltaY = oNewGeorefExt.maxy - oNewGeorefExt.miny;
    3744             :         
    3745             :             /* Make sure Current georef extents is not bigger than 
    3746             :              * max extents */
    3747           0 :             if (dfDeltaX > (poMaxGeorefExt->maxx-poMaxGeorefExt->minx))
    3748             :                 dfDeltaX = poMaxGeorefExt->maxx-poMaxGeorefExt->minx;
    3749           0 :             if (dfDeltaY > (poMaxGeorefExt->maxy-poMaxGeorefExt->miny))
    3750             :                 dfDeltaY = poMaxGeorefExt->maxy-poMaxGeorefExt->miny;
    3751             : 
    3752           0 :             if (oNewGeorefExt.minx < poMaxGeorefExt->minx) {
    3753           0 :                 oNewGeorefExt.minx = poMaxGeorefExt->minx;
    3754           0 :                 oNewGeorefExt.maxx =  oNewGeorefExt.minx + dfDeltaX;
    3755             :             }
    3756           0 :             if (oNewGeorefExt.maxx > poMaxGeorefExt->maxx) {
    3757           0 :                 oNewGeorefExt.maxx = poMaxGeorefExt->maxx;
    3758           0 :                 oNewGeorefExt.minx = oNewGeorefExt.maxx - dfDeltaX;
    3759             :             }
    3760           0 :             if (oNewGeorefExt.miny < poMaxGeorefExt->miny) {
    3761           0 :                 oNewGeorefExt.miny = poMaxGeorefExt->miny;
    3762           0 :                 oNewGeorefExt.maxy =  oNewGeorefExt.miny + dfDeltaY;
    3763             :             }
    3764           0 :             if (oNewGeorefExt.maxy > poMaxGeorefExt->maxy) {
    3765           0 :                 oNewGeorefExt.maxy = poMaxGeorefExt->maxy;
    3766           0 :                 oNewGeorefExt.miny = oNewGeorefExt.maxy - dfDeltaY;
    3767             :             }
    3768             :         }
    3769             :     
    3770             :         /* ------------------------------------------------------------ */
    3771             :         /*      set the map extents with new values.                    */
    3772             :         /* ------------------------------------------------------------ */
    3773           0 :         self->extent.minx = oNewGeorefExt.minx;
    3774           0 :         self->extent.miny = oNewGeorefExt.miny;
    3775           0 :         self->extent.maxx = oNewGeorefExt.maxx;
    3776           0 :         self->extent.maxy = oNewGeorefExt.maxy;
    3777             :     
    3778           0 :         self->cellsize = msAdjustExtent(&(self->extent), self->width, self->height);      
    3779           0 :         dfDeltaX = self->extent.maxx - self->extent.minx;
    3780           0 :         dfDeltaY = self->extent.maxy - self->extent.miny; 
    3781             : 
    3782           0 :         if (bMaxExtSet) {
    3783           0 :             if (self->extent.minx < poMaxGeorefExt->minx) {
    3784           0 :                 self->extent.minx = poMaxGeorefExt->minx;
    3785           0 :                 self->extent.maxx = self->extent.minx + dfDeltaX;
    3786             :             }
    3787           0 :             if (self->extent.maxx > poMaxGeorefExt->maxx) {
    3788           0 :                 self->extent.maxx = poMaxGeorefExt->maxx;
    3789           0 :                 oNewGeorefExt.minx = oNewGeorefExt.maxx - dfDeltaX;
    3790             :             }
    3791           0 :             if (self->extent.miny < poMaxGeorefExt->miny) {
    3792           0 :                 self->extent.miny = poMaxGeorefExt->miny;
    3793           0 :                 self->extent.maxy =  self->extent.miny + dfDeltaY;
    3794             :             }
    3795           0 :             if (self->extent.maxy > poMaxGeorefExt->maxy) {
    3796           0 :                 self->extent.maxy = poMaxGeorefExt->maxy;
    3797           0 :                 oNewGeorefExt.miny = oNewGeorefExt.maxy - dfDeltaY;
    3798             :             }
    3799             :         }
    3800             :     
    3801           0 :         msCalculateScale(self->extent, self->units, self->width, self->height, self->resolution, &(self->scaledenom));
    3802             : 
    3803           0 :         return MS_SUCCESS;
    3804             :     }
    3805           0 : SWIGINTERN int mapObj_zoomRectangle(struct mapObj *self,rectObj *poPixRect,int width,int height,rectObj *poGeorefExt,rectObj *poMaxGeorefExt){
    3806             :         double      dfDeltaX, dfDeltaY;
    3807             :         rectObj     oNewGeorefExt;    
    3808             :         double      dfNewScale;
    3809             :         double      dfDeltaExt;
    3810             :         double dfMiddleX, dfMiddleY;
    3811             :         int bMaxExtSet;
    3812             :         
    3813             :         bMaxExtSet = 0;
    3814           0 :         dfNewScale = 0.0;
    3815             :         dfDeltaExt = -1.0;
    3816             : 
    3817           0 :         if (poMaxGeorefExt != NULL) bMaxExtSet = 1;
    3818             : 
    3819             :         /* ----------------------------------------------------------- */
    3820             :         /*      check the validity of the parameters.                  */
    3821             :         /* ----------------------------------------------------------- */
    3822           0 :         if (poPixRect == 0 || width <= 0 || height <= 0 || poGeorefExt == NULL) {
    3823           0 :             msSetError(12, "Incorrect arguments", "mapscript::mapObj::zoomRectangle");
    3824           0 :             return MS_FAILURE;
    3825             :         }
    3826             : 
    3827             :         /* ----------------------------------------------------------- */
    3828             :         /*      check if the values passed are consistent min <= max.   */
    3829             :         /* ----------------------------------------------------------- */
    3830           0 :         if (poPixRect->minx >= poPixRect->maxx) {
    3831           0 :             msSetError(12, "image rectangle minx >= maxx", "mapscript::mapObj::zoomRectangle()");
    3832           0 :             return MS_FAILURE;
    3833             :         }
    3834             :         /* This is not a typo: "maxx >= minx". For historical reason, we
    3835             :          * keep this as it is. See documentation for more info about this check. */
    3836           0 :         if (poPixRect->maxy >= poPixRect->miny) {
    3837           0 :             msSetError(12, "image rectangle maxy >= miny", "mapscript::mapObj::zoomRectangle()");
    3838           0 :             return MS_FAILURE;
    3839             :         }
    3840             : 
    3841           0 :         if (poGeorefExt->minx >= poGeorefExt->maxx) {
    3842           0 :             msSetError(12, "Georeferenced coordinates minx >= maxx", "mapscript::mapObj::zoomRectangle()");
    3843           0 :             return MS_FAILURE;
    3844             :         }
    3845           0 :         if (poGeorefExt->miny >= poGeorefExt->maxy) {
    3846           0 :             msSetError(12, "Georeferenced coordinates miny >= maxy", "mapscript::mapObj::zoomRectangle()");
    3847           0 :             return MS_FAILURE;
    3848             :         }
    3849             : 
    3850           0 :         if (bMaxExtSet == 1) {
    3851           0 :             if (poMaxGeorefExt->minx >= poMaxGeorefExt->maxx) {
    3852           0 :                 msSetError(12,  "Max Georeferenced coordinates minx >= maxx", "mapscript::mapObj::zoomRectangle()");
    3853           0 :                 return MS_FAILURE;
    3854             :             }
    3855           0 :             if (poMaxGeorefExt->miny >= poMaxGeorefExt->maxy) {
    3856           0 :                 msSetError(12, "Max Georeferenced coordinates miny >= maxy", "mapscript::mapObj::zoomRectangle()");
    3857           0 :                 return MS_FAILURE;
    3858             :             }
    3859             :         }
    3860             : 
    3861             :   
    3862             :         /* ----------------------------------------------------------- */
    3863             :         /*   Convert pixel rectangle to georeferenced rectangle        */
    3864             :         /* ----------------------------------------------------------- */
    3865             :         
    3866             :         dfDeltaX = poGeorefExt->maxx - poGeorefExt->minx;
    3867             :         dfDeltaY = poGeorefExt->maxy - poGeorefExt->miny;
    3868             : 
    3869           0 :         oNewGeorefExt.minx = Pix2Georef((int)poPixRect->minx, 0, width, poGeorefExt->minx, poGeorefExt->maxx, 0); 
    3870           0 :         oNewGeorefExt.maxx = Pix2Georef((int)poPixRect->maxx, 0, width, poGeorefExt->minx, poGeorefExt->maxx, 0); 
    3871           0 :         oNewGeorefExt.miny = Pix2Georef((int)poPixRect->miny, 0, height, poGeorefExt->miny, poGeorefExt->maxy, 1); 
    3872           0 :         oNewGeorefExt.maxy = Pix2Georef((int)poPixRect->maxy, 0, height, poGeorefExt->miny, poGeorefExt->maxy, 1); 
    3873             : 
    3874           0 :         msAdjustExtent(&oNewGeorefExt, self->width, self->height);
    3875             : 
    3876             :         /* ------------------------------------------------------------ */
    3877             :         /*   if the min and max scale are set in the map file, we will  */
    3878             :         /*   use them to test before setting extents.                   */
    3879             :         /* ------------------------------------------------------------ */
    3880           0 :         msCalculateScale(oNewGeorefExt, self->units, self->width, self->height, self->resolution, &dfNewScale);
    3881             : 
    3882           0 :         if (self->web.maxscaledenom > 0 &&  dfNewScale > self->web.maxscaledenom)
    3883             :             return MS_FAILURE;
    3884             : 
    3885           0 :         if (self->web.minscaledenom > 0 && dfNewScale <  self->web.minscaledenom) {
    3886           0 :             dfMiddleX = oNewGeorefExt.minx + ((oNewGeorefExt.maxx - oNewGeorefExt.minx)/2);
    3887           0 :             dfMiddleY = oNewGeorefExt.miny + ((oNewGeorefExt.maxy - oNewGeorefExt.miny)/2);
    3888             : 
    3889             :             /* To be consistent in swig mapscript and PHP mapscript, 
    3890             :                use the same function to calculate the delta extents. */
    3891           0 :             dfDeltaExt = GetDeltaExtentsUsingScale(self->web.minscaledenom, self->units, dfMiddleY, self->width, self->resolution);
    3892             : 
    3893           0 :             if (dfDeltaExt > 0.0) {
    3894           0 :                 oNewGeorefExt.minx = dfMiddleX - (dfDeltaExt/2);
    3895           0 :                 oNewGeorefExt.miny = dfMiddleY - (dfDeltaExt/2);
    3896           0 :                 oNewGeorefExt.maxx = dfMiddleX + (dfDeltaExt/2);
    3897           0 :                 oNewGeorefExt.maxy = dfMiddleY + (dfDeltaExt/2);
    3898             :             } else
    3899             :                 return MS_FAILURE;
    3900             :         }
    3901             : 
    3902             :         /* ------------------------------------------------------------ */
    3903             :         /*  If the buffer is set, make sure that the extents do not go  */
    3904             :         /*  beyond the buffer.                                          */
    3905             :         /* ------------------------------------------------------------ */
    3906           0 :         if (bMaxExtSet) {
    3907           0 :             dfDeltaX = oNewGeorefExt.maxx - oNewGeorefExt.minx;
    3908           0 :             dfDeltaY = oNewGeorefExt.maxy - oNewGeorefExt.miny;
    3909             :         
    3910             :             /* Make sure Current georef extents is not bigger 
    3911             :              * than max extents */
    3912           0 :             if (dfDeltaX > (poMaxGeorefExt->maxx-poMaxGeorefExt->minx))
    3913             :                 dfDeltaX = poMaxGeorefExt->maxx-poMaxGeorefExt->minx;
    3914           0 :             if (dfDeltaY > (poMaxGeorefExt->maxy-poMaxGeorefExt->miny))
    3915             :                 dfDeltaY = poMaxGeorefExt->maxy-poMaxGeorefExt->miny;
    3916             : 
    3917           0 :             if (oNewGeorefExt.minx < poMaxGeorefExt->minx) {
    3918           0 :                 oNewGeorefExt.minx = poMaxGeorefExt->minx;
    3919           0 :                 oNewGeorefExt.maxx =  oNewGeorefExt.minx + dfDeltaX;
    3920             :             }
    3921           0 :             if (oNewGeorefExt.maxx > poMaxGeorefExt->maxx) {
    3922           0 :                 oNewGeorefExt.maxx = poMaxGeorefExt->maxx;
    3923           0 :                 oNewGeorefExt.minx = oNewGeorefExt.maxx - dfDeltaX;
    3924             :             }
    3925           0 :             if (oNewGeorefExt.miny < poMaxGeorefExt->miny) {
    3926           0 :                 oNewGeorefExt.miny = poMaxGeorefExt->miny;
    3927           0 :                 oNewGeorefExt.maxy =  oNewGeorefExt.miny + dfDeltaY;
    3928             :             }
    3929           0 :             if (oNewGeorefExt.maxy > poMaxGeorefExt->maxy) {
    3930           0 :                 oNewGeorefExt.maxy = poMaxGeorefExt->maxy;
    3931           0 :                 oNewGeorefExt.miny = oNewGeorefExt.maxy - dfDeltaY;
    3932             :             }
    3933             :         }
    3934             : 
    3935           0 :         self->extent.minx = oNewGeorefExt.minx;
    3936           0 :         self->extent.miny = oNewGeorefExt.miny;
    3937           0 :         self->extent.maxx = oNewGeorefExt.maxx;
    3938           0 :         self->extent.maxy = oNewGeorefExt.maxy;
    3939             : 
    3940           0 :         self->cellsize = msAdjustExtent(&(self->extent), self->width, self->height);    
    3941           0 :         dfDeltaX = self->extent.maxx - self->extent.minx;
    3942           0 :         dfDeltaY = self->extent.maxy - self->extent.miny; 
    3943             : 
    3944           0 :         if (bMaxExtSet) {
    3945           0 :             if (self->extent.minx < poMaxGeorefExt->minx) {
    3946           0 :                 self->extent.minx = poMaxGeorefExt->minx;
    3947           0 :                 self->extent.maxx = self->extent.minx + dfDeltaX;
    3948             :             }
    3949           0 :             if (self->extent.maxx > poMaxGeorefExt->maxx) {
    3950           0 :                 self->extent.maxx = poMaxGeorefExt->maxx;
    3951           0 :                 oNewGeorefExt.minx = oNewGeorefExt.maxx - dfDeltaX;
    3952             :             }
    3953           0 :             if (self->extent.miny < poMaxGeorefExt->miny) {
    3954           0 :                 self->extent.miny = poMaxGeorefExt->miny;
    3955           0 :                 self->extent.maxy =  self->extent.miny + dfDeltaY;
    3956             :             }
    3957           0 :             if (self->extent.maxy > poMaxGeorefExt->maxy) {
    3958           0 :                 self->extent.maxy = poMaxGeorefExt->maxy;
    3959           0 :                 oNewGeorefExt.miny = oNewGeorefExt.maxy - dfDeltaY;
    3960             :             }
    3961             :         }
    3962             : 
    3963           0 :         msCalculateScale(self->extent, self->units, self->width,  self->height, self->resolution, &(self->scaledenom));
    3964             : 
    3965           0 :         return MS_SUCCESS;
    3966             :     }
    3967           0 : SWIGINTERN int mapObj_zoomScale(struct mapObj *self,double scale,pointObj *poPixPos,int width,int height,rectObj *poGeorefExt,rectObj *poMaxGeorefExt){
    3968             :         double      dfGeoPosX, dfGeoPosY;
    3969             :         double      dfDeltaX, dfDeltaY;
    3970             :         rectObj     oNewGeorefExt;    
    3971             :         double      dfNewScale, dfCurrentScale;
    3972             :         int         bMaxExtSet;
    3973             :         int nTmp;
    3974             :         double      dfDeltaExt;
    3975             :         double dX, dY;
    3976             :         
    3977           0 :         dfNewScale = 0.0;
    3978           0 :         dfCurrentScale = 0.0;
    3979             :         nTmp = 0;
    3980             :         bMaxExtSet = 0;
    3981             :         dfDeltaExt = -1.0;
    3982             : 
    3983           0 :         if (poMaxGeorefExt != NULL) { bMaxExtSet = 1; }
    3984             : 
    3985             :         /* ----------------------------------------------------------- */
    3986             :         /*      check the validity of the parameters.                  */
    3987             :         /* ----------------------------------------------------------- */
    3988           0 :         if (scale <= 0.0 || width <= 0 || height <= 0 || poGeorefExt == NULL || poPixPos == NULL ) {
    3989           0 :             msSetError(12, "Incorrect arguments", "mapscript::mapObj::zoomScale");
    3990           0 :             return MS_FAILURE;
    3991             :         }
    3992             : 
    3993             :         /* ----------------------------------------------------------- */
    3994             :         /*      check if the values passed are consistent min > max.   */
    3995             :         /* ----------------------------------------------------------- */
    3996           0 :         if (poGeorefExt->minx >= poGeorefExt->maxx) {
    3997           0 :             msSetError(12, "Georeferenced coordinates minx >= maxx", "mapscript::mapObj::zoomScale()");
    3998           0 :             return MS_FAILURE;
    3999             :         }
    4000           0 :         if (poGeorefExt->miny >= poGeorefExt->maxy) {
    4001           0 :             msSetError(12, "Georeferenced coordinates miny >= maxy", "mapscript::mapObj::zoomScale()");
    4002           0 :             return MS_FAILURE;
    4003             :         }
    4004             : 
    4005           0 :         if (bMaxExtSet == 1) {
    4006           0 :             if (poMaxGeorefExt->minx >= poMaxGeorefExt->maxx) {
    4007           0 :                 msSetError(12, "Max Georeferenced coordinates minx >= maxx", "mapscript::mapObj::zoomScale()");
    4008           0 :                 return MS_FAILURE;
    4009             :             }
    4010           0 :             if (poMaxGeorefExt->miny >= poMaxGeorefExt->maxy) {
    4011           0 :                 msSetError(12,  "Max Georeferenced coordinates miny >= maxy", "mapscript::mapObj::zoomScale()");
    4012             :             }
    4013             :         }
    4014             :    
    4015           0 :         dfDeltaX = poGeorefExt->maxx - poGeorefExt->minx;
    4016           0 :         dfDeltaY = poGeorefExt->maxy - poGeorefExt->miny;
    4017           0 :         dX = dfDeltaX/((double)width);
    4018           0 :         dY = dfDeltaY/((double)height);
    4019           0 :         dfGeoPosX = poGeorefExt->minx + dX * (double)poPixPos->x;
    4020           0 :         dfGeoPosY = poGeorefExt->maxy - dY * (double)poPixPos->y;
    4021             :         
    4022             :         /* ------------------------------------------------------------ */
    4023             :         /*  Calculate new extents based on the scale.                   */
    4024             :         /* ------------------------------------------------------------ */
    4025             : 
    4026             :         /* ============================================================ */
    4027             :         /*  make sure to take the smallest size because this is the one */
    4028             :         /*  that will be used to ajust the scale.                       */
    4029             :         /* ============================================================ */
    4030             : 
    4031           0 :         if (self->width <  self->height)
    4032             :             nTmp = self->width;
    4033             :         else
    4034             :             nTmp = self->height;
    4035             : 
    4036             :         /* To be consistent in swig mapscript and PHP mapscript, 
    4037             :            use the same function to calculate the delta extents. */
    4038           0 :         dfDeltaExt = GetDeltaExtentsUsingScale(scale, self->units, dfGeoPosY, nTmp, self->resolution);
    4039             : 
    4040           0 :         if (dfDeltaExt > 0.0) {
    4041           0 :             oNewGeorefExt.minx = dfGeoPosX - (dfDeltaExt/2);
    4042           0 :             oNewGeorefExt.miny = dfGeoPosY - (dfDeltaExt/2);
    4043           0 :             oNewGeorefExt.maxx = dfGeoPosX + (dfDeltaExt/2);
    4044           0 :             oNewGeorefExt.maxy = dfGeoPosY + (dfDeltaExt/2);
    4045             :         } else
    4046             :             return MS_FAILURE;
    4047             : 
    4048             :         /* ------------------------------------------------------------ */
    4049             :         /*   get current scale.                                         */
    4050             :         /* ------------------------------------------------------------ */
    4051           0 :         msCalculateScale(*poGeorefExt, self->units, self->width, self->height, self->resolution, &dfCurrentScale);
    4052             : 
    4053             :         /* ------------------------------------------------------------ *
    4054             :          *   if the min and max scale are set in the map file, we will  *
    4055             :          *   use them to test before zooming.                           *
    4056             :          *                                                              *
    4057             :          *   This function has the same effect as zoomin or zoom out.
    4058             :          *   If the current scale is > newscale we zoom in; else it is
    4059             :          *   a zoom out.
    4060             :          * ------------------------------------------------------------ */
    4061           0 :         msAdjustExtent(&oNewGeorefExt, self->width, self->height);
    4062           0 :         msCalculateScale(oNewGeorefExt, self->units, self->width, self->height, self->resolution, &dfNewScale);
    4063             : 
    4064           0 :         if (self->web.maxscaledenom > 0) {
    4065           0 :             if (dfCurrentScale < dfNewScale && dfNewScale >  self->web.maxscaledenom) {
    4066             :                 return MS_FAILURE;
    4067             :             }
    4068             :         }
    4069             : 
    4070             :         /* ============================================================ */
    4071             :         /* we do a special case for zoom in : we try to zoom as much as */
    4072             :         /* possible using the mincale set in the .map.                  */
    4073             :         /* ============================================================ */
    4074           0 :         if (self->web.minscaledenom > 0 && dfNewScale <  self->web.minscaledenom && dfCurrentScale > dfNewScale) {
    4075             :             /* To be consistent in swig mapscript and PHP mapscript, 
    4076             :                use the same function to calculate the delta extents. */
    4077           0 :             dfDeltaExt = GetDeltaExtentsUsingScale(scale, self->units, dfGeoPosY, nTmp, self->resolution);
    4078           0 :             if (dfDeltaExt > 0.0) {
    4079           0 :                 oNewGeorefExt.minx = dfGeoPosX - (dfDeltaExt/2);
    4080           0 :                 oNewGeorefExt.miny = dfGeoPosY - (dfDeltaExt/2);
    4081           0 :                 oNewGeorefExt.maxx = dfGeoPosX + (dfDeltaExt/2);
    4082           0 :                 oNewGeorefExt.maxy = dfGeoPosY + (dfDeltaExt/2);
    4083             :             } else
    4084             :                 return MS_FAILURE;
    4085             :         }
    4086             : 
    4087             :         /* ------------------------------------------------------------ */
    4088             :         /*  If the buffer is set, make sure that the extents do not go  */
    4089             :         /*  beyond the buffer.                                          */
    4090             :         /* ------------------------------------------------------------ */
    4091           0 :         if (bMaxExtSet) {
    4092           0 :             dfDeltaX = oNewGeorefExt.maxx - oNewGeorefExt.minx;
    4093           0 :             dfDeltaY = oNewGeorefExt.maxy - oNewGeorefExt.miny;
    4094             :         
    4095             :             /* Make sure Current georef extents is not bigger 
    4096             :              * than max extents */
    4097           0 :             if (dfDeltaX > (poMaxGeorefExt->maxx-poMaxGeorefExt->minx))
    4098             :                 dfDeltaX = poMaxGeorefExt->maxx-poMaxGeorefExt->minx;
    4099           0 :             if (dfDeltaY > (poMaxGeorefExt->maxy-poMaxGeorefExt->miny))
    4100             :                 dfDeltaY = poMaxGeorefExt->maxy-poMaxGeorefExt->miny;
    4101             : 
    4102           0 :             if (oNewGeorefExt.minx < poMaxGeorefExt->minx) {
    4103           0 :                 oNewGeorefExt.minx = poMaxGeorefExt->minx;
    4104           0 :                 oNewGeorefExt.maxx =  oNewGeorefExt.minx + dfDeltaX;
    4105             :             }
    4106           0 :             if (oNewGeorefExt.maxx > poMaxGeorefExt->maxx) {
    4107           0 :                 oNewGeorefExt.maxx = poMaxGeorefExt->maxx;
    4108           0 :                 oNewGeorefExt.minx = oNewGeorefExt.maxx - dfDeltaX;
    4109             :             }
    4110           0 :             if (oNewGeorefExt.miny < poMaxGeorefExt->miny) {
    4111           0 :                 oNewGeorefExt.miny = poMaxGeorefExt->miny;
    4112           0 :                 oNewGeorefExt.maxy =  oNewGeorefExt.miny + dfDeltaY;
    4113             :             }
    4114           0 :             if (oNewGeorefExt.maxy > poMaxGeorefExt->maxy) {
    4115           0 :                 oNewGeorefExt.maxy = poMaxGeorefExt->maxy;
    4116           0 :                 oNewGeorefExt.miny = oNewGeorefExt.maxy - dfDeltaY;
    4117             :             }
    4118             :         }
    4119             : 
    4120           0 :         self->extent.minx = oNewGeorefExt.minx;
    4121           0 :         self->extent.miny = oNewGeorefExt.miny;
    4122           0 :         self->extent.maxx = oNewGeorefExt.maxx;
    4123           0 :         self->extent.maxy = oNewGeorefExt.maxy;
    4124             :     
    4125           0 :         self->cellsize = msAdjustExtent(&(self->extent), self->width, self->height);    
    4126           0 :         dfDeltaX = self->extent.maxx - self->extent.minx;
    4127           0 :         dfDeltaY = self->extent.maxy - self->extent.miny; 
    4128             : 
    4129           0 :         if (bMaxExtSet) {
    4130           0 :             if (self->extent.minx < poMaxGeorefExt->minx) {
    4131           0 :                 self->extent.minx = poMaxGeorefExt->minx;
    4132           0 :                 self->extent.maxx = self->extent.minx + dfDeltaX;
    4133             :             }
    4134           0 :             if (self->extent.maxx > poMaxGeorefExt->maxx) {
    4135           0 :                 self->extent.maxx = poMaxGeorefExt->maxx;
    4136           0 :                 oNewGeorefExt.minx = oNewGeorefExt.maxx - dfDeltaX;
    4137             :             }
    4138           0 :             if (self->extent.miny < poMaxGeorefExt->miny) {
    4139           0 :                 self->extent.miny = poMaxGeorefExt->miny;
    4140           0 :                 self->extent.maxy =  self->extent.miny + dfDeltaY;
    4141             :             }
    4142           0 :             if (self->extent.maxy > poMaxGeorefExt->maxy) {
    4143           0 :                 self->extent.maxy = poMaxGeorefExt->maxy;
    4144           0 :                 oNewGeorefExt.miny = oNewGeorefExt.maxy - dfDeltaY;
    4145             :             }
    4146             :         }
    4147             : 
    4148           0 :         msCalculateScale(self->extent, self->units, self->width, self->height, self->resolution, &(self->scaledenom));
    4149             : 
    4150           0 :         return MS_SUCCESS;
    4151             :     }
    4152           0 : SWIGINTERN rectObj *new_rectObj(double minx,double miny,double maxx,double maxy,int imageunits){  
    4153             :         rectObj *rect;
    4154             :     
    4155           0 :         if (imageunits == 0)
    4156             :         { 
    4157           0 :             if (minx > maxx || miny > maxy)
    4158             :             {
    4159           0 :                 msSetError(34,
    4160             :                     "{ 'minx': %f , 'miny': %f , 'maxx': %f , 'maxy': %f }",
    4161             :                     "rectObj()", minx, miny, maxx, maxy);
    4162           0 :                 return NULL;
    4163             :             }
    4164             :         }
    4165             :         else 
    4166             :         {
    4167           0 :             if (minx > maxx || maxy > miny) 
    4168             :             {
    4169           0 :                 msSetError(34,
    4170             :                     "image (pixel/line) units { 'minx': %f , 'miny': %f , 'maxx': %f , 'maxy': %f }",
    4171             :                     "rectObj()", minx, miny, maxx, maxy);
    4172           0 :                 return NULL;
    4173             :             }
    4174             :         }
    4175             :     
    4176           0 :         rect = (rectObj *)calloc(1, sizeof(rectObj));
    4177           0 :         if (!rect)
    4178             :             return(NULL);
    4179             :     
    4180           0 :         rect->minx = minx;
    4181           0 :         rect->miny = miny;
    4182           0 :         rect->maxx = maxx;
    4183           0 :         rect->maxy = maxy;
    4184             : 
    4185           0 :         return(rect);     
    4186             :     }
    4187             : SWIGINTERN void delete_rectObj(rectObj *self){
    4188           0 :         free(self);
    4189             :     }
    4190             : SWIGINTERN int rectObj_project(rectObj *self,projectionObj *projin,projectionObj *projout){
    4191           0 :         return msProjectRect(projin, projout, self);
    4192             :     }
    4193             : SWIGINTERN double rectObj_fit(rectObj *self,int width,int height){
    4194           0 :         return  msAdjustExtent(self, width, height);
    4195             :     }
    4196           0 : SWIGINTERN int rectObj_draw(rectObj *self,mapObj *map,layerObj *layer,imageObj *image,int classindex,char *text){
    4197             :         shapeObj shape;
    4198             :         int ret;
    4199             : 
    4200           0 :         msInitShape(&shape);
    4201           0 :         msRectToPolygon(*self, &shape);
    4202           0 :         shape.classindex = classindex;
    4203           0 :         if(text && layer->class[classindex]->numlabels > 0) {
    4204           0 :           shape.text = msStrdup(text);
    4205             :         }
    4206             :         
    4207           0 :         ret = msDrawShape(map, layer, &shape, image, -1, MS_DRAWMODE_FEATURES|MS_DRAWMODE_LABELS);
    4208             : 
    4209           0 :         msFreeShape(&shape);
    4210             :     
    4211           0 :         return ret;
    4212             :     }
    4213           0 : SWIGINTERN pointObj *rectObj_getCenter(rectObj *self){
    4214             :     pointObj *center;
    4215           0 :         center = (pointObj *)calloc(1, sizeof(pointObj));
    4216           0 :         if (!center) {
    4217           0 :             msSetError(2, "Failed to allocate memory for point", "getCenter()");
    4218           0 :             return NULL;
    4219             :         }
    4220           0 :         center->x = (self->minx + self->maxx)/2;
    4221           0 :         center->y = (self->miny + self->maxy)/2;
    4222             :         
    4223           0 :         return center;
    4224             :     }
    4225           0 : SWIGINTERN shapeObj *rectObj_toPolygon(rectObj *self){
    4226           0 :         lineObj line = {0,NULL};
    4227             :         shapeObj *shape;
    4228           0 :         shape = (shapeObj *)malloc(sizeof(shapeObj));
    4229           0 :         if (!shape)
    4230             :             return NULL;
    4231           0 :         msInitShape(shape);
    4232           0 :         shape->type = MS_SHAPE_POLYGON;
    4233             :   
    4234           0 :         line.point = (pointObj *)malloc(sizeof(pointObj)*5);
    4235           0 :         line.point[0].x = self->minx;
    4236           0 :         line.point[0].y = self->miny;
    4237           0 :         line.point[1].x = self->minx;
    4238           0 :         line.point[1].y = self->maxy;
    4239           0 :         line.point[2].x = self->maxx;
    4240           0 :         line.point[2].y = self->maxy;
    4241           0 :         line.point[3].x = self->maxx;
    4242           0 :         line.point[3].y = self->miny;
    4243           0 :         line.point[4].x = line.point[0].x;
    4244           0 :         line.point[4].y = line.point[0].y;
    4245             :   
    4246           0 :         line.numpoints = 5;
    4247             :   
    4248           0 :         msAddLine(shape, &line);
    4249           0 :         msComputeBounds(shape);
    4250             :         
    4251           0 :         free(line.point);
    4252             : 
    4253           0 :         return shape;
    4254             :     }
    4255           0 : SWIGINTERN char *rectObj_toString(rectObj *self){
    4256             :         char buffer[256];
    4257           0 :         char fmt[]="{ 'minx': %.16g , 'miny': %.16g , 'maxx': %.16g , 'maxy': %.16g }";
    4258           0 :         msRectToFormattedString(self, (char *) &fmt, (char *) &buffer, 256);
    4259           0 :         return msStrdup(buffer);
    4260             :     }
    4261             : SWIGINTERN pointObj *new_pointObj(double x,double y,double z,double m){
    4262             :         pointObj *p;
    4263           0 :         p = (pointObj *)calloc(1,sizeof(pointObj));
    4264           0 :         if (!p) return NULL;
    4265           0 :         p->x = x;
    4266           0 :         p->y = y;
    4267             : 
    4268             : 
    4269             : 
    4270             : 
    4271             :         return p;
    4272             :     }
    4273             : SWIGINTERN void delete_pointObj(pointObj *self){
    4274           0 :         free(self);
    4275             :     }
    4276             : SWIGINTERN int pointObj_project(pointObj *self,projectionObj *projin,projectionObj *projout){
    4277           0 :         return msProjectPoint(projin, projout, self);
    4278             :     }
    4279             : SWIGINTERN int pointObj_draw(pointObj *self,mapObj *map,layerObj *layer,imageObj *image,int classindex,char *text){
    4280           0 :         return msDrawPoint(map, layer, self, image, classindex, text);
    4281             :     }
    4282             : SWIGINTERN double pointObj_distanceToPoint(pointObj *self,pointObj *point){
    4283           0 :         return msDistancePointToPoint(self, point);
    4284             :     }
    4285             : SWIGINTERN double pointObj_distanceToSegment(pointObj *self,pointObj *a,pointObj *b){
    4286           1 :         return msDistancePointToSegment(self, a, b);
    4287             :     }
    4288             : SWIGINTERN double pointObj_distanceToShape(pointObj *self,shapeObj *shape){
    4289           0 :         return msDistancePointToShape(self, shape);
    4290             :     }
    4291             : SWIGINTERN int pointObj_setXY(pointObj *self,double x,double y,double m){
    4292           0 :         self->x = x;
    4293           0 :         self->y = y;
    4294             : 
    4295             : 
    4296             : 
    4297             : 
    4298             :   
    4299             :         return MS_SUCCESS;
    4300             :     }
    4301             : SWIGINTERN int pointObj_setXYZ(pointObj *self,double x,double y,double z,double m){
    4302           0 :         self->x = x;
    4303           0 :         self->y = y;
    4304             : 
    4305             : 
    4306             : 
    4307             : 
    4308             :         return MS_SUCCESS;
    4309             :     }
    4310             : SWIGINTERN int pointObj_setXYZM(pointObj *self,double x,double y,double z,double m){
    4311           0 :         self->x = x;
    4312           0 :         self->y = y;
    4313             : 
    4314             : 
    4315             : 
    4316             : 
    4317             :         return MS_SUCCESS;
    4318             :     }
    4319           0 : SWIGINTERN char *pointObj_toString(pointObj *self){
    4320             :         char buffer[256];
    4321             :         const char *fmt;
    4322             : 
    4323             : 
    4324             : 
    4325             : 
    4326             : 
    4327             : 
    4328             : 
    4329             :         fmt = "{ 'x': %.16g, 'y': %.16g }";
    4330             : 
    4331             :   
    4332           0 :         msPointToFormattedString(self, fmt, (char *) &buffer, 256);
    4333           0 :         return msStrdup(buffer);
    4334             :     }
    4335           0 : SWIGINTERN shapeObj *pointObj_toShape(pointObj *self){
    4336             :       shapeObj *shape;
    4337             : 
    4338           0 :       shape = (shapeObj *) malloc(sizeof(shapeObj));
    4339           0 :       msInitShape(shape);
    4340             :     
    4341           0 :       shape->type = MS_SHAPE_POINT;
    4342           0 :       shape->line = (lineObj *) malloc(sizeof(lineObj));
    4343           0 :       shape->numlines = 1;
    4344           0 :       shape->line[0].point = (pointObj *) malloc(sizeof(pointObj));
    4345           0 :       shape->line[0].numpoints = 1;
    4346             : 
    4347           0 :       shape->line[0].point[0].x = self->x;
    4348           0 :       shape->line[0].point[0].y = self->y;
    4349             : 
    4350             : 
    4351             : 
    4352             : 
    4353             : 
    4354           0 :       return shape;
    4355             :     }
    4356             : SWIGINTERN lineObj *new_lineObj(void){
    4357             :         lineObj *line;
    4358             : 
    4359           1 :         line = (lineObj *)malloc(sizeof(lineObj));
    4360           1 :         if (!line)
    4361             :             return(NULL);
    4362             : 
    4363           1 :         line->numpoints=0;
    4364           1 :         line->point=NULL;
    4365             : 
    4366             :         return line;
    4367             :     }
    4368             : SWIGINTERN void delete_lineObj(lineObj *self){
    4369           1 :         free(self->point);
    4370           1 :         free(self);   
    4371             :     }
    4372             : SWIGINTERN int lineObj_project(lineObj *self,projectionObj *projin,projectionObj *projout){
    4373           0 :         return msProjectLine(projin, projout, self);
    4374             :     }
    4375             : SWIGINTERN pointObj *lineObj_get(lineObj *self,int i){
    4376           1 :         if (i<0 || i>=self->numpoints)
    4377             :             return NULL;
    4378             :         else
    4379           1 :             return &(self->point[i]);
    4380             :     }
    4381           1 : SWIGINTERN int lineObj_add(lineObj *self,pointObj *p){
    4382           1 :         if (self->numpoints == 0) { /* new */  
    4383           1 :         self->point = (pointObj *)malloc(sizeof(pointObj));      
    4384           1 :         if (!self->point)
    4385             :           return MS_FAILURE;
    4386             :         } else { /* extend array */
    4387           1 :             self->point = (pointObj *)realloc(self->point, 
    4388           1 :                                       sizeof(pointObj)*(self->numpoints+1));
    4389           1 :         if (!self->point)
    4390             :           return MS_FAILURE;
    4391             :         }
    4392             : 
    4393           1 :         self->point[self->numpoints].x = p->x;
    4394           1 :         self->point[self->numpoints].y = p->y;
    4395           1 :         self->numpoints++;
    4396             : 
    4397             :         return MS_SUCCESS;
    4398             :     }
    4399             : SWIGINTERN int lineObj_set(lineObj *self,int i,pointObj *p){
    4400           0 :         if (i<0 || i>=self->numpoints)
    4401             :             return MS_FAILURE;
    4402             : 
    4403           0 :         self->point[i].x = p->x;
    4404           0 :         self->point[i].y = p->y;
    4405             :         return MS_SUCCESS;    
    4406             :     }
    4407           1 : SWIGINTERN shapeObj *new_shapeObj(int type){
    4408             :         shapeObj *shape;
    4409             : 
    4410           1 :   shape = (shapeObj *)malloc(sizeof(shapeObj));
    4411           1 :         if (!shape)
    4412             :             return NULL;
    4413             : 
    4414           1 :         msInitShape(shape);
    4415           1 :         if(type >= 0) shape->type = type;
    4416             :         
    4417           1 :         return shape;
    4418             :     }
    4419             : SWIGINTERN void delete_shapeObj(shapeObj *self){
    4420           1 :         msFreeShape(self);
    4421           1 :         free(self);   
    4422             :     }
    4423             : SWIGINTERN shapeObj *shapeObj_fromWKT(char *wkt){
    4424             :   shapeObj *shape;
    4425             :         
    4426           1 :         if(!wkt) return NULL;
    4427             : 
    4428           1 :         shape = msShapeFromWKT(wkt);
    4429           1 :   if(!shape) return NULL;
    4430             : 
    4431             :   return shape;
    4432             :     }
    4433             : SWIGINTERN int shapeObj_project(shapeObj *self,projectionObj *projin,projectionObj *projout){
    4434           0 :         return msProjectShape(projin, projout, self);
    4435             :     }
    4436             : SWIGINTERN lineObj *shapeObj_get(shapeObj *self,int i){
    4437           1 :         if (i<0 || i>=self->numlines)
    4438             :             return NULL;
    4439             :         else
    4440           1 :             return &(self->line[i]);
    4441             :     }
    4442             : SWIGINTERN int shapeObj_add(shapeObj *self,lineObj *line){
    4443           1 :         return msAddLine(self, line);
    4444             :     }
    4445             : SWIGINTERN int shapeObj_draw(shapeObj *self,mapObj *map,layerObj *layer,imageObj *image){
    4446           0 :         return msDrawShape(map, layer, self, image, -1, MS_DRAWMODE_FEATURES|MS_DRAWMODE_LABELS);
    4447             :     }
    4448             : SWIGINTERN void shapeObj_setBounds(shapeObj *self){    
    4449           0 :         msComputeBounds(self);
    4450             :         return;
    4451             :     }
    4452           0 : SWIGINTERN shapeObj *shapeObj_clone(shapeObj *self){
    4453             :         shapeObj *shape;
    4454           0 :         shape = (shapeObj *)malloc(sizeof(shapeObj));
    4455           0 :         if (!shape)
    4456             :             return NULL;
    4457           0 :         msInitShape(shape);
    4458           0 :         shape->type = self->type;
    4459           0 :         msCopyShape(self, shape);
    4460           0 :         return shape;
    4461             :     }
    4462             : SWIGINTERN int shapeObj_copy(shapeObj *self,shapeObj *dest){
    4463           0 :         return(msCopyShape(self, dest));
    4464             :     }
    4465             : SWIGINTERN char *shapeObj_toWKT(shapeObj *self){
    4466           1 :         return msShapeToWKT(self);
    4467             :     }
    4468           0 : SWIGINTERN shapeObj *shapeObj_buffer(shapeObj *self,double width){ return msGEOSBuffer(self, width); }
    4469           0 : SWIGINTERN shapeObj *shapeObj_simplify(shapeObj *self,double tolerance){ return msGEOSSimplify(self, tolerance); }
    4470           0 : SWIGINTERN shapeObj *shapeObj_topologyPreservingSimplify(shapeObj *self,double tolerance){ return msGEOSTopologyPreservingSimplify(self, tolerance); }
    4471           0 : SWIGINTERN shapeObj *shapeObj_convexHull(shapeObj *self){ return msGEOSConvexHull(self); }
    4472           0 : SWIGINTERN shapeObj *shapeObj_boundary(shapeObj *self){ return msGEOSBoundary(self); }
    4473           0 : SWIGINTERN pointObj *shapeObj_getCentroid(shapeObj *self){ return msGEOSGetCentroid(self); }
    4474           0 : SWIGINTERN shapeObj *shapeObj_Union(shapeObj *self,shapeObj *shape){ return msGEOSUnion(self, shape); }
    4475           0 : SWIGINTERN shapeObj *shapeObj_intersection(shapeObj *self,shapeObj *shape){ return msGEOSIntersection(self, shape); }
    4476           0 : SWIGINTERN shapeObj *shapeObj_difference(shapeObj *self,shapeObj *shape){ return msGEOSDifference(self, shape); }
    4477           0 : SWIGINTERN shapeObj *shapeObj_symDifference(shapeObj *self,shapeObj *shape){ return msGEOSSymDifference(self, shape); }
    4478           0 : SWIGINTERN int shapeObj_contains__SWIG_0(shapeObj *self,shapeObj *shape){ return msGEOSContains(self, shape); }
    4479           0 : SWIGINTERN int shapeObj_overlaps(shapeObj *self,shapeObj *shape){ return msGEOSOverlaps(self, shape); }
    4480           1 : SWIGINTERN int shapeObj_within(shapeObj *self,shapeObj *shape){ return msGEOSWithin(self, shape); }
    4481           0 : SWIGINTERN int shapeObj_crosses(shapeObj *self,shapeObj *shape){ return msGEOSCrosses(self, shape); }
    4482           0 : SWIGINTERN int shapeObj_intersects(shapeObj *self,shapeObj *shape){ return msGEOSIntersects(self, shape); }
    4483           0 : SWIGINTERN int shapeObj_touches(shapeObj *self,shapeObj *shape){ return msGEOSTouches(self, shape); }
    4484           0 : SWIGINTERN int shapeObj_equals(shapeObj *self,shapeObj *shape){ return msGEOSEquals(self, shape); }
    4485           0 : SWIGINTERN int shapeObj_disjoint(shapeObj *self,shapeObj *shape){ return msGEOSDisjoint(self, shape); }
    4486           0 : SWIGINTERN double shapeObj_getArea(shapeObj *self){ return msGEOSArea(self); }
    4487           0 : SWIGINTERN double shapeObj_getLength(shapeObj *self){ return msGEOSLength(self); }
    4488             : SWIGINTERN char *shapeObj_getValue(shapeObj *self,int i){
    4489           0 :         if (i >= 0 && i < self->numvalues && self->values)
    4490           0 :             return (self->values[i]);
    4491             :         else
    4492             :             return NULL;
    4493             :     }
    4494             : SWIGINTERN int shapeObj_contains__SWIG_1(shapeObj *self,pointObj *point){
    4495           0 :         if (self->type == MS_SHAPE_POLYGON)
    4496           0 :             return msIntersectPointPolygon(point, self);
    4497             :         
    4498             :         return -1;
    4499             :     }
    4500             : SWIGINTERN double shapeObj_distanceToPoint(shapeObj *self,pointObj *point){
    4501           0 :         return msDistancePointToShape(point, self); /* should there be a GEOS version of this? */
    4502             :     }
    4503             : SWIGINTERN double shapeObj_distanceToShape(shapeObj *self,shapeObj *shape){
    4504           0 :   return msGEOSDistance(self, shape); /* note this calls msDistanceShapeToShape() if GEOS support is not present */
    4505             :     }
    4506           0 : SWIGINTERN pointObj *shapeObj_getLabelPoint(shapeObj *self){
    4507           0 :         pointObj *point = (pointObj *)calloc(1, sizeof(pointObj));
    4508           0 :         if (point == NULL) {
    4509           0 :             msSetError(2, "Failed to allocate memory for point", "labelPoint()");
    4510           0 :             return NULL;
    4511             :         }
    4512             : 
    4513           0 :         if(self->type == MS_SHAPE_POLYGON && msPolygonLabelPoint(self, point, -1) == MS_SUCCESS)
    4514             :             return point;
    4515             : 
    4516           0 :         free(point);
    4517           0 :         return NULL;
    4518             :     }
    4519           0 : SWIGINTERN int shapeObj_setValue(shapeObj *self,int i,char *value){
    4520           0 :         if (!self->values || !value)
    4521             :         {
    4522           0 :             msSetError(19, "Can't set value", "setValue()");
    4523             :             return MS_FAILURE;
    4524             :         }
    4525           0 :         if (i >= 0 && i < self->numvalues)
    4526             :         {
    4527           0 :             msFree(self->values[i]);
    4528           0 :             self->values[i] = msStrdup(value);
    4529           0 :             if (!self->values[i])
    4530             :             {
    4531             :                 return MS_FAILURE;
    4532             :             }
    4533             :             else return MS_SUCCESS;
    4534             :         }
    4535             :         else
    4536             :         {
    4537           0 :             msSetError(19, "Invalid value index", 
    4538             :                                   "setValue()");
    4539             :             return MS_FAILURE;
    4540             :         }
    4541             :     }
    4542           0 : SWIGINTERN void shapeObj_initValues(shapeObj *self,int numvalues){
    4543             :         int i;
    4544             :         
    4545           0 :         if(self->values) msFreeCharArray(self->values, self->numvalues);
    4546           0 :         self->values = NULL;
    4547           0 :         self->numvalues = 0;
    4548             :         
    4549             :         /* Allocate memory for the values */
    4550           0 :         if (numvalues > 0) {
    4551           0 :             if ((self->values = (char **)malloc(sizeof(char *)*numvalues)) == NULL) {
    4552           0 :                 msSetError(2, "Failed to allocate memory for values", "shapeObj()");
    4553           0 :                 return;
    4554             :             } else {
    4555           0 :                 for (i=0; i<numvalues; i++) self->values[i] = msStrdup("");
    4556             :             }
    4557           0 :             self->numvalues = numvalues;
    4558             :         }
    4559             :     }
    4560             : 
    4561             : SWIGINTERNINLINE SV *
    4562           0 : SWIG_From_unsigned_SS_long  SWIG_PERL_DECL_ARGS_1(unsigned long value)
    4563             : {
    4564             :   SV *sv;
    4565             :   if (UVSIZE >= sizeof(value) || value <= UV_MAX)
    4566           0 :     sv = newSVuv(value);
    4567             :   else
    4568             :     sv = newSVpvf("%lu", value);
    4569           0 :   return sv_2mortal(sv);
    4570             : }
    4571             : 
    4572             : 
    4573             : SWIGINTERNINLINE SV *
    4574             : SWIG_From_unsigned_SS_int  SWIG_PERL_DECL_ARGS_1(unsigned int value)
    4575             : {    
    4576           0 :   return SWIG_From_unsigned_SS_long  SWIG_PERL_CALL_ARGS_1(value);
    4577             : }
    4578             : 
    4579             : SWIGINTERN char *DBFInfo_getFieldName(DBFInfo *self,int iField){
    4580             :         static char pszFieldName[1000];
    4581             :       int pnWidth;
    4582             :       int pnDecimals;
    4583           0 :       msDBFGetFieldInfo(self, iField, &pszFieldName[0], &pnWidth, 
    4584             :                           &pnDecimals);
    4585             :       return pszFieldName;
    4586             :     }
    4587           0 : SWIGINTERN int DBFInfo_getFieldWidth(DBFInfo *self,int iField){
    4588             :         char pszFieldName[1000];
    4589             :       int pnWidth;
    4590             :       int pnDecimals;
    4591           0 :       msDBFGetFieldInfo(self, iField, &pszFieldName[0], &pnWidth,
    4592             :                           &pnDecimals);
    4593           0 :       return pnWidth;
    4594             :     }
    4595           0 : SWIGINTERN int DBFInfo_getFieldDecimals(DBFInfo *self,int iField){
    4596             :         char pszFieldName[1000];
    4597             :       int pnWidth;
    4598             :       int pnDecimals;
    4599           0 :       msDBFGetFieldInfo(self, iField, &pszFieldName[0], &pnWidth,
    4600             :                           &pnDecimals);
    4601           0 :       return pnDecimals;
    4602             :     }
    4603             : SWIGINTERN int DBFInfo_getFieldType(DBFInfo *self,int iField){
    4604           0 :       return msDBFGetFieldInfo(self, iField, NULL, NULL, NULL);
    4605             :     }
    4606           1 : SWIGINTERN shapefileObj *new_shapefileObj(char *filename,int type){    
    4607             :         shapefileObj *shapefile;
    4608             :         int status;
    4609             : 
    4610           1 :         shapefile = (shapefileObj *)malloc(sizeof(shapefileObj));
    4611           1 :         if (!shapefile)
    4612             :             return NULL;
    4613             : 
    4614           1 :         if (type == -1)
    4615           1 :             status = msShapefileOpen(shapefile, "rb", filename, 1);
    4616           1 :         else if (type == -2)
    4617           0 :             status = msShapefileOpen(shapefile, "rb+", filename, 1);
    4618             :         else
    4619           1 :             status = msShapefileCreate(shapefile, filename, type);
    4620             : 
    4621           1 :         if (status == -1) {
    4622           0 :             msShapefileClose(shapefile);
    4623           0 :             free(shapefile);
    4624           0 :             return NULL;
    4625             :         }
    4626             :  
    4627             :         return(shapefile);
    4628             :     }
    4629             : SWIGINTERN void delete_shapefileObj(shapefileObj *self){
    4630           1 :         msShapefileClose(self);
    4631           1 :         free(self);  
    4632             :     }
    4633           1 : SWIGINTERN int shapefileObj_get(shapefileObj *self,int i,shapeObj *shape){
    4634           1 :         if (i<0 || i>=self->numshapes)
    4635             :             return MS_FAILURE;
    4636             : 
    4637           1 :         msFreeShape(shape); /* frees all lines and points before re-filling */
    4638           1 :         msSHPReadShape(self->hSHP, i, shape);
    4639             : 
    4640             :         return MS_SUCCESS;
    4641             :     }
    4642           1 : SWIGINTERN shapeObj *shapefileObj_getShape(shapefileObj *self,int i){
    4643             :         shapeObj *shape;
    4644           1 :         shape = (shapeObj *)malloc(sizeof(shapeObj));
    4645           1 :         if (!shape)
    4646             :             return NULL;
    4647           1 :         msInitShape(shape);
    4648           1 :         shape->type = self->type;
    4649           1 :         msSHPReadShape(self->hSHP, i, shape);
    4650             :         return shape;
    4651             : 
    4652             :     }
    4653             : SWIGINTERN int shapefileObj_getPoint(shapefileObj *self,int i,pointObj *point){
    4654           0 :         if (i<0 || i>=self->numshapes)
    4655             :             return MS_FAILURE;
    4656             : 
    4657           0 :         msSHPReadPoint(self->hSHP, i, point);
    4658             :         return MS_SUCCESS;
    4659             :     }
    4660           0 : SWIGINTERN int shapefileObj_getTransformed(shapefileObj *self,mapObj *map,int i,shapeObj *shape){
    4661           0 :         if (i<0 || i>=self->numshapes)
    4662             :             return MS_FAILURE;
    4663             : 
    4664           0 :         msFreeShape(shape); /* frees all lines and points before re-filling */
    4665           0 :         msSHPReadShape(self->hSHP, i, shape);
    4666           0 :         msTransformShapeSimplify(shape, map->extent, map->cellsize);
    4667             : 
    4668             :         return MS_SUCCESS;
    4669             :     }
    4670             : SWIGINTERN void shapefileObj_getExtent(shapefileObj *self,int i,rectObj *rect){
    4671           0 :         msSHPReadBounds(self->hSHP, i, rect);
    4672             :     }
    4673           1 : SWIGINTERN int shapefileObj_add(shapefileObj *self,shapeObj *shape){
    4674             :         /* Trap NULL or empty shapes -- bug 1201 */
    4675           1 :         if (!shape) 
    4676             :         {
    4677           0 :             msSetError(19, "Can't add NULL shape", "shapefileObj::add");
    4678             :             return MS_FAILURE;
    4679             :         }
    4680           1 :         else if (!shape->line)
    4681             :         {
    4682           0 :             msSetError(19, "Can't add empty shape", "shapefileObj::add");
    4683             :             return MS_FAILURE;
    4684             :         }
    4685             : 
    4686           1 :         return msSHPWriteShape(self->hSHP, shape); 
    4687             :     }
    4688             : SWIGINTERN int shapefileObj_addPoint(shapefileObj *self,pointObj *point){    
    4689           0 :         return msSHPWritePoint(self->hSHP, point); 
    4690             :     }
    4691             : SWIGINTERN DBFInfo *shapefileObj_getDBF(shapefileObj *self){
    4692             :       return self->hDBF;
    4693             :     }
    4694           0 : SWIGINTERN projectionObj *new_projectionObj(char *proj4){
    4695             :         int status;
    4696             :         projectionObj *proj=NULL;
    4697             : 
    4698           0 :         proj = (projectionObj *)malloc(sizeof(projectionObj));
    4699           0 :         if (!proj) return NULL;
    4700           0 :         msInitProjection(proj);
    4701             : 
    4702           0 :         status = msLoadProjectionString(proj, proj4);
    4703           0 :         if (status == -1) {
    4704           0 :             msFreeProjection(proj);
    4705           0 :             free(proj);
    4706           0 :             return NULL;
    4707             :         }
    4708             : 
    4709             :         return proj;
    4710             :     }
    4711             : SWIGINTERN void delete_projectionObj(projectionObj *self){
    4712           0 :         msFreeProjection(self);
    4713           0 :         free(self);   
    4714             :     }
    4715             : SWIGINTERN int projectionObj_setWKTProjection(projectionObj *self,char *wkt){
    4716             :         /* no debug output here */
    4717           0 :         return msOGCWKT2ProjectionObj(wkt, self, 0);
    4718             :     }
    4719             : SWIGINTERN int projectionObj_getUnits(projectionObj *self){
    4720           0 :       return GetMapserverUnitUsingProj(self);
    4721             :     }
    4722           0 : SWIGINTERN colorObj *new_colorObj(int red,int green,int blue,int alpha){
    4723             :         colorObj *color;
    4724             :         
    4725             :         /* Check colors */
    4726           0 :         if (red > 255 || green > 255 || blue > 255 || alpha>255 ||
    4727           0 :             red<-1 || green<-1 || blue<-1 || alpha<0 ) {
    4728           0 :             msSetError(12, "Invalid color", "colorObj()");
    4729           0 :             return NULL;
    4730             :         }
    4731             :     
    4732           0 :         color = (colorObj *)calloc(1, sizeof(colorObj));
    4733           0 :         if (!color)
    4734             :             return(NULL);
    4735             :     
    4736           0 :         MS_INIT_COLOR(*color, red, green, blue, alpha);
    4737             : 
    4738           0 :         return(color);      
    4739             :     }
    4740             : SWIGINTERN void delete_colorObj(colorObj *self){
    4741           0 :         free(self);
    4742             :     }
    4743           0 : SWIGINTERN int colorObj_setRGB(colorObj *self,int red,int green,int blue,int alpha){
    4744             :         /* Check colors */
    4745           0 :         if (red > 255 || green > 255 || blue > 255 || alpha > 255) {
    4746           0 :             msSetError(12, "Invalid color index.", "setRGB()");
    4747           0 :             return MS_FAILURE;
    4748             :         }
    4749             :     
    4750           0 :         MS_INIT_COLOR(*self, red, green, blue, alpha);
    4751           0 :         return MS_SUCCESS;
    4752             :     }
    4753           0 : SWIGINTERN int colorObj_setHex(colorObj *self,char *psHexColor){
    4754             :         int red, green, blue, alpha = 255;
    4755           0 :         if (psHexColor && (strlen(psHexColor) == 7 || strlen(psHexColor) == 9) && psHexColor[0] == '#') {
    4756           0 :             red = msHexToInt(psHexColor+1);
    4757           0 :             green = msHexToInt(psHexColor+3);
    4758           0 :             blue= msHexToInt(psHexColor+5);
    4759           0 :             if (strlen(psHexColor) == 9) {
    4760           0 :                 alpha = msHexToInt(psHexColor+7);
    4761             :             }
    4762           0 :             if (red > 255 || green > 255 || blue > 255 || alpha > 255) {
    4763           0 :                 msSetError(12, "Invalid color index.", "setHex()");
    4764           0 :                 return MS_FAILURE;
    4765             :             }
    4766             : 
    4767           0 :             MS_INIT_COLOR(*self, red, green, blue, alpha);
    4768           0 :             return MS_SUCCESS;
    4769             :         }
    4770             :         else {
    4771           0 :             msSetError(12, "Invalid hex color.", "setHex()");
    4772           0 :             return MS_FAILURE;
    4773             :         }
    4774             :     }
    4775           0 : SWIGINTERN char *colorObj_toHex(colorObj *self){
    4776             :         char *hexcolor;
    4777             : 
    4778           0 :         if (!self) 
    4779             :         {
    4780           0 :             msSetError(12, "Can't express NULL color as hex",
    4781             :                        "toHex()");
    4782           0 :             return NULL;
    4783             :         }
    4784           0 :         if (self->red < 0 || self->green < 0 || self->blue < 0) 
    4785             :         {
    4786           0 :             msSetError(12, "Can't express invalid color as hex",
    4787             :                        "toHex()");
    4788           0 :             return NULL;
    4789             :         }
    4790           0 :         if (self->alpha == 255) {
    4791           0 :           hexcolor = msSmallMalloc(8);
    4792           0 :           snprintf(hexcolor, 8, "#%02x%02x%02x",
    4793             :                    self->red, self->green, self->blue);
    4794           0 :         } else if (self->alpha >= 0) {
    4795           0 :           hexcolor = msSmallMalloc(10);
    4796           0 :           snprintf(hexcolor, 10, "#%02x%02x%02x%02x",
    4797             :                    self->red, self->green, self->blue, self->alpha);
    4798             :         } else {
    4799           0 :            msSetError(12, "Can't express color with invalid alpha as hex",
    4800             :                       "toHex()");
    4801           0 :            return NULL;
    4802             :         }
    4803           0 :         return hexcolor;
    4804             :     }
    4805           0 : SWIGINTERN struct symbolObj *new_symbolObj(char *symbolname,char const *imagefile){
    4806             :         symbolObj *symbol;
    4807           0 :         symbol = (symbolObj *) malloc(sizeof(symbolObj));
    4808           0 :         initSymbol(symbol);
    4809           0 :         symbol->name = msStrdup(symbolname);
    4810           0 :         if (imagefile) {
    4811           0 :             msLoadImageSymbol(symbol, imagefile);
    4812             :         }
    4813           0 :         return symbol;
    4814             :     }
    4815           0 : SWIGINTERN void delete_symbolObj(struct symbolObj *self){
    4816           0 :         if (self) {
    4817           0 :             if (msFreeSymbol(self)==MS_SUCCESS) {
    4818           0 :                 free(self);
    4819             :                 self=NULL;
    4820             :             }
    4821             :         }
    4822           0 :     }
    4823             : SWIGINTERN int symbolObj_setImagepath(struct symbolObj *self,char const *imagefile){
    4824           0 :     return msLoadImageSymbol(self, imagefile);
    4825             :     }
    4826           0 : SWIGINTERN int symbolObj_setPoints(struct symbolObj *self,lineObj *line){
    4827             :         int i;
    4828           0 :     self->sizex = 0;
    4829           0 :     self->sizey = 0;
    4830           0 :         for (i=0; i<line->numpoints; i++) {
    4831           0 :             MS_COPYPOINT(&(self->points[i]), &(line->point[i]));
    4832           0 :         self->sizex = MS_MAX(self->sizex, self->points[i].x);
    4833           0 :         self->sizey = MS_MAX(self->sizey, self->points[i].y);
    4834             :         }
    4835           0 :         self->numpoints = line->numpoints;
    4836           0 :         return self->numpoints;
    4837             :     }
    4838           0 : SWIGINTERN lineObj *symbolObj_getPoints(struct symbolObj *self){
    4839             :         int i;
    4840             :         lineObj *line;
    4841           0 :         line = (lineObj *) malloc(sizeof(lineObj));
    4842           0 :         line->point = (pointObj *) malloc(sizeof(pointObj)*(self->numpoints));
    4843           0 :         for (i=0; i<self->numpoints; i++) {
    4844           0 :             line->point[i].x = self->points[i].x;
    4845           0 :             line->point[i].y = self->points[i].y;
    4846             :         }
    4847           0 :         line->numpoints = self->numpoints;
    4848           0 :         return line;
    4849             :     }
    4850           0 : SWIGINTERN imageObj *symbolObj_getImage(struct symbolObj *self,outputFormatObj *input_format){
    4851             :         imageObj *image = NULL;
    4852             :         outputFormatObj *format = NULL;
    4853             :         rendererVTableObj *renderer = NULL;
    4854             : 
    4855           0 :         if (input_format)
    4856             :         {
    4857             :             format = input_format;
    4858             :         }
    4859             :         else 
    4860             :         {
    4861           0 :             format = msCreateDefaultOutputFormat(NULL, "AGG/PNG", "aggpng");
    4862           0 :             if (format)
    4863           0 :                 msInitializeRendererVTable(format);
    4864             :         }
    4865             :         
    4866           0 :         if (format == NULL) 
    4867             :         {
    4868           0 :             msSetError(15, "Could not create output format",
    4869             :                        "getImage()");
    4870           0 :             return NULL;
    4871             :         }
    4872             : 
    4873           0 :         renderer = format->vtable;
    4874           0 :         msPreloadImageSymbol(renderer, self);
    4875           0 :         if (self->pixmap_buffer) 
    4876             :         {
    4877           0 :             image = msImageCreate(self->pixmap_buffer->width, self->pixmap_buffer->height, format, NULL, NULL,
    4878             :                                   MS_DEFAULT_RESOLUTION, MS_DEFAULT_RESOLUTION, NULL);
    4879           0 :             if(!image) {
    4880           0 :               msSetError(15, "Could not create image",
    4881             :                        "getImage()");
    4882           0 :               return NULL;
    4883             :             }
    4884           0 :             if(MS_SUCCESS != renderer->mergeRasterBuffer(image, self->pixmap_buffer, 1.0, 0, 0, 0, 0,
    4885           0 :                                         self->pixmap_buffer->width, self->pixmap_buffer->height)) {
    4886           0 :               msSetError(15, "Could not merge symbol image",
    4887             :                        "getImage()");
    4888           0 :               msFreeImage(image);
    4889           0 :               return NULL;
    4890             :             }
    4891             :         }
    4892             : 
    4893           0 :         return image;
    4894             :     }
    4895           0 : SWIGINTERN int symbolObj_setImage(struct symbolObj *self,imageObj *image){
    4896             :         rendererVTableObj *renderer = NULL;
    4897             :         
    4898           0 :         renderer = image->format->vtable;
    4899             :         
    4900           0 :         if (self->pixmap_buffer) {
    4901           0 :             msFreeRasterBuffer(self->pixmap_buffer);
    4902           0 :             free(self->pixmap_buffer);
    4903             :         }
    4904             :         
    4905           0 :         self->pixmap_buffer = (rasterBufferObj*)malloc(sizeof(rasterBufferObj));
    4906           0 :         if (!self->pixmap_buffer) {
    4907           0 :             msSetError(2, NULL, "setImage()");
    4908             :             return MS_FAILURE;
    4909             :         }
    4910           0 :         self->type = MS_SYMBOL_PIXMAP;
    4911           0 :         return renderer->getRasterBufferCopy(image, self->pixmap_buffer);
    4912             :     }
    4913             : SWIGINTERN struct errorObj *new_errorObj(void){    
    4914           0 :         return msGetErrorObj();
    4915             :     }
    4916             : SWIGINTERN void delete_errorObj(struct errorObj *self){}
    4917           0 : SWIGINTERN errorObj *errorObj_next(struct errorObj *self){
    4918             :         errorObj *ep; 
    4919             : 
    4920           0 :         if (self == NULL || self->next == NULL) return NULL;
    4921             : 
    4922           0 :         ep = msGetErrorObj();
    4923           0 :         while (ep != self) {
    4924             :             /* We reached end of list of active errorObj and 
    4925             :                didn't find the errorObj... this is bad! */
    4926           0 :             if (ep->next == NULL) return NULL;
    4927             :             ep = ep->next;
    4928             :         }
    4929             :     
    4930           0 :         return ep->next;
    4931             :     }
    4932             : 
    4933             : #include "../../mapserver.h"
    4934             : 
    4935             : 
    4936             : #include "../../maphash.h"
    4937             : 
    4938             : SWIGINTERN hashTableObj *new_hashTableObj(void){
    4939             : 
    4940           0 :         return msCreateHashTable();
    4941             :     }
    4942             : SWIGINTERN void delete_hashTableObj(hashTableObj *self){
    4943           1 :         msFreeHashTable(self);
    4944             :     }
    4945             : SWIGINTERN int hashTableObj_set(hashTableObj *self,char *key,char *value){
    4946           0 :         if (msInsertHashTable(self, key, value) == NULL) {
    4947             :           return MS_FAILURE;
    4948             :         }
    4949             :         return MS_SUCCESS;
    4950             :     }
    4951           1 : SWIGINTERN char *hashTableObj_get(hashTableObj *self,char *key,char *default_value){
    4952             :         char *value = NULL;
    4953           1 :         if (!key) {
    4954           0 :             msSetError(16, "NULL key", "get");
    4955             :         }
    4956             :      
    4957           1 :         value = (char *) msLookupHashTable(self, key);
    4958           1 :         if (!value) {
    4959             :             return default_value;
    4960             :         }
    4961           1 :         return value;
    4962             :     }
    4963             : SWIGINTERN int hashTableObj_remove(hashTableObj *self,char *key){
    4964           0 :         return msRemoveHashTable(self, key);
    4965             :     }
    4966             : SWIGINTERN void hashTableObj_clear(hashTableObj *self){
    4967           0 :         msFreeHashItems(self);
    4968           0 :         initHashTable(self);
    4969             :     }
    4970             : SWIGINTERN char const *hashTableObj_nextKey(hashTableObj *self,char *prevkey){
    4971           0 :         return msNextKeyFromHashTable(self, (const char *) prevkey);
    4972             :     }
    4973             : 
    4974           1 : static char *msGetEnvURL( const char *key, void *thread_context )
    4975             : {
    4976           1 :     if( strcmp(key,"REQUEST_METHOD") == 0 )
    4977             :         return "GET";
    4978             : 
    4979           1 :     if( strcmp(key,"QUERY_STRING") == 0 )
    4980           1 :         return (char *) thread_context;
    4981             : 
    4982             :     return NULL;
    4983             : }
    4984             : 
    4985           1 : SWIGINTERN cgiRequestObj *new_cgiRequestObj(void){
    4986             :         cgiRequestObj *request;
    4987             : 
    4988           1 :         request = msAllocCgiObj();
    4989           1 :         if (!request) {
    4990           0 :             msSetError(13, "Failed to initialize object","OWSRequest()");
    4991           0 :             return NULL;
    4992             :         }
    4993             :         
    4994             :         return request;
    4995             :     }
    4996             : SWIGINTERN void delete_cgiRequestObj(cgiRequestObj *self){
    4997           1 :         msFreeCgiObj(self);
    4998             :     }
    4999             : SWIGINTERN int cgiRequestObj_loadParams(cgiRequestObj *self){
    5000           0 :   self->NumParams = loadParams( self, NULL, NULL, 0, NULL);
    5001             :   return self->NumParams;
    5002             :     }
    5003             : SWIGINTERN int cgiRequestObj_loadParamsFromURL(cgiRequestObj *self,char const *url){
    5004           1 :   self->NumParams = loadParams( self, msGetEnvURL, NULL, 0, (void*)url );
    5005             :   return self->NumParams;
    5006             :     }
    5007           0 : SWIGINTERN void cgiRequestObj_setParameter(cgiRequestObj *self,char *name,char *value){
    5008             :         int i;
    5009             :         
    5010           0 :         if (self->NumParams == 100) {
    5011           0 :             msSetError(31, "Maximum number of items, %d, has been reached", "setItem()", 100);
    5012             :         }
    5013             :         
    5014           0 :         for (i=0; i<self->NumParams; i++) {
    5015           0 :             if (strcasecmp(self->ParamNames[i], name) == 0) {
    5016           0 :                 free(self->ParamValues[i]);
    5017           0 :                 self->ParamValues[i] = msStrdup(value);
    5018           0 :                 break;
    5019             :             }
    5020             :         }
    5021           0 :         if (i == self->NumParams) {
    5022           0 :             self->ParamNames[self->NumParams] = msStrdup(name);
    5023           0 :             self->ParamValues[self->NumParams] = msStrdup(value);
    5024           0 :             self->NumParams++;
    5025             :         }
    5026           0 :     }
    5027           0 : SWIGINTERN void cgiRequestObj_addParameter(cgiRequestObj *self,char *name,char *value){
    5028           0 :         if (self->NumParams == 100) {
    5029           0 :             msSetError(31, "Maximum number of items, %d, has been reached", "addParameter()", 100);
    5030             :         }
    5031           0 :         self->ParamNames[self->NumParams] = msStrdup(name);
    5032           0 :         self->ParamValues[self->NumParams] = msStrdup(value);
    5033           0 :         self->NumParams++;
    5034           0 :     }
    5035           1 : SWIGINTERN char *cgiRequestObj_getName(cgiRequestObj *self,int index){
    5036           1 :         if (index < 0 || index >= self->NumParams) {
    5037           0 :             msSetError(31, "Invalid index, valid range is [0, %d]", "getName()", self->NumParams-1);
    5038             :             return NULL;
    5039             :         }
    5040           1 :         return self->ParamNames[index];
    5041             :     }
    5042           1 : SWIGINTERN char *cgiRequestObj_getValue(cgiRequestObj *self,int index){
    5043           1 :         if (index < 0 || index >= self->NumParams) {
    5044           0 :             msSetError(31, "Invalid index, valid range is [0, %d]", "getValue()", self->NumParams-1);
    5045             :             return NULL;
    5046             :         }
    5047           1 :         return self->ParamValues[index];
    5048             :     }
    5049           1 : SWIGINTERN char *cgiRequestObj_getValueByName(cgiRequestObj *self,char const *name){
    5050             :         int i;
    5051           1 :         for (i=0; i<self->NumParams; i++) {
    5052           1 :             if (strcasecmp(self->ParamNames[i], name) == 0) {
    5053           1 :                 return self->ParamValues[i];
    5054             :             }
    5055             :         }
    5056             :         return NULL;
    5057             :     }
    5058             : 
    5059             : 
    5060           0 : const char *msIO_getStdoutBufferString() {
    5061           0 :     msIOContext *ctx = msIO_getHandler( (FILE *) "stdout" );
    5062             :     msIOBuffer  *buf;
    5063             : 
    5064           0 :     if( ctx == NULL || ctx->write_channel == MS_FALSE 
    5065           0 :         || strcmp(ctx->label,"buffer") != 0 )
    5066             :     {
    5067           0 :   msSetError( MS_MISCERR, "Can't identify msIO buffer.",
    5068             :                     "msIO_getStdoutBufferString" );
    5069           0 :   return "";
    5070             :     }
    5071             : 
    5072           0 :     buf = (msIOBuffer *) ctx->cbData;
    5073             : 
    5074             :     /* write one zero byte and backtrack if it isn't already there */
    5075           0 :     if( buf->data_len == 0 || buf->data[buf->data_offset] != '\0' ) {
    5076           0 :         msIO_bufferWrite( buf, "", 1 );
    5077           0 :   buf->data_offset--;
    5078             :     }
    5079             : 
    5080           0 :     return (const char *) (buf->data);
    5081             : }
    5082             : 
    5083           1 : gdBuffer msIO_getStdoutBufferBytes() {
    5084           1 :     msIOContext *ctx = msIO_getHandler( (FILE *) "stdout" );
    5085             :     msIOBuffer  *buf;
    5086             :     gdBuffer     gdBuf;
    5087             : 
    5088           1 :     if( ctx == NULL || ctx->write_channel == MS_FALSE 
    5089           1 :         || strcmp(ctx->label,"buffer") != 0 )
    5090             :     {
    5091           0 :   msSetError( MS_MISCERR, "Can't identify msIO buffer.",
    5092             :                     "msIO_getStdoutBufferString" );
    5093             :   gdBuf.data = (unsigned char*)"";
    5094             :   gdBuf.size = 0;
    5095             :   gdBuf.owns_data = MS_FALSE;
    5096           0 :   return gdBuf;
    5097             :     }
    5098             : 
    5099           1 :     buf = (msIOBuffer *) ctx->cbData;
    5100             : 
    5101           1 :     gdBuf.data = buf->data;
    5102           1 :     gdBuf.size = buf->data_offset;
    5103             :     gdBuf.owns_data = MS_TRUE;
    5104             : 
    5105             :     /* we are seizing ownership of the buffer contents */
    5106           1 :     buf->data_offset = 0;
    5107           1 :     buf->data_len = 0;
    5108           1 :     buf->data = NULL;
    5109             : 
    5110           1 :     return gdBuf;
    5111             : }
    5112             : 
    5113             : 
    5114             : #ifdef __cplusplus
    5115             : extern "C" {
    5116             : #endif
    5117             : 
    5118             : #ifdef PERL_OBJECT
    5119             : #define MAGIC_CLASS _wrap_mapscript_var::
    5120             : class _wrap_mapscript_var : public CPerlObj {
    5121             : public:
    5122             : #else
    5123             : #define MAGIC_CLASS
    5124             : #endif
    5125             : SWIGCLASS_STATIC int swig_magic_readonly(pTHX_ SV *SWIGUNUSEDPARM(sv), MAGIC *SWIGUNUSEDPARM(mg)) {
    5126             :     MAGIC_PPERL
    5127             :     croak("Value is read-only.");
    5128             :     return 0;
    5129             : }
    5130             : 
    5131             : 
    5132             : #ifdef PERL_OBJECT
    5133             : };
    5134             : #endif
    5135             : 
    5136             : #ifdef __cplusplus
    5137             : }
    5138             : #endif
    5139             : 
    5140             : #ifdef __cplusplus
    5141             : extern "C" {
    5142             : #endif
    5143           0 : XS(_wrap_new_intarray) {
    5144             :   {
    5145             :     size_t arg1 ;
    5146             :     size_t val1 ;
    5147             :     int ecode1 = 0 ;
    5148             :     int argvi = 0;
    5149             :     intarray *result = 0 ;
    5150           0 :     dXSARGS;
    5151             :     
    5152           0 :     if ((items < 1) || (items > 1)) {
    5153           0 :       SWIG_croak("Usage: new_intarray(nelements);");
    5154             :     }
    5155           0 :     ecode1 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
    5156           0 :     if (!SWIG_IsOK(ecode1)) {
    5157           0 :       SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_intarray" "', argument " "1"" of type '" "size_t""'");
    5158             :     } 
    5159           0 :     arg1 = (size_t)(val1);
    5160             :     result = (intarray *)new_intarray(arg1);
    5161           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_intarray, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    5162             :     
    5163           0 :     XSRETURN(argvi);
    5164             :   fail:
    5165             :     
    5166           0 :     SWIG_croak_null();
    5167             :   }
    5168             : }
    5169             : 
    5170             : 
    5171           0 : XS(_wrap_delete_intarray) {
    5172             :   {
    5173             :     intarray *arg1 = (intarray *) 0 ;
    5174           0 :     void *argp1 = 0 ;
    5175             :     int res1 = 0 ;
    5176             :     int argvi = 0;
    5177           0 :     dXSARGS;
    5178             :     
    5179           0 :     if ((items < 1) || (items > 1)) {
    5180           0 :       SWIG_croak("Usage: delete_intarray(self);");
    5181             :     }
    5182           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_intarray, SWIG_POINTER_DISOWN |  0 );
    5183           0 :     if (!SWIG_IsOK(res1)) {
    5184           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_intarray" "', argument " "1"" of type '" "intarray *""'"); 
    5185             :     }
    5186           0 :     arg1 = (intarray *)(argp1);
    5187             :     delete_intarray(arg1);
    5188           0 :     ST(argvi) = sv_newmortal();
    5189             :     
    5190           0 :     XSRETURN(argvi);
    5191             :   fail:
    5192             :     
    5193           0 :     SWIG_croak_null();
    5194             :   }
    5195             : }
    5196             : 
    5197             : 
    5198           0 : XS(_wrap_intarray_getitem) {
    5199             :   {
    5200             :     intarray *arg1 = (intarray *) 0 ;
    5201             :     size_t arg2 ;
    5202           0 :     void *argp1 = 0 ;
    5203             :     int res1 = 0 ;
    5204             :     size_t val2 ;
    5205             :     int ecode2 = 0 ;
    5206             :     int argvi = 0;
    5207             :     int result;
    5208           0 :     dXSARGS;
    5209             :     
    5210           0 :     if ((items < 2) || (items > 2)) {
    5211           0 :       SWIG_croak("Usage: intarray_getitem(self,index);");
    5212             :     }
    5213           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_intarray, 0 |  0 );
    5214           0 :     if (!SWIG_IsOK(res1)) {
    5215           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "intarray_getitem" "', argument " "1"" of type '" "intarray *""'"); 
    5216             :     }
    5217           0 :     arg1 = (intarray *)(argp1);
    5218           0 :     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    5219           0 :     if (!SWIG_IsOK(ecode2)) {
    5220           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "intarray_getitem" "', argument " "2"" of type '" "size_t""'");
    5221             :     } 
    5222           0 :     arg2 = (size_t)(val2);
    5223             :     result = (int)intarray_getitem(arg1,arg2);
    5224           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
    5225             :     
    5226             :     
    5227           0 :     XSRETURN(argvi);
    5228             :   fail:
    5229             :     
    5230             :     
    5231           0 :     SWIG_croak_null();
    5232             :   }
    5233             : }
    5234             : 
    5235             : 
    5236           0 : XS(_wrap_intarray_setitem) {
    5237             :   {
    5238             :     intarray *arg1 = (intarray *) 0 ;
    5239             :     size_t arg2 ;
    5240             :     int arg3 ;
    5241           0 :     void *argp1 = 0 ;
    5242             :     int res1 = 0 ;
    5243             :     size_t val2 ;
    5244             :     int ecode2 = 0 ;
    5245             :     int val3 ;
    5246             :     int ecode3 = 0 ;
    5247             :     int argvi = 0;
    5248           0 :     dXSARGS;
    5249             :     
    5250           0 :     if ((items < 3) || (items > 3)) {
    5251           0 :       SWIG_croak("Usage: intarray_setitem(self,index,value);");
    5252             :     }
    5253           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_intarray, 0 |  0 );
    5254           0 :     if (!SWIG_IsOK(res1)) {
    5255           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "intarray_setitem" "', argument " "1"" of type '" "intarray *""'"); 
    5256             :     }
    5257           0 :     arg1 = (intarray *)(argp1);
    5258           0 :     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    5259           0 :     if (!SWIG_IsOK(ecode2)) {
    5260           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "intarray_setitem" "', argument " "2"" of type '" "size_t""'");
    5261             :     } 
    5262           0 :     arg2 = (size_t)(val2);
    5263           0 :     ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    5264           0 :     if (!SWIG_IsOK(ecode3)) {
    5265           0 :       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "intarray_setitem" "', argument " "3"" of type '" "int""'");
    5266             :     } 
    5267           0 :     arg3 = (int)(val3);
    5268             :     intarray_setitem(arg1,arg2,arg3);
    5269           0 :     ST(argvi) = sv_newmortal();
    5270             :     
    5271             :     
    5272             :     
    5273           0 :     XSRETURN(argvi);
    5274             :   fail:
    5275             :     
    5276             :     
    5277             :     
    5278           0 :     SWIG_croak_null();
    5279             :   }
    5280             : }
    5281             : 
    5282             : 
    5283           0 : XS(_wrap_intarray_cast) {
    5284             :   {
    5285             :     intarray *arg1 = (intarray *) 0 ;
    5286           0 :     void *argp1 = 0 ;
    5287             :     int res1 = 0 ;
    5288             :     int argvi = 0;
    5289             :     int *result = 0 ;
    5290           0 :     dXSARGS;
    5291             :     
    5292           0 :     if ((items < 1) || (items > 1)) {
    5293           0 :       SWIG_croak("Usage: intarray_cast(self);");
    5294             :     }
    5295           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_intarray, 0 |  0 );
    5296           0 :     if (!SWIG_IsOK(res1)) {
    5297           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "intarray_cast" "', argument " "1"" of type '" "intarray *""'"); 
    5298             :     }
    5299           0 :     arg1 = (intarray *)(argp1);
    5300             :     result = (int *)intarray_cast(arg1);
    5301           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0); argvi++ ;
    5302             :     
    5303           0 :     XSRETURN(argvi);
    5304             :   fail:
    5305             :     
    5306           0 :     SWIG_croak_null();
    5307             :   }
    5308             : }
    5309             : 
    5310             : 
    5311           0 : XS(_wrap_intarray_frompointer) {
    5312             :   {
    5313             :     int *arg1 = (int *) 0 ;
    5314           0 :     void *argp1 = 0 ;
    5315             :     int res1 = 0 ;
    5316             :     int argvi = 0;
    5317             :     intarray *result = 0 ;
    5318           0 :     dXSARGS;
    5319             :     
    5320           0 :     if ((items < 1) || (items > 1)) {
    5321           0 :       SWIG_croak("Usage: intarray_frompointer(t);");
    5322             :     }
    5323           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_int, 0 |  0 );
    5324           0 :     if (!SWIG_IsOK(res1)) {
    5325           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "intarray_frompointer" "', argument " "1"" of type '" "int *""'"); 
    5326             :     }
    5327           0 :     arg1 = (int *)(argp1);
    5328             :     result = (intarray *)intarray_frompointer(arg1);
    5329           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_intarray, 0 | SWIG_SHADOW); argvi++ ;
    5330             :     
    5331           0 :     XSRETURN(argvi);
    5332             :   fail:
    5333             :     
    5334           0 :     SWIG_croak_null();
    5335             :   }
    5336             : }
    5337             : 
    5338             : 
    5339           0 : XS(_wrap_CompositingFilter_filter_set) {
    5340             :   {
    5341             :     struct _CompositingFilter *arg1 = (struct _CompositingFilter *) 0 ;
    5342             :     char *arg2 = (char *) 0 ;
    5343           0 :     void *argp1 = 0 ;
    5344             :     int res1 = 0 ;
    5345             :     int res2 ;
    5346           0 :     char *buf2 = 0 ;
    5347           0 :     int alloc2 = 0 ;
    5348             :     int argvi = 0;
    5349           0 :     dXSARGS;
    5350             :     
    5351           0 :     if ((items < 2) || (items > 2)) {
    5352           0 :       SWIG_croak("Usage: CompositingFilter_filter_set(self,filter);");
    5353             :     }
    5354           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__CompositingFilter, 0 |  0 );
    5355           0 :     if (!SWIG_IsOK(res1)) {
    5356           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CompositingFilter_filter_set" "', argument " "1"" of type '" "struct _CompositingFilter *""'"); 
    5357             :     }
    5358           0 :     arg1 = (struct _CompositingFilter *)(argp1);
    5359           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    5360           0 :     if (!SWIG_IsOK(res2)) {
    5361           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CompositingFilter_filter_set" "', argument " "2"" of type '" "char *""'");
    5362             :     }
    5363           0 :     arg2 = (char *)(buf2);
    5364             :     {
    5365           0 :       if (arg1->filter) free((char*)arg1->filter);
    5366           0 :       if (arg2) {
    5367           0 :         arg1->filter = (char *) malloc(strlen(arg2)+1);
    5368             :         strcpy((char*)arg1->filter,arg2);
    5369             :       } else {
    5370           0 :         arg1->filter = 0;
    5371             :       }
    5372             :     }
    5373           0 :     ST(argvi) = sv_newmortal();
    5374             :     
    5375           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    5376           0 :     XSRETURN(argvi);
    5377             :   fail:
    5378             :     
    5379           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    5380           0 :     SWIG_croak_null();
    5381             :   }
    5382             : }
    5383             : 
    5384             : 
    5385           0 : XS(_wrap_CompositingFilter_filter_get) {
    5386             :   {
    5387             :     struct _CompositingFilter *arg1 = (struct _CompositingFilter *) 0 ;
    5388           0 :     void *argp1 = 0 ;
    5389             :     int res1 = 0 ;
    5390             :     int argvi = 0;
    5391             :     char *result = 0 ;
    5392           0 :     dXSARGS;
    5393             :     
    5394           0 :     if ((items < 1) || (items > 1)) {
    5395           0 :       SWIG_croak("Usage: CompositingFilter_filter_get(self);");
    5396             :     }
    5397           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__CompositingFilter, 0 |  0 );
    5398           0 :     if (!SWIG_IsOK(res1)) {
    5399           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CompositingFilter_filter_get" "', argument " "1"" of type '" "struct _CompositingFilter *""'"); 
    5400             :     }
    5401           0 :     arg1 = (struct _CompositingFilter *)(argp1);
    5402           0 :     result = (char *) ((arg1)->filter);
    5403           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
    5404             :     
    5405           0 :     XSRETURN(argvi);
    5406             :   fail:
    5407             :     
    5408           0 :     SWIG_croak_null();
    5409             :   }
    5410             : }
    5411             : 
    5412             : 
    5413           0 : XS(_wrap_CompositingFilter_next_set) {
    5414             :   {
    5415             :     struct _CompositingFilter *arg1 = (struct _CompositingFilter *) 0 ;
    5416             :     struct _CompositingFilter *arg2 = (struct _CompositingFilter *) 0 ;
    5417           0 :     void *argp1 = 0 ;
    5418             :     int res1 = 0 ;
    5419           0 :     void *argp2 = 0 ;
    5420             :     int res2 = 0 ;
    5421             :     int argvi = 0;
    5422           0 :     dXSARGS;
    5423             :     
    5424           0 :     if ((items < 2) || (items > 2)) {
    5425           0 :       SWIG_croak("Usage: CompositingFilter_next_set(self,next);");
    5426             :     }
    5427           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__CompositingFilter, 0 |  0 );
    5428           0 :     if (!SWIG_IsOK(res1)) {
    5429           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CompositingFilter_next_set" "', argument " "1"" of type '" "struct _CompositingFilter *""'"); 
    5430             :     }
    5431           0 :     arg1 = (struct _CompositingFilter *)(argp1);
    5432           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p__CompositingFilter, SWIG_POINTER_DISOWN |  0 );
    5433           0 :     if (!SWIG_IsOK(res2)) {
    5434           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CompositingFilter_next_set" "', argument " "2"" of type '" "struct _CompositingFilter *""'"); 
    5435             :     }
    5436           0 :     arg2 = (struct _CompositingFilter *)(argp2);
    5437           0 :     if (arg1) (arg1)->next = arg2;
    5438           0 :     ST(argvi) = sv_newmortal();
    5439             :     
    5440             :     
    5441           0 :     XSRETURN(argvi);
    5442             :   fail:
    5443             :     
    5444             :     
    5445           0 :     SWIG_croak_null();
    5446             :   }
    5447             : }
    5448             : 
    5449             : 
    5450           0 : XS(_wrap_CompositingFilter_next_get) {
    5451             :   {
    5452             :     struct _CompositingFilter *arg1 = (struct _CompositingFilter *) 0 ;
    5453           0 :     void *argp1 = 0 ;
    5454             :     int res1 = 0 ;
    5455             :     int argvi = 0;
    5456             :     struct _CompositingFilter *result = 0 ;
    5457           0 :     dXSARGS;
    5458             :     
    5459           0 :     if ((items < 1) || (items > 1)) {
    5460           0 :       SWIG_croak("Usage: CompositingFilter_next_get(self);");
    5461             :     }
    5462           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__CompositingFilter, 0 |  0 );
    5463           0 :     if (!SWIG_IsOK(res1)) {
    5464           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CompositingFilter_next_get" "', argument " "1"" of type '" "struct _CompositingFilter *""'"); 
    5465             :     }
    5466           0 :     arg1 = (struct _CompositingFilter *)(argp1);
    5467           0 :     result = (struct _CompositingFilter *) ((arg1)->next);
    5468           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__CompositingFilter, 0 | SWIG_SHADOW); argvi++ ;
    5469             :     
    5470           0 :     XSRETURN(argvi);
    5471             :   fail:
    5472             :     
    5473           0 :     SWIG_croak_null();
    5474             :   }
    5475             : }
    5476             : 
    5477             : 
    5478           0 : XS(_wrap_new_CompositingFilter) {
    5479             :   {
    5480             :     int argvi = 0;
    5481             :     struct _CompositingFilter *result = 0 ;
    5482           0 :     dXSARGS;
    5483             :     
    5484           0 :     if ((items < 0) || (items > 0)) {
    5485           0 :       SWIG_croak("Usage: new_CompositingFilter();");
    5486             :     }
    5487           0 :     result = (struct _CompositingFilter *)calloc(1, sizeof(struct _CompositingFilter));
    5488           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__CompositingFilter, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    5489           0 :     XSRETURN(argvi);
    5490             :   fail:
    5491           0 :     SWIG_croak_null();
    5492             :   }
    5493             : }
    5494             : 
    5495             : 
    5496           0 : XS(_wrap_delete_CompositingFilter) {
    5497             :   {
    5498             :     struct _CompositingFilter *arg1 = (struct _CompositingFilter *) 0 ;
    5499           0 :     void *argp1 = 0 ;
    5500             :     int res1 = 0 ;
    5501             :     int argvi = 0;
    5502           0 :     dXSARGS;
    5503             :     
    5504           0 :     if ((items < 1) || (items > 1)) {
    5505           0 :       SWIG_croak("Usage: delete_CompositingFilter(self);");
    5506             :     }
    5507           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__CompositingFilter, SWIG_POINTER_DISOWN |  0 );
    5508           0 :     if (!SWIG_IsOK(res1)) {
    5509           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CompositingFilter" "', argument " "1"" of type '" "struct _CompositingFilter *""'"); 
    5510             :     }
    5511           0 :     arg1 = (struct _CompositingFilter *)(argp1);
    5512           0 :     free((char *) arg1);
    5513           0 :     ST(argvi) = sv_newmortal();
    5514             :     
    5515           0 :     XSRETURN(argvi);
    5516             :   fail:
    5517             :     
    5518           0 :     SWIG_croak_null();
    5519             :   }
    5520             : }
    5521             : 
    5522             : 
    5523           0 : XS(_wrap_LayerCompositer_comp_op_set) {
    5524             :   {
    5525             :     struct _LayerCompositer *arg1 = (struct _LayerCompositer *) 0 ;
    5526             :     CompositingOperation arg2 ;
    5527           0 :     void *argp1 = 0 ;
    5528             :     int res1 = 0 ;
    5529             :     int val2 ;
    5530             :     int ecode2 = 0 ;
    5531             :     int argvi = 0;
    5532           0 :     dXSARGS;
    5533             :     
    5534           0 :     if ((items < 2) || (items > 2)) {
    5535           0 :       SWIG_croak("Usage: LayerCompositer_comp_op_set(self,comp_op);");
    5536             :     }
    5537           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__LayerCompositer, 0 |  0 );
    5538           0 :     if (!SWIG_IsOK(res1)) {
    5539           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayerCompositer_comp_op_set" "', argument " "1"" of type '" "struct _LayerCompositer *""'"); 
    5540             :     }
    5541           0 :     arg1 = (struct _LayerCompositer *)(argp1);
    5542           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    5543           0 :     if (!SWIG_IsOK(ecode2)) {
    5544           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LayerCompositer_comp_op_set" "', argument " "2"" of type '" "CompositingOperation""'");
    5545             :     } 
    5546           0 :     arg2 = (CompositingOperation)(val2);
    5547           0 :     if (arg1) (arg1)->comp_op = arg2;
    5548           0 :     ST(argvi) = sv_newmortal();
    5549             :     
    5550             :     
    5551           0 :     XSRETURN(argvi);
    5552             :   fail:
    5553             :     
    5554             :     
    5555           0 :     SWIG_croak_null();
    5556             :   }
    5557             : }
    5558             : 
    5559             : 
    5560           0 : XS(_wrap_LayerCompositer_comp_op_get) {
    5561             :   {
    5562             :     struct _LayerCompositer *arg1 = (struct _LayerCompositer *) 0 ;
    5563           0 :     void *argp1 = 0 ;
    5564             :     int res1 = 0 ;
    5565             :     int argvi = 0;
    5566             :     CompositingOperation result;
    5567           0 :     dXSARGS;
    5568             :     
    5569           0 :     if ((items < 1) || (items > 1)) {
    5570           0 :       SWIG_croak("Usage: LayerCompositer_comp_op_get(self);");
    5571             :     }
    5572           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__LayerCompositer, 0 |  0 );
    5573           0 :     if (!SWIG_IsOK(res1)) {
    5574           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayerCompositer_comp_op_get" "', argument " "1"" of type '" "struct _LayerCompositer *""'"); 
    5575             :     }
    5576           0 :     arg1 = (struct _LayerCompositer *)(argp1);
    5577           0 :     result = (CompositingOperation) ((arg1)->comp_op);
    5578           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
    5579             :     
    5580           0 :     XSRETURN(argvi);
    5581             :   fail:
    5582             :     
    5583           0 :     SWIG_croak_null();
    5584             :   }
    5585             : }
    5586             : 
    5587             : 
    5588           0 : XS(_wrap_LayerCompositer_opacity_set) {
    5589             :   {
    5590             :     struct _LayerCompositer *arg1 = (struct _LayerCompositer *) 0 ;
    5591             :     int arg2 ;
    5592           0 :     void *argp1 = 0 ;
    5593             :     int res1 = 0 ;
    5594             :     int val2 ;
    5595             :     int ecode2 = 0 ;
    5596             :     int argvi = 0;
    5597           0 :     dXSARGS;
    5598             :     
    5599           0 :     if ((items < 2) || (items > 2)) {
    5600           0 :       SWIG_croak("Usage: LayerCompositer_opacity_set(self,opacity);");
    5601             :     }
    5602           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__LayerCompositer, 0 |  0 );
    5603           0 :     if (!SWIG_IsOK(res1)) {
    5604           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayerCompositer_opacity_set" "', argument " "1"" of type '" "struct _LayerCompositer *""'"); 
    5605             :     }
    5606           0 :     arg1 = (struct _LayerCompositer *)(argp1);
    5607           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    5608           0 :     if (!SWIG_IsOK(ecode2)) {
    5609           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LayerCompositer_opacity_set" "', argument " "2"" of type '" "int""'");
    5610             :     } 
    5611           0 :     arg2 = (int)(val2);
    5612           0 :     if (arg1) (arg1)->opacity = arg2;
    5613           0 :     ST(argvi) = sv_newmortal();
    5614             :     
    5615             :     
    5616           0 :     XSRETURN(argvi);
    5617             :   fail:
    5618             :     
    5619             :     
    5620           0 :     SWIG_croak_null();
    5621             :   }
    5622             : }
    5623             : 
    5624             : 
    5625           0 : XS(_wrap_LayerCompositer_opacity_get) {
    5626             :   {
    5627             :     struct _LayerCompositer *arg1 = (struct _LayerCompositer *) 0 ;
    5628           0 :     void *argp1 = 0 ;
    5629             :     int res1 = 0 ;
    5630             :     int argvi = 0;
    5631             :     int result;
    5632           0 :     dXSARGS;
    5633             :     
    5634           0 :     if ((items < 1) || (items > 1)) {
    5635           0 :       SWIG_croak("Usage: LayerCompositer_opacity_get(self);");
    5636             :     }
    5637           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__LayerCompositer, 0 |  0 );
    5638           0 :     if (!SWIG_IsOK(res1)) {
    5639           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayerCompositer_opacity_get" "', argument " "1"" of type '" "struct _LayerCompositer *""'"); 
    5640             :     }
    5641           0 :     arg1 = (struct _LayerCompositer *)(argp1);
    5642           0 :     result = (int) ((arg1)->opacity);
    5643           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
    5644             :     
    5645           0 :     XSRETURN(argvi);
    5646             :   fail:
    5647             :     
    5648           0 :     SWIG_croak_null();
    5649             :   }
    5650             : }
    5651             : 
    5652             : 
    5653           0 : XS(_wrap_LayerCompositer_filter_set) {
    5654             :   {
    5655             :     struct _LayerCompositer *arg1 = (struct _LayerCompositer *) 0 ;
    5656             :     CompositingFilter *arg2 = (CompositingFilter *) 0 ;
    5657           0 :     void *argp1 = 0 ;
    5658             :     int res1 = 0 ;
    5659           0 :     void *argp2 = 0 ;
    5660             :     int res2 = 0 ;
    5661             :     int argvi = 0;
    5662           0 :     dXSARGS;
    5663             :     
    5664           0 :     if ((items < 2) || (items > 2)) {
    5665           0 :       SWIG_croak("Usage: LayerCompositer_filter_set(self,filter);");
    5666             :     }
    5667           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__LayerCompositer, 0 |  0 );
    5668           0 :     if (!SWIG_IsOK(res1)) {
    5669           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayerCompositer_filter_set" "', argument " "1"" of type '" "struct _LayerCompositer *""'"); 
    5670             :     }
    5671           0 :     arg1 = (struct _LayerCompositer *)(argp1);
    5672           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p__CompositingFilter, SWIG_POINTER_DISOWN |  0 );
    5673           0 :     if (!SWIG_IsOK(res2)) {
    5674           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayerCompositer_filter_set" "', argument " "2"" of type '" "CompositingFilter *""'"); 
    5675             :     }
    5676           0 :     arg2 = (CompositingFilter *)(argp2);
    5677           0 :     if (arg1) (arg1)->filter = arg2;
    5678           0 :     ST(argvi) = sv_newmortal();
    5679             :     
    5680             :     
    5681           0 :     XSRETURN(argvi);
    5682             :   fail:
    5683             :     
    5684             :     
    5685           0 :     SWIG_croak_null();
    5686             :   }
    5687             : }
    5688             : 
    5689             : 
    5690           0 : XS(_wrap_LayerCompositer_filter_get) {
    5691             :   {
    5692             :     struct _LayerCompositer *arg1 = (struct _LayerCompositer *) 0 ;
    5693           0 :     void *argp1 = 0 ;
    5694             :     int res1 = 0 ;
    5695             :     int argvi = 0;
    5696             :     CompositingFilter *result = 0 ;
    5697           0 :     dXSARGS;
    5698             :     
    5699           0 :     if ((items < 1) || (items > 1)) {
    5700           0 :       SWIG_croak("Usage: LayerCompositer_filter_get(self);");
    5701             :     }
    5702           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__LayerCompositer, 0 |  0 );
    5703           0 :     if (!SWIG_IsOK(res1)) {
    5704           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayerCompositer_filter_get" "', argument " "1"" of type '" "struct _LayerCompositer *""'"); 
    5705             :     }
    5706           0 :     arg1 = (struct _LayerCompositer *)(argp1);
    5707           0 :     result = (CompositingFilter *) ((arg1)->filter);
    5708           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__CompositingFilter, 0 | SWIG_SHADOW); argvi++ ;
    5709             :     
    5710           0 :     XSRETURN(argvi);
    5711             :   fail:
    5712             :     
    5713           0 :     SWIG_croak_null();
    5714             :   }
    5715             : }
    5716             : 
    5717             : 
    5718           0 : XS(_wrap_LayerCompositer_next_set) {
    5719             :   {
    5720             :     struct _LayerCompositer *arg1 = (struct _LayerCompositer *) 0 ;
    5721             :     struct _LayerCompositer *arg2 = (struct _LayerCompositer *) 0 ;
    5722           0 :     void *argp1 = 0 ;
    5723             :     int res1 = 0 ;
    5724           0 :     void *argp2 = 0 ;
    5725             :     int res2 = 0 ;
    5726             :     int argvi = 0;
    5727           0 :     dXSARGS;
    5728             :     
    5729           0 :     if ((items < 2) || (items > 2)) {
    5730           0 :       SWIG_croak("Usage: LayerCompositer_next_set(self,next);");
    5731             :     }
    5732           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__LayerCompositer, 0 |  0 );
    5733           0 :     if (!SWIG_IsOK(res1)) {
    5734           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayerCompositer_next_set" "', argument " "1"" of type '" "struct _LayerCompositer *""'"); 
    5735             :     }
    5736           0 :     arg1 = (struct _LayerCompositer *)(argp1);
    5737           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p__LayerCompositer, SWIG_POINTER_DISOWN |  0 );
    5738           0 :     if (!SWIG_IsOK(res2)) {
    5739           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayerCompositer_next_set" "', argument " "2"" of type '" "struct _LayerCompositer *""'"); 
    5740             :     }
    5741           0 :     arg2 = (struct _LayerCompositer *)(argp2);
    5742           0 :     if (arg1) (arg1)->next = arg2;
    5743           0 :     ST(argvi) = sv_newmortal();
    5744             :     
    5745             :     
    5746           0 :     XSRETURN(argvi);
    5747             :   fail:
    5748             :     
    5749             :     
    5750           0 :     SWIG_croak_null();
    5751             :   }
    5752             : }
    5753             : 
    5754             : 
    5755           0 : XS(_wrap_LayerCompositer_next_get) {
    5756             :   {
    5757             :     struct _LayerCompositer *arg1 = (struct _LayerCompositer *) 0 ;
    5758           0 :     void *argp1 = 0 ;
    5759             :     int res1 = 0 ;
    5760             :     int argvi = 0;
    5761             :     struct _LayerCompositer *result = 0 ;
    5762           0 :     dXSARGS;
    5763             :     
    5764           0 :     if ((items < 1) || (items > 1)) {
    5765           0 :       SWIG_croak("Usage: LayerCompositer_next_get(self);");
    5766             :     }
    5767           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__LayerCompositer, 0 |  0 );
    5768           0 :     if (!SWIG_IsOK(res1)) {
    5769           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayerCompositer_next_get" "', argument " "1"" of type '" "struct _LayerCompositer *""'"); 
    5770             :     }
    5771           0 :     arg1 = (struct _LayerCompositer *)(argp1);
    5772           0 :     result = (struct _LayerCompositer *) ((arg1)->next);
    5773           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__LayerCompositer, 0 | SWIG_SHADOW); argvi++ ;
    5774             :     
    5775           0 :     XSRETURN(argvi);
    5776             :   fail:
    5777             :     
    5778           0 :     SWIG_croak_null();
    5779             :   }
    5780             : }
    5781             : 
    5782             : 
    5783           0 : XS(_wrap_new_LayerCompositer) {
    5784             :   {
    5785             :     int argvi = 0;
    5786             :     struct _LayerCompositer *result = 0 ;
    5787           0 :     dXSARGS;
    5788             :     
    5789           0 :     if ((items < 0) || (items > 0)) {
    5790           0 :       SWIG_croak("Usage: new_LayerCompositer();");
    5791             :     }
    5792           0 :     result = (struct _LayerCompositer *)calloc(1, sizeof(struct _LayerCompositer));
    5793           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__LayerCompositer, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    5794           0 :     XSRETURN(argvi);
    5795             :   fail:
    5796           0 :     SWIG_croak_null();
    5797             :   }
    5798             : }
    5799             : 
    5800             : 
    5801           0 : XS(_wrap_delete_LayerCompositer) {
    5802             :   {
    5803             :     struct _LayerCompositer *arg1 = (struct _LayerCompositer *) 0 ;
    5804           0 :     void *argp1 = 0 ;
    5805             :     int res1 = 0 ;
    5806             :     int argvi = 0;
    5807           0 :     dXSARGS;
    5808             :     
    5809           0 :     if ((items < 1) || (items > 1)) {
    5810           0 :       SWIG_croak("Usage: delete_LayerCompositer(self);");
    5811             :     }
    5812           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__LayerCompositer, SWIG_POINTER_DISOWN |  0 );
    5813           0 :     if (!SWIG_IsOK(res1)) {
    5814           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayerCompositer" "', argument " "1"" of type '" "struct _LayerCompositer *""'"); 
    5815             :     }
    5816           0 :     arg1 = (struct _LayerCompositer *)(argp1);
    5817           0 :     free((char *) arg1);
    5818           0 :     ST(argvi) = sv_newmortal();
    5819             :     
    5820           0 :     XSRETURN(argvi);
    5821             :   fail:
    5822             :     
    5823           0 :     SWIG_croak_null();
    5824             :   }
    5825             : }
    5826             : 
    5827             : 
    5828           0 : XS(_wrap_fontSetObj_filename_get) {
    5829             :   {
    5830             :     fontSetObj *arg1 = (fontSetObj *) 0 ;
    5831           0 :     void *argp1 = 0 ;
    5832             :     int res1 = 0 ;
    5833             :     int argvi = 0;
    5834             :     char *result = 0 ;
    5835           0 :     dXSARGS;
    5836             :     
    5837           0 :     if ((items < 1) || (items > 1)) {
    5838           0 :       SWIG_croak("Usage: fontSetObj_filename_get(self);");
    5839             :     }
    5840           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_fontSetObj, 0 |  0 );
    5841           0 :     if (!SWIG_IsOK(res1)) {
    5842           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fontSetObj_filename_get" "', argument " "1"" of type '" "fontSetObj *""'"); 
    5843             :     }
    5844           0 :     arg1 = (fontSetObj *)(argp1);
    5845           0 :     result = (char *) ((arg1)->filename);
    5846           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
    5847             :     
    5848           0 :     XSRETURN(argvi);
    5849             :   fail:
    5850             :     
    5851           0 :     SWIG_croak_null();
    5852             :   }
    5853             : }
    5854             : 
    5855             : 
    5856           0 : XS(_wrap_fontSetObj_numfonts_get) {
    5857             :   {
    5858             :     fontSetObj *arg1 = (fontSetObj *) 0 ;
    5859           0 :     void *argp1 = 0 ;
    5860             :     int res1 = 0 ;
    5861             :     int argvi = 0;
    5862             :     int result;
    5863           0 :     dXSARGS;
    5864             :     
    5865           0 :     if ((items < 1) || (items > 1)) {
    5866           0 :       SWIG_croak("Usage: fontSetObj_numfonts_get(self);");
    5867             :     }
    5868           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_fontSetObj, 0 |  0 );
    5869           0 :     if (!SWIG_IsOK(res1)) {
    5870           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fontSetObj_numfonts_get" "', argument " "1"" of type '" "fontSetObj *""'"); 
    5871             :     }
    5872           0 :     arg1 = (fontSetObj *)(argp1);
    5873           0 :     result = (int) ((arg1)->numfonts);
    5874           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
    5875             :     
    5876           0 :     XSRETURN(argvi);
    5877             :   fail:
    5878             :     
    5879           0 :     SWIG_croak_null();
    5880             :   }
    5881             : }
    5882             : 
    5883             : 
    5884           0 : XS(_wrap_fontSetObj_fonts_get) {
    5885             :   {
    5886             :     fontSetObj *arg1 = (fontSetObj *) 0 ;
    5887           0 :     void *argp1 = 0 ;
    5888             :     int res1 = 0 ;
    5889             :     int argvi = 0;
    5890             :     hashTableObj *result = 0 ;
    5891           0 :     dXSARGS;
    5892             :     
    5893           0 :     if ((items < 1) || (items > 1)) {
    5894           0 :       SWIG_croak("Usage: fontSetObj_fonts_get(self);");
    5895             :     }
    5896           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_fontSetObj, 0 |  0 );
    5897           0 :     if (!SWIG_IsOK(res1)) {
    5898           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fontSetObj_fonts_get" "', argument " "1"" of type '" "fontSetObj *""'"); 
    5899             :     }
    5900           0 :     arg1 = (fontSetObj *)(argp1);
    5901           0 :     result = (hashTableObj *)& ((arg1)->fonts);
    5902           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_hashTableObj, 0 | SWIG_SHADOW); argvi++ ;
    5903             :     
    5904           0 :     XSRETURN(argvi);
    5905             :   fail:
    5906             :     
    5907           0 :     SWIG_croak_null();
    5908             :   }
    5909             : }
    5910             : 
    5911             : 
    5912           0 : XS(_wrap_new_fontSetObj) {
    5913             :   {
    5914             :     int argvi = 0;
    5915             :     fontSetObj *result = 0 ;
    5916           0 :     dXSARGS;
    5917             :     
    5918           0 :     if ((items < 0) || (items > 0)) {
    5919           0 :       SWIG_croak("Usage: new_fontSetObj();");
    5920             :     }
    5921           0 :     result = (fontSetObj *)calloc(1, sizeof(fontSetObj));
    5922           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_fontSetObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    5923           0 :     XSRETURN(argvi);
    5924             :   fail:
    5925           0 :     SWIG_croak_null();
    5926             :   }
    5927             : }
    5928             : 
    5929             : 
    5930           0 : XS(_wrap_delete_fontSetObj) {
    5931             :   {
    5932             :     fontSetObj *arg1 = (fontSetObj *) 0 ;
    5933           0 :     void *argp1 = 0 ;
    5934             :     int res1 = 0 ;
    5935             :     int argvi = 0;
    5936           0 :     dXSARGS;
    5937             :     
    5938           0 :     if ((items < 1) || (items > 1)) {
    5939           0 :       SWIG_croak("Usage: delete_fontSetObj(self);");
    5940             :     }
    5941           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_fontSetObj, SWIG_POINTER_DISOWN |  0 );
    5942           0 :     if (!SWIG_IsOK(res1)) {
    5943           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_fontSetObj" "', argument " "1"" of type '" "fontSetObj *""'"); 
    5944             :     }
    5945           0 :     arg1 = (fontSetObj *)(argp1);
    5946           0 :     free((char *) arg1);
    5947           0 :     ST(argvi) = sv_newmortal();
    5948             :     
    5949           0 :     XSRETURN(argvi);
    5950             :   fail:
    5951             :     
    5952           0 :     SWIG_croak_null();
    5953             :   }
    5954             : }
    5955             : 
    5956             : 
    5957           0 : XS(_wrap_clusterObj_maxdistance_set) {
    5958             :   {
    5959             :     clusterObj *arg1 = (clusterObj *) 0 ;
    5960             :     double arg2 ;
    5961           0 :     void *argp1 = 0 ;
    5962             :     int res1 = 0 ;
    5963             :     double val2 ;
    5964             :     int ecode2 = 0 ;
    5965             :     int argvi = 0;
    5966           0 :     dXSARGS;
    5967             :     
    5968           0 :     if ((items < 2) || (items > 2)) {
    5969           0 :       SWIG_croak("Usage: clusterObj_maxdistance_set(self,maxdistance);");
    5970             :     }
    5971           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_clusterObj, 0 |  0 );
    5972           0 :     if (!SWIG_IsOK(res1)) {
    5973           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "clusterObj_maxdistance_set" "', argument " "1"" of type '" "clusterObj *""'"); 
    5974             :     }
    5975           0 :     arg1 = (clusterObj *)(argp1);
    5976           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    5977           0 :     if (!SWIG_IsOK(ecode2)) {
    5978           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "clusterObj_maxdistance_set" "', argument " "2"" of type '" "double""'");
    5979             :     } 
    5980           0 :     arg2 = (double)(val2);
    5981           0 :     if (arg1) (arg1)->maxdistance = arg2;
    5982           0 :     ST(argvi) = sv_newmortal();
    5983             :     
    5984             :     
    5985           0 :     XSRETURN(argvi);
    5986             :   fail:
    5987             :     
    5988             :     
    5989           0 :     SWIG_croak_null();
    5990             :   }
    5991             : }
    5992             : 
    5993             : 
    5994           0 : XS(_wrap_clusterObj_maxdistance_get) {
    5995             :   {
    5996             :     clusterObj *arg1 = (clusterObj *) 0 ;
    5997           0 :     void *argp1 = 0 ;
    5998             :     int res1 = 0 ;
    5999             :     int argvi = 0;
    6000             :     double result;
    6001           0 :     dXSARGS;
    6002             :     
    6003           0 :     if ((items < 1) || (items > 1)) {
    6004           0 :       SWIG_croak("Usage: clusterObj_maxdistance_get(self);");
    6005             :     }
    6006           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_clusterObj, 0 |  0 );
    6007           0 :     if (!SWIG_IsOK(res1)) {
    6008           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "clusterObj_maxdistance_get" "', argument " "1"" of type '" "clusterObj *""'"); 
    6009             :     }
    6010           0 :     arg1 = (clusterObj *)(argp1);
    6011           0 :     result = (double) ((arg1)->maxdistance);
    6012           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
    6013             :     
    6014           0 :     XSRETURN(argvi);
    6015             :   fail:
    6016             :     
    6017           0 :     SWIG_croak_null();
    6018             :   }
    6019             : }
    6020             : 
    6021             : 
    6022           0 : XS(_wrap_clusterObj_buffer_set) {
    6023             :   {
    6024             :     clusterObj *arg1 = (clusterObj *) 0 ;
    6025             :     double arg2 ;
    6026           0 :     void *argp1 = 0 ;
    6027             :     int res1 = 0 ;
    6028             :     double val2 ;
    6029             :     int ecode2 = 0 ;
    6030             :     int argvi = 0;
    6031           0 :     dXSARGS;
    6032             :     
    6033           0 :     if ((items < 2) || (items > 2)) {
    6034           0 :       SWIG_croak("Usage: clusterObj_buffer_set(self,buffer);");
    6035             :     }
    6036           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_clusterObj, 0 |  0 );
    6037           0 :     if (!SWIG_IsOK(res1)) {
    6038           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "clusterObj_buffer_set" "', argument " "1"" of type '" "clusterObj *""'"); 
    6039             :     }
    6040           0 :     arg1 = (clusterObj *)(argp1);
    6041           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    6042           0 :     if (!SWIG_IsOK(ecode2)) {
    6043           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "clusterObj_buffer_set" "', argument " "2"" of type '" "double""'");
    6044             :     } 
    6045           0 :     arg2 = (double)(val2);
    6046           0 :     if (arg1) (arg1)->buffer = arg2;
    6047           0 :     ST(argvi) = sv_newmortal();
    6048             :     
    6049             :     
    6050           0 :     XSRETURN(argvi);
    6051             :   fail:
    6052             :     
    6053             :     
    6054           0 :     SWIG_croak_null();
    6055             :   }
    6056             : }
    6057             : 
    6058             : 
    6059           0 : XS(_wrap_clusterObj_buffer_get) {
    6060             :   {
    6061             :     clusterObj *arg1 = (clusterObj *) 0 ;
    6062           0 :     void *argp1 = 0 ;
    6063             :     int res1 = 0 ;
    6064             :     int argvi = 0;
    6065             :     double result;
    6066           0 :     dXSARGS;
    6067             :     
    6068           0 :     if ((items < 1) || (items > 1)) {
    6069           0 :       SWIG_croak("Usage: clusterObj_buffer_get(self);");
    6070             :     }
    6071           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_clusterObj, 0 |  0 );
    6072           0 :     if (!SWIG_IsOK(res1)) {
    6073           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "clusterObj_buffer_get" "', argument " "1"" of type '" "clusterObj *""'"); 
    6074             :     }
    6075           0 :     arg1 = (clusterObj *)(argp1);
    6076           0 :     result = (double) ((arg1)->buffer);
    6077           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
    6078             :     
    6079           0 :     XSRETURN(argvi);
    6080             :   fail:
    6081             :     
    6082           0 :     SWIG_croak_null();
    6083             :   }
    6084             : }
    6085             : 
    6086             : 
    6087           0 : XS(_wrap_clusterObj_region_set) {
    6088             :   {
    6089             :     clusterObj *arg1 = (clusterObj *) 0 ;
    6090             :     char *arg2 = (char *) 0 ;
    6091           0 :     void *argp1 = 0 ;
    6092             :     int res1 = 0 ;
    6093             :     int res2 ;
    6094           0 :     char *buf2 = 0 ;
    6095           0 :     int alloc2 = 0 ;
    6096             :     int argvi = 0;
    6097           0 :     dXSARGS;
    6098             :     
    6099           0 :     if ((items < 2) || (items > 2)) {
    6100           0 :       SWIG_croak("Usage: clusterObj_region_set(self,region);");
    6101             :     }
    6102           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_clusterObj, 0 |  0 );
    6103           0 :     if (!SWIG_IsOK(res1)) {
    6104           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "clusterObj_region_set" "', argument " "1"" of type '" "clusterObj *""'"); 
    6105             :     }
    6106           0 :     arg1 = (clusterObj *)(argp1);
    6107           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    6108           0 :     if (!SWIG_IsOK(res2)) {
    6109           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "clusterObj_region_set" "', argument " "2"" of type '" "char *""'");
    6110             :     }
    6111           0 :     arg2 = (char *)(buf2);
    6112             :     {
    6113           0 :       if (arg1->region) free((char*)arg1->region);
    6114           0 :       if (arg2) {
    6115           0 :         arg1->region = (char *) malloc(strlen(arg2)+1);
    6116             :         strcpy((char*)arg1->region,arg2);
    6117             :       } else {
    6118           0 :         arg1->region = 0;
    6119             :       }
    6120             :     }
    6121           0 :     ST(argvi) = sv_newmortal();
    6122             :     
    6123           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    6124           0 :     XSRETURN(argvi);
    6125             :   fail:
    6126             :     
    6127           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    6128           0 :     SWIG_croak_null();
    6129             :   }
    6130             : }
    6131             : 
    6132             : 
    6133           0 : XS(_wrap_clusterObj_region_get) {
    6134             :   {
    6135             :     clusterObj *arg1 = (clusterObj *) 0 ;
    6136           0 :     void *argp1 = 0 ;
    6137             :     int res1 = 0 ;
    6138             :     int argvi = 0;
    6139             :     char *result = 0 ;
    6140           0 :     dXSARGS;
    6141             :     
    6142           0 :     if ((items < 1) || (items > 1)) {
    6143           0 :       SWIG_croak("Usage: clusterObj_region_get(self);");
    6144             :     }
    6145           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_clusterObj, 0 |  0 );
    6146           0 :     if (!SWIG_IsOK(res1)) {
    6147           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "clusterObj_region_get" "', argument " "1"" of type '" "clusterObj *""'"); 
    6148             :     }
    6149           0 :     arg1 = (clusterObj *)(argp1);
    6150           0 :     result = (char *) ((arg1)->region);
    6151           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
    6152             :     
    6153           0 :     XSRETURN(argvi);
    6154             :   fail:
    6155             :     
    6156           0 :     SWIG_croak_null();
    6157             :   }
    6158             : }
    6159             : 
    6160             : 
    6161           0 : XS(_wrap_clusterObj_updateFromString) {
    6162             :   {
    6163             :     clusterObj *arg1 = (clusterObj *) 0 ;
    6164             :     char *arg2 = (char *) 0 ;
    6165           0 :     void *argp1 = 0 ;
    6166             :     int res1 = 0 ;
    6167             :     int res2 ;
    6168           0 :     char *buf2 = 0 ;
    6169           0 :     int alloc2 = 0 ;
    6170             :     int argvi = 0;
    6171             :     int result;
    6172           0 :     dXSARGS;
    6173             :     
    6174           0 :     if ((items < 2) || (items > 2)) {
    6175           0 :       SWIG_croak("Usage: clusterObj_updateFromString(self,snippet);");
    6176             :     }
    6177           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_clusterObj, 0 |  0 );
    6178           0 :     if (!SWIG_IsOK(res1)) {
    6179           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "clusterObj_updateFromString" "', argument " "1"" of type '" "clusterObj *""'"); 
    6180             :     }
    6181           0 :     arg1 = (clusterObj *)(argp1);
    6182           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    6183           0 :     if (!SWIG_IsOK(res2)) {
    6184           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "clusterObj_updateFromString" "', argument " "2"" of type '" "char *""'");
    6185             :     }
    6186           0 :     arg2 = (char *)(buf2);
    6187             :     result = (int)clusterObj_updateFromString(arg1,arg2);
    6188           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
    6189             :     
    6190           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    6191           0 :     XSRETURN(argvi);
    6192             :   fail:
    6193             :     
    6194           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    6195           0 :     SWIG_croak_null();
    6196             :   }
    6197             : }
    6198             : 
    6199             : 
    6200           0 : XS(_wrap_clusterObj_convertToString) {
    6201             :   {
    6202             :     clusterObj *arg1 = (clusterObj *) 0 ;
    6203           0 :     void *argp1 = 0 ;
    6204             :     int res1 = 0 ;
    6205             :     int argvi = 0;
    6206             :     char *result = 0 ;
    6207           0 :     dXSARGS;
    6208             :     
    6209           0 :     if ((items < 1) || (items > 1)) {
    6210           0 :       SWIG_croak("Usage: clusterObj_convertToString(self);");
    6211             :     }
    6212           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_clusterObj, 0 |  0 );
    6213           0 :     if (!SWIG_IsOK(res1)) {
    6214           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "clusterObj_convertToString" "', argument " "1"" of type '" "clusterObj *""'"); 
    6215             :     }
    6216           0 :     arg1 = (clusterObj *)(argp1);
    6217             :     result = (char *)clusterObj_convertToString(arg1);
    6218           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
    6219             :     
    6220           0 :     free((char*)result);
    6221           0 :     XSRETURN(argvi);
    6222             :   fail:
    6223             :     
    6224           0 :     SWIG_croak_null();
    6225             :   }
    6226             : }
    6227             : 
    6228             : 
    6229           0 : XS(_wrap_clusterObj_setGroup) {
    6230             :   {
    6231             :     clusterObj *arg1 = (clusterObj *) 0 ;
    6232             :     char *arg2 = (char *) 0 ;
    6233           0 :     void *argp1 = 0 ;
    6234             :     int res1 = 0 ;
    6235             :     int res2 ;
    6236           0 :     char *buf2 = 0 ;
    6237           0 :     int alloc2 = 0 ;
    6238             :     int argvi = 0;
    6239             :     int result;
    6240           0 :     dXSARGS;
    6241             :     
    6242           0 :     if ((items < 2) || (items > 2)) {
    6243           0 :       SWIG_croak("Usage: clusterObj_setGroup(self,group);");
    6244             :     }
    6245           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_clusterObj, 0 |  0 );
    6246           0 :     if (!SWIG_IsOK(res1)) {
    6247           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "clusterObj_setGroup" "', argument " "1"" of type '" "clusterObj *""'"); 
    6248             :     }
    6249           0 :     arg1 = (clusterObj *)(argp1);
    6250           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    6251           0 :     if (!SWIG_IsOK(res2)) {
    6252           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "clusterObj_setGroup" "', argument " "2"" of type '" "char *""'");
    6253             :     }
    6254           0 :     arg2 = (char *)(buf2);
    6255           0 :     result = (int)clusterObj_setGroup(arg1,arg2);
    6256           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
    6257             :     
    6258           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    6259           0 :     XSRETURN(argvi);
    6260             :   fail:
    6261             :     
    6262           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    6263           0 :     SWIG_croak_null();
    6264             :   }
    6265             : }
    6266             : 
    6267             : 
    6268           0 : XS(_wrap_clusterObj_getGroupString) {
    6269             :   {
    6270             :     clusterObj *arg1 = (clusterObj *) 0 ;
    6271           0 :     void *argp1 = 0 ;
    6272             :     int res1 = 0 ;
    6273             :     int argvi = 0;
    6274             :     char *result = 0 ;
    6275           0 :     dXSARGS;
    6276             :     
    6277           0 :     if ((items < 1) || (items > 1)) {
    6278           0 :       SWIG_croak("Usage: clusterObj_getGroupString(self);");
    6279             :     }
    6280           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_clusterObj, 0 |  0 );
    6281           0 :     if (!SWIG_IsOK(res1)) {
    6282           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "clusterObj_getGroupString" "', argument " "1"" of type '" "clusterObj *""'"); 
    6283             :     }
    6284           0 :     arg1 = (clusterObj *)(argp1);
    6285             :     result = (char *)clusterObj_getGroupString(arg1);
    6286           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
    6287             :     
    6288           0 :     free((char*)result);
    6289           0 :     XSRETURN(argvi);
    6290             :   fail:
    6291             :     
    6292           0 :     SWIG_croak_null();
    6293             :   }
    6294             : }
    6295             : 
    6296             : 
    6297           0 : XS(_wrap_clusterObj_setFilter) {
    6298             :   {
    6299             :     clusterObj *arg1 = (clusterObj *) 0 ;
    6300             :     char *arg2 = (char *) 0 ;
    6301           0 :     void *argp1 = 0 ;
    6302             :     int res1 = 0 ;
    6303             :     int res2 ;
    6304           0 :     char *buf2 = 0 ;
    6305           0 :     int alloc2 = 0 ;
    6306             :     int argvi = 0;
    6307             :     int result;
    6308           0 :     dXSARGS;
    6309             :     
    6310           0 :     if ((items < 2) || (items > 2)) {
    6311           0 :       SWIG_croak("Usage: clusterObj_setFilter(self,filter);");
    6312             :     }
    6313           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_clusterObj, 0 |  0 );
    6314           0 :     if (!SWIG_IsOK(res1)) {
    6315           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "clusterObj_setFilter" "', argument " "1"" of type '" "clusterObj *""'"); 
    6316             :     }
    6317           0 :     arg1 = (clusterObj *)(argp1);
    6318           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    6319           0 :     if (!SWIG_IsOK(res2)) {
    6320           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "clusterObj_setFilter" "', argument " "2"" of type '" "char *""'");
    6321             :     }
    6322           0 :     arg2 = (char *)(buf2);
    6323           0 :     result = (int)clusterObj_setFilter(arg1,arg2);
    6324           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
    6325             :     
    6326           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    6327           0 :     XSRETURN(argvi);
    6328             :   fail:
    6329             :     
    6330           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    6331           0 :     SWIG_croak_null();
    6332             :   }
    6333             : }
    6334             : 
    6335             : 
    6336           0 : XS(_wrap_clusterObj_getFilterString) {
    6337             :   {
    6338             :     clusterObj *arg1 = (clusterObj *) 0 ;
    6339           0 :     void *argp1 = 0 ;
    6340             :     int res1 = 0 ;
    6341             :     int argvi = 0;
    6342             :     char *result = 0 ;
    6343           0 :     dXSARGS;
    6344             :     
    6345           0 :     if ((items < 1) || (items > 1)) {
    6346           0 :       SWIG_croak("Usage: clusterObj_getFilterString(self);");
    6347             :     }
    6348           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_clusterObj, 0 |  0 );
    6349           0 :     if (!SWIG_IsOK(res1)) {
    6350           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "clusterObj_getFilterString" "', argument " "1"" of type '" "clusterObj *""'"); 
    6351             :     }
    6352           0 :     arg1 = (clusterObj *)(argp1);
    6353             :     result = (char *)clusterObj_getFilterString(arg1);
    6354           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
    6355             :     
    6356           0 :     free((char*)result);
    6357           0 :     XSRETURN(argvi);
    6358             :   fail:
    6359             :     
    6360           0 :     SWIG_croak_null();
    6361             :   }
    6362             : }
    6363             : 
    6364             : 
    6365           0 : XS(_wrap_new_clusterObj) {
    6366             :   {
    6367             :     int argvi = 0;
    6368             :     clusterObj *result = 0 ;
    6369           0 :     dXSARGS;
    6370             :     
    6371           0 :     if ((items < 0) || (items > 0)) {
    6372           0 :       SWIG_croak("Usage: new_clusterObj();");
    6373             :     }
    6374           0 :     result = (clusterObj *)calloc(1, sizeof(clusterObj));
    6375           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_clusterObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    6376           0 :     XSRETURN(argvi);
    6377             :   fail:
    6378           0 :     SWIG_croak_null();
    6379             :   }
    6380             : }
    6381             : 
    6382             : 
    6383           0 : XS(_wrap_delete_clusterObj) {
    6384             :   {
    6385             :     clusterObj *arg1 = (clusterObj *) 0 ;
    6386           0 :     void *argp1 = 0 ;
    6387             :     int res1 = 0 ;
    6388             :     int argvi = 0;
    6389           0 :     dXSARGS;
    6390             :     
    6391           0 :     if ((items < 1) || (items > 1)) {
    6392           0 :       SWIG_croak("Usage: delete_clusterObj(self);");
    6393             :     }
    6394           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_clusterObj, SWIG_POINTER_DISOWN |  0 );
    6395           0 :     if (!SWIG_IsOK(res1)) {
    6396           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_clusterObj" "', argument " "1"" of type '" "clusterObj *""'"); 
    6397             :     }
    6398           0 :     arg1 = (clusterObj *)(argp1);
    6399           0 :     free((char *) arg1);
    6400           0 :     ST(argvi) = sv_newmortal();
    6401             :     
    6402           0 :     XSRETURN(argvi);
    6403             :   fail:
    6404             :     
    6405           0 :     SWIG_croak_null();
    6406             :   }
    6407             : }
    6408             : 
    6409             : 
    6410           0 : XS(_wrap_outputFormatObj_numformatoptions_get) {
    6411             :   {
    6412             :     outputFormatObj *arg1 = (outputFormatObj *) 0 ;
    6413           0 :     void *argp1 = 0 ;
    6414             :     int res1 = 0 ;
    6415             :     int argvi = 0;
    6416             :     int result;
    6417           0 :     dXSARGS;
    6418             :     
    6419           0 :     if ((items < 1) || (items > 1)) {
    6420           0 :       SWIG_croak("Usage: outputFormatObj_numformatoptions_get(self);");
    6421             :     }
    6422           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 |  0 );
    6423           0 :     if (!SWIG_IsOK(res1)) {
    6424           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_numformatoptions_get" "', argument " "1"" of type '" "outputFormatObj *""'"); 
    6425             :     }
    6426           0 :     arg1 = (outputFormatObj *)(argp1);
    6427           0 :     result = (int) ((arg1)->numformatoptions);
    6428           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
    6429             :     
    6430           0 :     XSRETURN(argvi);
    6431             :   fail:
    6432             :     
    6433           0 :     SWIG_croak_null();
    6434             :   }
    6435             : }
    6436             : 
    6437             : 
    6438           0 : XS(_wrap_outputFormatObj_name_set) {
    6439             :   {
    6440             :     outputFormatObj *arg1 = (outputFormatObj *) 0 ;
    6441             :     char *arg2 = (char *) 0 ;
    6442           0 :     void *argp1 = 0 ;
    6443             :     int res1 = 0 ;
    6444             :     int res2 ;
    6445           0 :     char *buf2 = 0 ;
    6446           0 :     int alloc2 = 0 ;
    6447             :     int argvi = 0;
    6448           0 :     dXSARGS;
    6449             :     
    6450           0 :     if ((items < 2) || (items > 2)) {
    6451           0 :       SWIG_croak("Usage: outputFormatObj_name_set(self,name);");
    6452             :     }
    6453           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 |  0 );
    6454           0 :     if (!SWIG_IsOK(res1)) {
    6455           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_name_set" "', argument " "1"" of type '" "outputFormatObj *""'"); 
    6456             :     }
    6457           0 :     arg1 = (outputFormatObj *)(argp1);
    6458           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    6459           0 :     if (!SWIG_IsOK(res2)) {
    6460           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "outputFormatObj_name_set" "', argument " "2"" of type '" "char *""'");
    6461             :     }
    6462           0 :     arg2 = (char *)(buf2);
    6463             :     {
    6464           0 :       if (arg1->name) free((char*)arg1->name);
    6465           0 :       if (arg2) {
    6466           0 :         arg1->name = (char *) malloc(strlen(arg2)+1);
    6467             :         strcpy((char*)arg1->name,arg2);
    6468             :       } else {
    6469           0 :         arg1->name = 0;
    6470             :       }
    6471             :     }
    6472           0 :     ST(argvi) = sv_newmortal();
    6473             :     
    6474           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    6475           0 :     XSRETURN(argvi);
    6476             :   fail:
    6477             :     
    6478           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    6479           0 :     SWIG_croak_null();
    6480             :   }
    6481             : }
    6482             : 
    6483             : 
    6484           0 : XS(_wrap_outputFormatObj_name_get) {
    6485             :   {
    6486             :     outputFormatObj *arg1 = (outputFormatObj *) 0 ;
    6487           0 :     void *argp1 = 0 ;
    6488             :     int res1 = 0 ;
    6489             :     int argvi = 0;
    6490             :     char *result = 0 ;
    6491           0 :     dXSARGS;
    6492             :     
    6493           0 :     if ((items < 1) || (items > 1)) {
    6494           0 :       SWIG_croak("Usage: outputFormatObj_name_get(self);");
    6495             :     }
    6496           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 |  0 );
    6497           0 :     if (!SWIG_IsOK(res1)) {
    6498           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_name_get" "', argument " "1"" of type '" "outputFormatObj *""'"); 
    6499             :     }
    6500           0 :     arg1 = (outputFormatObj *)(argp1);
    6501           0 :     result = (char *) ((arg1)->name);
    6502           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
    6503             :     
    6504           0 :     XSRETURN(argvi);
    6505             :   fail:
    6506             :     
    6507           0 :     SWIG_croak_null();
    6508             :   }
    6509             : }
    6510             : 
    6511             : 
    6512           0 : XS(_wrap_outputFormatObj_mimetype_set) {
    6513             :   {
    6514             :     outputFormatObj *arg1 = (outputFormatObj *) 0 ;
    6515             :     char *arg2 = (char *) 0 ;
    6516           0 :     void *argp1 = 0 ;
    6517             :     int res1 = 0 ;
    6518             :     int res2 ;
    6519           0 :     char *buf2 = 0 ;
    6520           0 :     int alloc2 = 0 ;
    6521             :     int argvi = 0;
    6522           0 :     dXSARGS;
    6523             :     
    6524           0 :     if ((items < 2) || (items > 2)) {
    6525           0 :       SWIG_croak("Usage: outputFormatObj_mimetype_set(self,mimetype);");
    6526             :     }
    6527           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 |  0 );
    6528           0 :     if (!SWIG_IsOK(res1)) {
    6529           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_mimetype_set" "', argument " "1"" of type '" "outputFormatObj *""'"); 
    6530             :     }
    6531           0 :     arg1 = (outputFormatObj *)(argp1);
    6532           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    6533           0 :     if (!SWIG_IsOK(res2)) {
    6534           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "outputFormatObj_mimetype_set" "', argument " "2"" of type '" "char *""'");
    6535             :     }
    6536           0 :     arg2 = (char *)(buf2);
    6537             :     {
    6538           0 :       if (arg1->mimetype) free((char*)arg1->mimetype);
    6539           0 :       if (arg2) {
    6540           0 :         arg1->mimetype = (char *) malloc(strlen(arg2)+1);
    6541             :         strcpy((char*)arg1->mimetype,arg2);
    6542             :       } else {
    6543           0 :         arg1->mimetype = 0;
    6544             :       }
    6545             :     }
    6546           0 :     ST(argvi) = sv_newmortal();
    6547             :     
    6548           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    6549           0 :     XSRETURN(argvi);
    6550             :   fail:
    6551             :     
    6552           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    6553           0 :     SWIG_croak_null();
    6554             :   }
    6555             : }
    6556             : 
    6557             : 
    6558           0 : XS(_wrap_outputFormatObj_mimetype_get) {
    6559             :   {
    6560             :     outputFormatObj *arg1 = (outputFormatObj *) 0 ;
    6561           0 :     void *argp1 = 0 ;
    6562             :     int res1 = 0 ;
    6563             :     int argvi = 0;
    6564             :     char *result = 0 ;
    6565           0 :     dXSARGS;
    6566             :     
    6567           0 :     if ((items < 1) || (items > 1)) {
    6568           0 :       SWIG_croak("Usage: outputFormatObj_mimetype_get(self);");
    6569             :     }
    6570           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 |  0 );
    6571           0 :     if (!SWIG_IsOK(res1)) {
    6572           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_mimetype_get" "', argument " "1"" of type '" "outputFormatObj *""'"); 
    6573             :     }
    6574           0 :     arg1 = (outputFormatObj *)(argp1);
    6575           0 :     result = (char *) ((arg1)->mimetype);
    6576           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
    6577             :     
    6578           0 :     XSRETURN(argvi);
    6579             :   fail:
    6580             :     
    6581           0 :     SWIG_croak_null();
    6582             :   }
    6583             : }
    6584             : 
    6585             : 
    6586           0 : XS(_wrap_outputFormatObj_driver_set) {
    6587             :   {
    6588             :     outputFormatObj *arg1 = (outputFormatObj *) 0 ;
    6589             :     char *arg2 = (char *) 0 ;
    6590           0 :     void *argp1 = 0 ;
    6591             :     int res1 = 0 ;
    6592             :     int res2 ;
    6593           0 :     char *buf2 = 0 ;
    6594           0 :     int alloc2 = 0 ;
    6595             :     int argvi = 0;
    6596           0 :     dXSARGS;
    6597             :     
    6598           0 :     if ((items < 2) || (items > 2)) {
    6599           0 :       SWIG_croak("Usage: outputFormatObj_driver_set(self,driver);");
    6600             :     }
    6601           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 |  0 );
    6602           0 :     if (!SWIG_IsOK(res1)) {
    6603           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_driver_set" "', argument " "1"" of type '" "outputFormatObj *""'"); 
    6604             :     }
    6605           0 :     arg1 = (outputFormatObj *)(argp1);
    6606           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    6607           0 :     if (!SWIG_IsOK(res2)) {
    6608           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "outputFormatObj_driver_set" "', argument " "2"" of type '" "char *""'");
    6609             :     }
    6610           0 :     arg2 = (char *)(buf2);
    6611             :     {
    6612           0 :       if (arg1->driver) free((char*)arg1->driver);
    6613           0 :       if (arg2) {
    6614           0 :         arg1->driver = (char *) malloc(strlen(arg2)+1);
    6615             :         strcpy((char*)arg1->driver,arg2);
    6616             :       } else {
    6617           0 :         arg1->driver = 0;
    6618             :       }
    6619             :     }
    6620           0 :     ST(argvi) = sv_newmortal();
    6621             :     
    6622           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    6623           0 :     XSRETURN(argvi);
    6624             :   fail:
    6625             :     
    6626           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    6627           0 :     SWIG_croak_null();
    6628             :   }
    6629             : }
    6630             : 
    6631             : 
    6632           0 : XS(_wrap_outputFormatObj_driver_get) {
    6633             :   {
    6634             :     outputFormatObj *arg1 = (outputFormatObj *) 0 ;
    6635           0 :     void *argp1 = 0 ;
    6636             :     int res1 = 0 ;
    6637             :     int argvi = 0;
    6638             :     char *result = 0 ;
    6639           0 :     dXSARGS;
    6640             :     
    6641           0 :     if ((items < 1) || (items > 1)) {
    6642           0 :       SWIG_croak("Usage: outputFormatObj_driver_get(self);");
    6643             :     }
    6644           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 |  0 );
    6645           0 :     if (!SWIG_IsOK(res1)) {
    6646           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_driver_get" "', argument " "1"" of type '" "outputFormatObj *""'"); 
    6647             :     }
    6648           0 :     arg1 = (outputFormatObj *)(argp1);
    6649           0 :     result = (char *) ((arg1)->driver);
    6650           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
    6651             :     
    6652           0 :     XSRETURN(argvi);
    6653             :   fail:
    6654             :     
    6655           0 :     SWIG_croak_null();
    6656             :   }
    6657             : }
    6658             : 
    6659             : 
    6660           0 : XS(_wrap_outputFormatObj_extension_set) {
    6661             :   {
    6662             :     outputFormatObj *arg1 = (outputFormatObj *) 0 ;
    6663             :     char *arg2 = (char *) 0 ;
    6664           0 :     void *argp1 = 0 ;
    6665             :     int res1 = 0 ;
    6666             :     int res2 ;
    6667           0 :     char *buf2 = 0 ;
    6668           0 :     int alloc2 = 0 ;
    6669             :     int argvi = 0;
    6670           0 :     dXSARGS;
    6671             :     
    6672           0 :     if ((items < 2) || (items > 2)) {
    6673           0 :       SWIG_croak("Usage: outputFormatObj_extension_set(self,extension);");
    6674             :     }
    6675           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 |  0 );
    6676           0 :     if (!SWIG_IsOK(res1)) {
    6677           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_extension_set" "', argument " "1"" of type '" "outputFormatObj *""'"); 
    6678             :     }
    6679           0 :     arg1 = (outputFormatObj *)(argp1);
    6680           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    6681           0 :     if (!SWIG_IsOK(res2)) {
    6682           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "outputFormatObj_extension_set" "', argument " "2"" of type '" "char *""'");
    6683             :     }
    6684           0 :     arg2 = (char *)(buf2);
    6685             :     {
    6686           0 :       if (arg1->extension) free((char*)arg1->extension);
    6687           0 :       if (arg2) {
    6688           0 :         arg1->extension = (char *) malloc(strlen(arg2)+1);
    6689             :         strcpy((char*)arg1->extension,arg2);
    6690             :       } else {
    6691           0 :         arg1->extension = 0;
    6692             :       }
    6693             :     }
    6694           0 :     ST(argvi) = sv_newmortal();
    6695             :     
    6696           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    6697           0 :     XSRETURN(argvi);
    6698             :   fail:
    6699             :     
    6700           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    6701           0 :     SWIG_croak_null();
    6702             :   }
    6703             : }
    6704             : 
    6705             : 
    6706           0 : XS(_wrap_outputFormatObj_extension_get) {
    6707             :   {
    6708             :     outputFormatObj *arg1 = (outputFormatObj *) 0 ;
    6709           0 :     void *argp1 = 0 ;
    6710             :     int res1 = 0 ;
    6711             :     int argvi = 0;
    6712             :     char *result = 0 ;
    6713           0 :     dXSARGS;
    6714             :     
    6715           0 :     if ((items < 1) || (items > 1)) {
    6716           0 :       SWIG_croak("Usage: outputFormatObj_extension_get(self);");
    6717             :     }
    6718           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 |  0 );
    6719           0 :     if (!SWIG_IsOK(res1)) {
    6720           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_extension_get" "', argument " "1"" of type '" "outputFormatObj *""'"); 
    6721             :     }
    6722           0 :     arg1 = (outputFormatObj *)(argp1);
    6723           0 :     result = (char *) ((arg1)->extension);
    6724           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
    6725             :     
    6726           0 :     XSRETURN(argvi);
    6727             :   fail:
    6728             :     
    6729           0 :     SWIG_croak_null();
    6730             :   }
    6731             : }
    6732             : 
    6733             : 
    6734           0 : XS(_wrap_outputFormatObj_renderer_set) {
    6735             :   {
    6736             :     outputFormatObj *arg1 = (outputFormatObj *) 0 ;
    6737             :     int arg2 ;
    6738           0 :     void *argp1 = 0 ;
    6739             :     int res1 = 0 ;
    6740             :     int val2 ;
    6741             :     int ecode2 = 0 ;
    6742             :     int argvi = 0;
    6743           0 :     dXSARGS;
    6744             :     
    6745           0 :     if ((items < 2) || (items > 2)) {
    6746           0 :       SWIG_croak("Usage: outputFormatObj_renderer_set(self,renderer);");
    6747             :     }
    6748           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 |  0 );
    6749           0 :     if (!SWIG_IsOK(res1)) {
    6750           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_renderer_set" "', argument " "1"" of type '" "outputFormatObj *""'"); 
    6751             :     }
    6752           0 :     arg1 = (outputFormatObj *)(argp1);
    6753           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    6754           0 :     if (!SWIG_IsOK(ecode2)) {
    6755           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "outputFormatObj_renderer_set" "', argument " "2"" of type '" "int""'");
    6756             :     } 
    6757           0 :     arg2 = (int)(val2);
    6758           0 :     if (arg1) (arg1)->renderer = arg2;
    6759           0 :     ST(argvi) = sv_newmortal();
    6760             :     
    6761             :     
    6762           0 :     XSRETURN(argvi);
    6763             :   fail:
    6764             :     
    6765             :     
    6766           0 :     SWIG_croak_null();
    6767             :   }
    6768             : }
    6769             : 
    6770             : 
    6771           0 : XS(_wrap_outputFormatObj_renderer_get) {
    6772             :   {
    6773             :     outputFormatObj *arg1 = (outputFormatObj *) 0 ;
    6774           0 :     void *argp1 = 0 ;
    6775             :     int res1 = 0 ;
    6776             :     int argvi = 0;
    6777             :     int result;
    6778           0 :     dXSARGS;
    6779             :     
    6780           0 :     if ((items < 1) || (items > 1)) {
    6781           0 :       SWIG_croak("Usage: outputFormatObj_renderer_get(self);");
    6782             :     }
    6783           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 |  0 );
    6784           0 :     if (!SWIG_IsOK(res1)) {
    6785           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_renderer_get" "', argument " "1"" of type '" "outputFormatObj *""'"); 
    6786             :     }
    6787           0 :     arg1 = (outputFormatObj *)(argp1);
    6788           0 :     result = (int) ((arg1)->renderer);
    6789           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
    6790             :     
    6791           0 :     XSRETURN(argvi);
    6792             :   fail:
    6793             :     
    6794           0 :     SWIG_croak_null();
    6795             :   }
    6796             : }
    6797             : 
    6798             : 
    6799           0 : XS(_wrap_outputFormatObj_imagemode_set) {
    6800             :   {
    6801             :     outputFormatObj *arg1 = (outputFormatObj *) 0 ;
    6802             :     int arg2 ;
    6803           0 :     void *argp1 = 0 ;
    6804             :     int res1 = 0 ;
    6805             :     int val2 ;
    6806             :     int ecode2 = 0 ;
    6807             :     int argvi = 0;
    6808           0 :     dXSARGS;
    6809             :     
    6810           0 :     if ((items < 2) || (items > 2)) {
    6811           0 :       SWIG_croak("Usage: outputFormatObj_imagemode_set(self,imagemode);");
    6812             :     }
    6813           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 |  0 );
    6814           0 :     if (!SWIG_IsOK(res1)) {
    6815           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_imagemode_set" "', argument " "1"" of type '" "outputFormatObj *""'"); 
    6816             :     }
    6817           0 :     arg1 = (outputFormatObj *)(argp1);
    6818           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    6819           0 :     if (!SWIG_IsOK(ecode2)) {
    6820           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "outputFormatObj_imagemode_set" "', argument " "2"" of type '" "int""'");
    6821             :     } 
    6822           0 :     arg2 = (int)(val2);
    6823           0 :     if (arg1) (arg1)->imagemode = arg2;
    6824           0 :     ST(argvi) = sv_newmortal();
    6825             :     
    6826             :     
    6827           0 :     XSRETURN(argvi);
    6828             :   fail:
    6829             :     
    6830             :     
    6831           0 :     SWIG_croak_null();
    6832             :   }
    6833             : }
    6834             : 
    6835             : 
    6836           0 : XS(_wrap_outputFormatObj_imagemode_get) {
    6837             :   {
    6838             :     outputFormatObj *arg1 = (outputFormatObj *) 0 ;
    6839           0 :     void *argp1 = 0 ;
    6840             :     int res1 = 0 ;
    6841             :     int argvi = 0;
    6842             :     int result;
    6843           0 :     dXSARGS;
    6844             :     
    6845           0 :     if ((items < 1) || (items > 1)) {
    6846           0 :       SWIG_croak("Usage: outputFormatObj_imagemode_get(self);");
    6847             :     }
    6848           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 |  0 );
    6849           0 :     if (!SWIG_IsOK(res1)) {
    6850           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_imagemode_get" "', argument " "1"" of type '" "outputFormatObj *""'"); 
    6851             :     }
    6852           0 :     arg1 = (outputFormatObj *)(argp1);
    6853           0 :     result = (int) ((arg1)->imagemode);
    6854           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
    6855             :     
    6856           0 :     XSRETURN(argvi);
    6857             :   fail:
    6858             :     
    6859           0 :     SWIG_croak_null();
    6860             :   }
    6861             : }
    6862             : 
    6863             : 
    6864           0 : XS(_wrap_outputFormatObj_transparent_set) {
    6865             :   {
    6866             :     outputFormatObj *arg1 = (outputFormatObj *) 0 ;
    6867             :     int arg2 ;
    6868           0 :     void *argp1 = 0 ;
    6869             :     int res1 = 0 ;
    6870             :     int val2 ;
    6871             :     int ecode2 = 0 ;
    6872             :     int argvi = 0;
    6873           0 :     dXSARGS;
    6874             :     
    6875           0 :     if ((items < 2) || (items > 2)) {
    6876           0 :       SWIG_croak("Usage: outputFormatObj_transparent_set(self,transparent);");
    6877             :     }
    6878           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 |  0 );
    6879           0 :     if (!SWIG_IsOK(res1)) {
    6880           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_transparent_set" "', argument " "1"" of type '" "outputFormatObj *""'"); 
    6881             :     }
    6882           0 :     arg1 = (outputFormatObj *)(argp1);
    6883           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    6884           0 :     if (!SWIG_IsOK(ecode2)) {
    6885           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "outputFormatObj_transparent_set" "', argument " "2"" of type '" "int""'");
    6886             :     } 
    6887           0 :     arg2 = (int)(val2);
    6888           0 :     if (arg1) (arg1)->transparent = arg2;
    6889           0 :     ST(argvi) = sv_newmortal();
    6890             :     
    6891             :     
    6892           0 :     XSRETURN(argvi);
    6893             :   fail:
    6894             :     
    6895             :     
    6896           0 :     SWIG_croak_null();
    6897             :   }
    6898             : }
    6899             : 
    6900             : 
    6901           0 : XS(_wrap_outputFormatObj_transparent_get) {
    6902             :   {
    6903             :     outputFormatObj *arg1 = (outputFormatObj *) 0 ;
    6904           0 :     void *argp1 = 0 ;
    6905             :     int res1 = 0 ;
    6906             :     int argvi = 0;
    6907             :     int result;
    6908           0 :     dXSARGS;
    6909             :     
    6910           0 :     if ((items < 1) || (items > 1)) {
    6911           0 :       SWIG_croak("Usage: outputFormatObj_transparent_get(self);");
    6912             :     }
    6913           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 |  0 );
    6914           0 :     if (!SWIG_IsOK(res1)) {
    6915           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_transparent_get" "', argument " "1"" of type '" "outputFormatObj *""'"); 
    6916             :     }
    6917           0 :     arg1 = (outputFormatObj *)(argp1);
    6918           0 :     result = (int) ((arg1)->transparent);
    6919           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
    6920             :     
    6921           0 :     XSRETURN(argvi);
    6922             :   fail:
    6923             :     
    6924           0 :     SWIG_croak_null();
    6925             :   }
    6926             : }
    6927             : 
    6928             : 
    6929           0 : XS(_wrap_outputFormatObj_bands_set) {
    6930             :   {
    6931             :     outputFormatObj *arg1 = (outputFormatObj *) 0 ;
    6932             :     int arg2 ;
    6933           0 :     void *argp1 = 0 ;
    6934             :     int res1 = 0 ;
    6935             :     int val2 ;
    6936             :     int ecode2 = 0 ;
    6937             :     int argvi = 0;
    6938           0 :     dXSARGS;
    6939             :     
    6940           0 :     if ((items < 2) || (items > 2)) {
    6941           0 :       SWIG_croak("Usage: outputFormatObj_bands_set(self,bands);");
    6942             :     }
    6943           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 |  0 );
    6944           0 :     if (!SWIG_IsOK(res1)) {
    6945           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_bands_set" "', argument " "1"" of type '" "outputFormatObj *""'"); 
    6946             :     }
    6947           0 :     arg1 = (outputFormatObj *)(argp1);
    6948           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    6949           0 :     if (!SWIG_IsOK(ecode2)) {
    6950           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "outputFormatObj_bands_set" "', argument " "2"" of type '" "int""'");
    6951             :     } 
    6952           0 :     arg2 = (int)(val2);
    6953           0 :     if (arg1) (arg1)->bands = arg2;
    6954           0 :     ST(argvi) = sv_newmortal();
    6955             :     
    6956             :     
    6957           0 :     XSRETURN(argvi);
    6958             :   fail:
    6959             :     
    6960             :     
    6961           0 :     SWIG_croak_null();
    6962             :   }
    6963             : }
    6964             : 
    6965             : 
    6966           0 : XS(_wrap_outputFormatObj_bands_get) {
    6967             :   {
    6968             :     outputFormatObj *arg1 = (outputFormatObj *) 0 ;
    6969           0 :     void *argp1 = 0 ;
    6970             :     int res1 = 0 ;
    6971             :     int argvi = 0;
    6972             :     int result;
    6973           0 :     dXSARGS;
    6974             :     
    6975           0 :     if ((items < 1) || (items > 1)) {
    6976           0 :       SWIG_croak("Usage: outputFormatObj_bands_get(self);");
    6977             :     }
    6978           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 |  0 );
    6979           0 :     if (!SWIG_IsOK(res1)) {
    6980           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_bands_get" "', argument " "1"" of type '" "outputFormatObj *""'"); 
    6981             :     }
    6982           0 :     arg1 = (outputFormatObj *)(argp1);
    6983           0 :     result = (int) ((arg1)->bands);
    6984           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
    6985             :     
    6986           0 :     XSRETURN(argvi);
    6987             :   fail:
    6988             :     
    6989           0 :     SWIG_croak_null();
    6990             :   }
    6991             : }
    6992             : 
    6993             : 
    6994           0 : XS(_wrap_outputFormatObj_inmapfile_set) {
    6995             :   {
    6996             :     outputFormatObj *arg1 = (outputFormatObj *) 0 ;
    6997             :     int arg2 ;
    6998           0 :     void *argp1 = 0 ;
    6999             :     int res1 = 0 ;
    7000             :     int val2 ;
    7001             :     int ecode2 = 0 ;
    7002             :     int argvi = 0;
    7003           0 :     dXSARGS;
    7004             :     
    7005           0 :     if ((items < 2) || (items > 2)) {
    7006           0 :       SWIG_croak("Usage: outputFormatObj_inmapfile_set(self,inmapfile);");
    7007             :     }
    7008           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 |  0 );
    7009           0 :     if (!SWIG_IsOK(res1)) {
    7010           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_inmapfile_set" "', argument " "1"" of type '" "outputFormatObj *""'"); 
    7011             :     }
    7012           0 :     arg1 = (outputFormatObj *)(argp1);
    7013           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    7014           0 :     if (!SWIG_IsOK(ecode2)) {
    7015           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "outputFormatObj_inmapfile_set" "', argument " "2"" of type '" "int""'");
    7016             :     } 
    7017           0 :     arg2 = (int)(val2);
    7018           0 :     if (arg1) (arg1)->inmapfile = arg2;
    7019           0 :     ST(argvi) = sv_newmortal();
    7020             :     
    7021             :     
    7022           0 :     XSRETURN(argvi);
    7023             :   fail:
    7024             :     
    7025             :     
    7026           0 :     SWIG_croak_null();
    7027             :   }
    7028             : }
    7029             : 
    7030             : 
    7031           0 : XS(_wrap_outputFormatObj_inmapfile_get) {
    7032             :   {
    7033             :     outputFormatObj *arg1 = (outputFormatObj *) 0 ;
    7034           0 :     void *argp1 = 0 ;
    7035             :     int res1 = 0 ;
    7036             :     int argvi = 0;
    7037             :     int result;
    7038           0 :     dXSARGS;
    7039             :     
    7040           0 :     if ((items < 1) || (items > 1)) {
    7041           0 :       SWIG_croak("Usage: outputFormatObj_inmapfile_get(self);");
    7042             :     }
    7043           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 |  0 );
    7044           0 :     if (!SWIG_IsOK(res1)) {
    7045           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_inmapfile_get" "', argument " "1"" of type '" "outputFormatObj *""'"); 
    7046             :     }
    7047           0 :     arg1 = (outputFormatObj *)(argp1);
    7048           0 :     result = (int) ((arg1)->inmapfile);
    7049           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
    7050             :     
    7051           0 :     XSRETURN(argvi);
    7052             :   fail:
    7053             :     
    7054           0 :     SWIG_croak_null();
    7055             :   }
    7056             : }
    7057             : 
    7058             : 
    7059           0 : XS(_wrap_new_outputFormatObj) {
    7060             :   {
    7061             :     char *arg1 = (char *) 0 ;
    7062             :     char *arg2 = (char *) NULL ;
    7063             :     int res1 ;
    7064           0 :     char *buf1 = 0 ;
    7065           0 :     int alloc1 = 0 ;
    7066             :     int res2 ;
    7067           0 :     char *buf2 = 0 ;
    7068           0 :     int alloc2 = 0 ;
    7069             :     int argvi = 0;
    7070             :     outputFormatObj *result = 0 ;
    7071           0 :     dXSARGS;
    7072             :     
    7073           0 :     if ((items < 1) || (items > 2)) {
    7074           0 :       SWIG_croak("Usage: new_outputFormatObj(driver,name);");
    7075             :     }
    7076           0 :     res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
    7077           0 :     if (!SWIG_IsOK(res1)) {
    7078           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_outputFormatObj" "', argument " "1"" of type '" "char const *""'");
    7079             :     }
    7080           0 :     arg1 = (char *)(buf1);
    7081           0 :     if (items > 1) {
    7082           0 :       res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    7083           0 :       if (!SWIG_IsOK(res2)) {
    7084           0 :         SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_outputFormatObj" "', argument " "2"" of type '" "char *""'");
    7085             :       }
    7086           0 :       arg2 = (char *)(buf2);
    7087             :     }
    7088           0 :     result = (outputFormatObj *)new_outputFormatObj((char const *)arg1,arg2);
    7089           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_outputFormatObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    7090           0 :     if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
    7091           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    7092           0 :     XSRETURN(argvi);
    7093             :   fail:
    7094           0 :     if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
    7095           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    7096           0 :     SWIG_croak_null();
    7097             :   }
    7098             : }
    7099             : 
    7100             : 
    7101           0 : XS(_wrap_delete_outputFormatObj) {
    7102             :   {
    7103             :     outputFormatObj *arg1 = (outputFormatObj *) 0 ;
    7104           0 :     void *argp1 = 0 ;
    7105             :     int res1 = 0 ;
    7106             :     int argvi = 0;
    7107           0 :     dXSARGS;
    7108             :     
    7109           0 :     if ((items < 1) || (items > 1)) {
    7110           0 :       SWIG_croak("Usage: delete_outputFormatObj(self);");
    7111             :     }
    7112           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, SWIG_POINTER_DISOWN |  0 );
    7113           0 :     if (!SWIG_IsOK(res1)) {
    7114           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_outputFormatObj" "', argument " "1"" of type '" "outputFormatObj *""'"); 
    7115             :     }
    7116           0 :     arg1 = (outputFormatObj *)(argp1);
    7117             :     delete_outputFormatObj(arg1);
    7118           0 :     ST(argvi) = sv_newmortal();
    7119             :     
    7120           0 :     XSRETURN(argvi);
    7121             :   fail:
    7122             :     
    7123           0 :     SWIG_croak_null();
    7124             :   }
    7125             : }
    7126             : 
    7127             : 
    7128           0 : XS(_wrap_outputFormatObj_setExtension) {
    7129             :   {
    7130             :     outputFormatObj *arg1 = (outputFormatObj *) 0 ;
    7131             :     char *arg2 = (char *) 0 ;
    7132           0 :     void *argp1 = 0 ;
    7133             :     int res1 = 0 ;
    7134             :     int res2 ;
    7135           0 :     char *buf2 = 0 ;
    7136           0 :     int alloc2 = 0 ;
    7137             :     int argvi = 0;
    7138           0 :     dXSARGS;
    7139             :     
    7140           0 :     if ((items < 2) || (items > 2)) {
    7141           0 :       SWIG_croak("Usage: outputFormatObj_setExtension(self,extension);");
    7142             :     }
    7143           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 |  0 );
    7144           0 :     if (!SWIG_IsOK(res1)) {
    7145           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_setExtension" "', argument " "1"" of type '" "outputFormatObj *""'"); 
    7146             :     }
    7147           0 :     arg1 = (outputFormatObj *)(argp1);
    7148           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    7149           0 :     if (!SWIG_IsOK(res2)) {
    7150           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "outputFormatObj_setExtension" "', argument " "2"" of type '" "char const *""'");
    7151             :     }
    7152           0 :     arg2 = (char *)(buf2);
    7153             :     outputFormatObj_setExtension(arg1,(char const *)arg2);
    7154           0 :     ST(argvi) = sv_newmortal();
    7155             :     
    7156           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    7157           0 :     XSRETURN(argvi);
    7158             :   fail:
    7159             :     
    7160           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    7161           0 :     SWIG_croak_null();
    7162             :   }
    7163             : }
    7164             : 
    7165             : 
    7166           0 : XS(_wrap_outputFormatObj_setMimetype) {
    7167             :   {
    7168             :     outputFormatObj *arg1 = (outputFormatObj *) 0 ;
    7169             :     char *arg2 = (char *) 0 ;
    7170           0 :     void *argp1 = 0 ;
    7171             :     int res1 = 0 ;
    7172             :     int res2 ;
    7173           0 :     char *buf2 = 0 ;
    7174           0 :     int alloc2 = 0 ;
    7175             :     int argvi = 0;
    7176           0 :     dXSARGS;
    7177             :     
    7178           0 :     if ((items < 2) || (items > 2)) {
    7179           0 :       SWIG_croak("Usage: outputFormatObj_setMimetype(self,mimetype);");
    7180             :     }
    7181           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 |  0 );
    7182           0 :     if (!SWIG_IsOK(res1)) {
    7183           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_setMimetype" "', argument " "1"" of type '" "outputFormatObj *""'"); 
    7184             :     }
    7185           0 :     arg1 = (outputFormatObj *)(argp1);
    7186           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    7187           0 :     if (!SWIG_IsOK(res2)) {
    7188           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "outputFormatObj_setMimetype" "', argument " "2"" of type '" "char const *""'");
    7189             :     }
    7190           0 :     arg2 = (char *)(buf2);
    7191             :     outputFormatObj_setMimetype(arg1,(char const *)arg2);
    7192           0 :     ST(argvi) = sv_newmortal();
    7193             :     
    7194           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    7195           0 :     XSRETURN(argvi);
    7196             :   fail:
    7197             :     
    7198           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    7199           0 :     SWIG_croak_null();
    7200             :   }
    7201             : }
    7202             : 
    7203             : 
    7204           0 : XS(_wrap_outputFormatObj_setOption) {
    7205             :   {
    7206             :     outputFormatObj *arg1 = (outputFormatObj *) 0 ;
    7207             :     char *arg2 = (char *) 0 ;
    7208             :     char *arg3 = (char *) 0 ;
    7209           0 :     void *argp1 = 0 ;
    7210             :     int res1 = 0 ;
    7211             :     int res2 ;
    7212           0 :     char *buf2 = 0 ;
    7213           0 :     int alloc2 = 0 ;
    7214             :     int res3 ;
    7215           0 :     char *buf3 = 0 ;
    7216           0 :     int alloc3 = 0 ;
    7217             :     int argvi = 0;
    7218           0 :     dXSARGS;
    7219             :     
    7220           0 :     if ((items < 3) || (items > 3)) {
    7221           0 :       SWIG_croak("Usage: outputFormatObj_setOption(self,key,value);");
    7222             :     }
    7223           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 |  0 );
    7224           0 :     if (!SWIG_IsOK(res1)) {
    7225           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_setOption" "', argument " "1"" of type '" "outputFormatObj *""'"); 
    7226             :     }
    7227           0 :     arg1 = (outputFormatObj *)(argp1);
    7228           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    7229           0 :     if (!SWIG_IsOK(res2)) {
    7230           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "outputFormatObj_setOption" "', argument " "2"" of type '" "char const *""'");
    7231             :     }
    7232           0 :     arg2 = (char *)(buf2);
    7233           0 :     res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
    7234           0 :     if (!SWIG_IsOK(res3)) {
    7235           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "outputFormatObj_setOption" "', argument " "3"" of type '" "char const *""'");
    7236             :     }
    7237           0 :     arg3 = (char *)(buf3);
    7238             :     outputFormatObj_setOption(arg1,(char const *)arg2,(char const *)arg3);
    7239           0 :     ST(argvi) = sv_newmortal();
    7240             :     
    7241           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    7242           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
    7243           0 :     XSRETURN(argvi);
    7244             :   fail:
    7245             :     
    7246           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    7247           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
    7248           0 :     SWIG_croak_null();
    7249             :   }
    7250             : }
    7251             : 
    7252             : 
    7253           0 : XS(_wrap_outputFormatObj_validate) {
    7254             :   {
    7255             :     outputFormatObj *arg1 = (outputFormatObj *) 0 ;
    7256           0 :     void *argp1 = 0 ;
    7257             :     int res1 = 0 ;
    7258             :     int argvi = 0;
    7259             :     int result;
    7260           0 :     dXSARGS;
    7261             :     
    7262           0 :     if ((items < 1) || (items > 1)) {
    7263           0 :       SWIG_croak("Usage: outputFormatObj_validate(self);");
    7264             :     }
    7265           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 |  0 );
    7266           0 :     if (!SWIG_IsOK(res1)) {
    7267           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_validate" "', argument " "1"" of type '" "outputFormatObj *""'"); 
    7268             :     }
    7269           0 :     arg1 = (outputFormatObj *)(argp1);
    7270             :     result = (int)outputFormatObj_validate(arg1);
    7271           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
    7272             :     
    7273           0 :     XSRETURN(argvi);
    7274             :   fail:
    7275             :     
    7276           0 :     SWIG_croak_null();
    7277             :   }
    7278             : }
    7279             : 
    7280             : 
    7281           0 : XS(_wrap_outputFormatObj_getOption) {
    7282             :   {
    7283             :     outputFormatObj *arg1 = (outputFormatObj *) 0 ;
    7284             :     char *arg2 = (char *) 0 ;
    7285             :     char *arg3 = (char *) "" ;
    7286           0 :     void *argp1 = 0 ;
    7287             :     int res1 = 0 ;
    7288             :     int res2 ;
    7289           0 :     char *buf2 = 0 ;
    7290           0 :     int alloc2 = 0 ;
    7291             :     int res3 ;
    7292           0 :     char *buf3 = 0 ;
    7293           0 :     int alloc3 = 0 ;
    7294             :     int argvi = 0;
    7295             :     char *result = 0 ;
    7296           0 :     dXSARGS;
    7297             :     
    7298           0 :     if ((items < 2) || (items > 3)) {
    7299           0 :       SWIG_croak("Usage: outputFormatObj_getOption(self,key,value);");
    7300             :     }
    7301           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 |  0 );
    7302           0 :     if (!SWIG_IsOK(res1)) {
    7303           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_getOption" "', argument " "1"" of type '" "outputFormatObj *""'"); 
    7304             :     }
    7305           0 :     arg1 = (outputFormatObj *)(argp1);
    7306           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    7307           0 :     if (!SWIG_IsOK(res2)) {
    7308           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "outputFormatObj_getOption" "', argument " "2"" of type '" "char const *""'");
    7309             :     }
    7310           0 :     arg2 = (char *)(buf2);
    7311           0 :     if (items > 2) {
    7312           0 :       res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
    7313           0 :       if (!SWIG_IsOK(res3)) {
    7314           0 :         SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "outputFormatObj_getOption" "', argument " "3"" of type '" "char const *""'");
    7315             :       }
    7316           0 :       arg3 = (char *)(buf3);
    7317             :     }
    7318             :     result = (char *)outputFormatObj_getOption(arg1,(char const *)arg2,(char const *)arg3);
    7319           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
    7320             :     
    7321           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    7322           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
    7323           0 :     free((char*)result);
    7324           0 :     XSRETURN(argvi);
    7325             :   fail:
    7326             :     
    7327           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    7328           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
    7329           0 :     SWIG_croak_null();
    7330             :   }
    7331             : }
    7332             : 
    7333             : 
    7334           0 : XS(_wrap_outputFormatObj_getOptionAt) {
    7335             :   {
    7336             :     outputFormatObj *arg1 = (outputFormatObj *) 0 ;
    7337             :     int arg2 ;
    7338           0 :     void *argp1 = 0 ;
    7339             :     int res1 = 0 ;
    7340             :     int val2 ;
    7341             :     int ecode2 = 0 ;
    7342             :     int argvi = 0;
    7343             :     char *result = 0 ;
    7344           0 :     dXSARGS;
    7345             :     
    7346           0 :     if ((items < 2) || (items > 2)) {
    7347           0 :       SWIG_croak("Usage: outputFormatObj_getOptionAt(self,i);");
    7348             :     }
    7349           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 |  0 );
    7350           0 :     if (!SWIG_IsOK(res1)) {
    7351           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_getOptionAt" "', argument " "1"" of type '" "outputFormatObj *""'"); 
    7352             :     }
    7353           0 :     arg1 = (outputFormatObj *)(argp1);
    7354           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    7355           0 :     if (!SWIG_IsOK(ecode2)) {
    7356           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "outputFormatObj_getOptionAt" "', argument " "2"" of type '" "int""'");
    7357             :     } 
    7358           0 :     arg2 = (int)(val2);
    7359           0 :     result = (char *)outputFormatObj_getOptionAt(arg1,arg2);
    7360           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
    7361             :     
    7362             :     
    7363           0 :     free((char*)result);
    7364           0 :     XSRETURN(argvi);
    7365             :   fail:
    7366             :     
    7367             :     
    7368           0 :     SWIG_croak_null();
    7369             :   }
    7370             : }
    7371             : 
    7372             : 
    7373           0 : XS(_wrap_outputFormatObj_attachDevice) {
    7374             :   {
    7375             :     outputFormatObj *arg1 = (outputFormatObj *) 0 ;
    7376           0 :     void *arg2 = (void *) 0 ;
    7377           0 :     void *argp1 = 0 ;
    7378             :     int res1 = 0 ;
    7379             :     int res2 ;
    7380             :     int argvi = 0;
    7381           0 :     dXSARGS;
    7382             :     
    7383           0 :     if ((items < 2) || (items > 2)) {
    7384           0 :       SWIG_croak("Usage: outputFormatObj_attachDevice(self,device);");
    7385             :     }
    7386           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 |  0 );
    7387           0 :     if (!SWIG_IsOK(res1)) {
    7388           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_attachDevice" "', argument " "1"" of type '" "outputFormatObj *""'"); 
    7389             :     }
    7390           0 :     arg1 = (outputFormatObj *)(argp1);
    7391           0 :     res2 = SWIG_ConvertPtr(ST(1),SWIG_as_voidptrptr(&arg2), 0, 0);
    7392           0 :     if (!SWIG_IsOK(res2)) {
    7393           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "outputFormatObj_attachDevice" "', argument " "2"" of type '" "void *""'"); 
    7394             :     }
    7395           0 :     outputFormatObj_attachDevice(arg1,arg2);
    7396           0 :     ST(argvi) = sv_newmortal();
    7397             :     
    7398             :     
    7399           0 :     XSRETURN(argvi);
    7400             :   fail:
    7401             :     
    7402             :     
    7403           0 :     SWIG_croak_null();
    7404             :   }
    7405             : }
    7406             : 
    7407             : 
    7408           0 : XS(_wrap_queryMapObj_height_set) {
    7409             :   {
    7410             :     queryMapObj *arg1 = (queryMapObj *) 0 ;
    7411             :     int arg2 ;
    7412           0 :     void *argp1 = 0 ;
    7413             :     int res1 = 0 ;
    7414             :     int val2 ;
    7415             :     int ecode2 = 0 ;
    7416             :     int argvi = 0;
    7417           0 :     dXSARGS;
    7418             :     
    7419           0 :     if ((items < 2) || (items > 2)) {
    7420           0 :       SWIG_croak("Usage: queryMapObj_height_set(self,height);");
    7421             :     }
    7422           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_queryMapObj, 0 |  0 );
    7423           0 :     if (!SWIG_IsOK(res1)) {
    7424           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "queryMapObj_height_set" "', argument " "1"" of type '" "queryMapObj *""'"); 
    7425             :     }
    7426           0 :     arg1 = (queryMapObj *)(argp1);
    7427           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    7428           0 :     if (!SWIG_IsOK(ecode2)) {
    7429           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "queryMapObj_height_set" "', argument " "2"" of type '" "int""'");
    7430             :     } 
    7431           0 :     arg2 = (int)(val2);
    7432           0 :     if (arg1) (arg1)->height = arg2;
    7433           0 :     ST(argvi) = sv_newmortal();
    7434             :     
    7435             :     
    7436           0 :     XSRETURN(argvi);
    7437             :   fail:
    7438             :     
    7439             :     
    7440           0 :     SWIG_croak_null();
    7441             :   }
    7442             : }
    7443             : 
    7444             : 
    7445           0 : XS(_wrap_queryMapObj_height_get) {
    7446             :   {
    7447             :     queryMapObj *arg1 = (queryMapObj *) 0 ;
    7448           0 :     void *argp1 = 0 ;
    7449             :     int res1 = 0 ;
    7450             :     int argvi = 0;
    7451             :     int result;
    7452           0 :     dXSARGS;
    7453             :     
    7454           0 :     if ((items < 1) || (items > 1)) {
    7455           0 :       SWIG_croak("Usage: queryMapObj_height_get(self);");
    7456             :     }
    7457           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_queryMapObj, 0 |  0 );
    7458           0 :     if (!SWIG_IsOK(res1)) {
    7459           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "queryMapObj_height_get" "', argument " "1"" of type '" "queryMapObj *""'"); 
    7460             :     }
    7461           0 :     arg1 = (queryMapObj *)(argp1);
    7462           0 :     result = (int) ((arg1)->height);
    7463           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
    7464             :     
    7465           0 :     XSRETURN(argvi);
    7466             :   fail:
    7467             :     
    7468           0 :     SWIG_croak_null();
    7469             :   }
    7470             : }
    7471             : 
    7472             : 
    7473           0 : XS(_wrap_queryMapObj_width_set) {
    7474             :   {
    7475             :     queryMapObj *arg1 = (queryMapObj *) 0 ;
    7476             :     int arg2 ;
    7477           0 :     void *argp1 = 0 ;
    7478             :     int res1 = 0 ;
    7479             :     int val2 ;
    7480             :     int ecode2 = 0 ;
    7481             :     int argvi = 0;
    7482           0 :     dXSARGS;
    7483             :     
    7484           0 :     if ((items < 2) || (items > 2)) {
    7485           0 :       SWIG_croak("Usage: queryMapObj_width_set(self,width);");
    7486             :     }
    7487           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_queryMapObj, 0 |  0 );
    7488           0 :     if (!SWIG_IsOK(res1)) {
    7489           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "queryMapObj_width_set" "', argument " "1"" of type '" "queryMapObj *""'"); 
    7490             :     }
    7491           0 :     arg1 = (queryMapObj *)(argp1);
    7492           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    7493           0 :     if (!SWIG_IsOK(ecode2)) {
    7494           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "queryMapObj_width_set" "', argument " "2"" of type '" "int""'");
    7495             :     } 
    7496           0 :     arg2 = (int)(val2);
    7497           0 :     if (arg1) (arg1)->width = arg2;
    7498           0 :     ST(argvi) = sv_newmortal();
    7499             :     
    7500             :     
    7501           0 :     XSRETURN(argvi);
    7502             :   fail:
    7503             :     
    7504             :     
    7505           0 :     SWIG_croak_null();
    7506             :   }
    7507             : }
    7508             : 
    7509             : 
    7510           0 : XS(_wrap_queryMapObj_width_get) {
    7511             :   {
    7512             :     queryMapObj *arg1 = (queryMapObj *) 0 ;
    7513           0 :     void *argp1 = 0 ;
    7514             :     int res1 = 0 ;
    7515             :     int argvi = 0;
    7516             :     int result;
    7517           0 :     dXSARGS;
    7518             :     
    7519           0 :     if ((items < 1) || (items > 1)) {
    7520           0 :       SWIG_croak("Usage: queryMapObj_width_get(self);");
    7521             :     }
    7522           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_queryMapObj, 0 |  0 );
    7523           0 :     if (!SWIG_IsOK(res1)) {
    7524           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "queryMapObj_width_get" "', argument " "1"" of type '" "queryMapObj *""'"); 
    7525             :     }
    7526           0 :     arg1 = (queryMapObj *)(argp1);
    7527           0 :     result = (int) ((arg1)->width);
    7528           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
    7529             :     
    7530           0 :     XSRETURN(argvi);
    7531             :   fail:
    7532             :     
    7533           0 :     SWIG_croak_null();
    7534             :   }
    7535             : }
    7536             : 
    7537             : 
    7538           0 : XS(_wrap_queryMapObj_status_set) {
    7539             :   {
    7540             :     queryMapObj *arg1 = (queryMapObj *) 0 ;
    7541             :     int arg2 ;
    7542           0 :     void *argp1 = 0 ;
    7543             :     int res1 = 0 ;
    7544             :     int val2 ;
    7545             :     int ecode2 = 0 ;
    7546             :     int argvi = 0;
    7547           0 :     dXSARGS;
    7548             :     
    7549           0 :     if ((items < 2) || (items > 2)) {
    7550           0 :       SWIG_croak("Usage: queryMapObj_status_set(self,status);");
    7551             :     }
    7552           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_queryMapObj, 0 |  0 );
    7553           0 :     if (!SWIG_IsOK(res1)) {
    7554           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "queryMapObj_status_set" "', argument " "1"" of type '" "queryMapObj *""'"); 
    7555             :     }
    7556           0 :     arg1 = (queryMapObj *)(argp1);
    7557           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    7558           0 :     if (!SWIG_IsOK(ecode2)) {
    7559           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "queryMapObj_status_set" "', argument " "2"" of type '" "int""'");
    7560             :     } 
    7561           0 :     arg2 = (int)(val2);
    7562           0 :     if (arg1) (arg1)->status = arg2;
    7563           0 :     ST(argvi) = sv_newmortal();
    7564             :     
    7565             :     
    7566           0 :     XSRETURN(argvi);
    7567             :   fail:
    7568             :     
    7569             :     
    7570           0 :     SWIG_croak_null();
    7571             :   }
    7572             : }
    7573             : 
    7574             : 
    7575           0 : XS(_wrap_queryMapObj_status_get) {
    7576             :   {
    7577             :     queryMapObj *arg1 = (queryMapObj *) 0 ;
    7578           0 :     void *argp1 = 0 ;
    7579             :     int res1 = 0 ;
    7580             :     int argvi = 0;
    7581             :     int result;
    7582           0 :     dXSARGS;
    7583             :     
    7584           0 :     if ((items < 1) || (items > 1)) {
    7585           0 :       SWIG_croak("Usage: queryMapObj_status_get(self);");
    7586             :     }
    7587           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_queryMapObj, 0 |  0 );
    7588           0 :     if (!SWIG_IsOK(res1)) {
    7589           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "queryMapObj_status_get" "', argument " "1"" of type '" "queryMapObj *""'"); 
    7590             :     }
    7591           0 :     arg1 = (queryMapObj *)(argp1);
    7592           0 :     result = (int) ((arg1)->status);
    7593           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
    7594             :     
    7595           0 :     XSRETURN(argvi);
    7596             :   fail:
    7597             :     
    7598           0 :     SWIG_croak_null();
    7599             :   }
    7600             : }
    7601             : 
    7602             : 
    7603           0 : XS(_wrap_queryMapObj_style_set) {
    7604             :   {
    7605             :     queryMapObj *arg1 = (queryMapObj *) 0 ;
    7606             :     int arg2 ;
    7607           0 :     void *argp1 = 0 ;
    7608             :     int res1 = 0 ;
    7609             :     int val2 ;
    7610             :     int ecode2 = 0 ;
    7611             :     int argvi = 0;
    7612           0 :     dXSARGS;
    7613             :     
    7614           0 :     if ((items < 2) || (items > 2)) {
    7615           0 :       SWIG_croak("Usage: queryMapObj_style_set(self,style);");
    7616             :     }
    7617           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_queryMapObj, 0 |  0 );
    7618           0 :     if (!SWIG_IsOK(res1)) {
    7619           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "queryMapObj_style_set" "', argument " "1"" of type '" "queryMapObj *""'"); 
    7620             :     }
    7621           0 :     arg1 = (queryMapObj *)(argp1);
    7622           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    7623           0 :     if (!SWIG_IsOK(ecode2)) {
    7624           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "queryMapObj_style_set" "', argument " "2"" of type '" "int""'");
    7625             :     } 
    7626           0 :     arg2 = (int)(val2);
    7627           0 :     if (arg1) (arg1)->style = arg2;
    7628           0 :     ST(argvi) = sv_newmortal();
    7629             :     
    7630             :     
    7631           0 :     XSRETURN(argvi);
    7632             :   fail:
    7633             :     
    7634             :     
    7635           0 :     SWIG_croak_null();
    7636             :   }
    7637             : }
    7638             : 
    7639             : 
    7640           0 : XS(_wrap_queryMapObj_style_get) {
    7641             :   {
    7642             :     queryMapObj *arg1 = (queryMapObj *) 0 ;
    7643           0 :     void *argp1 = 0 ;
    7644             :     int res1 = 0 ;
    7645             :     int argvi = 0;
    7646             :     int result;
    7647           0 :     dXSARGS;
    7648             :     
    7649           0 :     if ((items < 1) || (items > 1)) {
    7650           0 :       SWIG_croak("Usage: queryMapObj_style_get(self);");
    7651             :     }
    7652           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_queryMapObj, 0 |  0 );
    7653           0 :     if (!SWIG_IsOK(res1)) {
    7654           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "queryMapObj_style_get" "', argument " "1"" of type '" "queryMapObj *""'"); 
    7655             :     }
    7656           0 :     arg1 = (queryMapObj *)(argp1);
    7657           0 :     result = (int) ((arg1)->style);
    7658           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
    7659             :     
    7660           0 :     XSRETURN(argvi);
    7661             :   fail:
    7662             :     
    7663           0 :     SWIG_croak_null();
    7664             :   }
    7665             : }
    7666             : 
    7667             : 
    7668           0 : XS(_wrap_queryMapObj_color_set) {
    7669             :   {
    7670             :     queryMapObj *arg1 = (queryMapObj *) 0 ;
    7671             :     colorObj *arg2 = (colorObj *) 0 ;
    7672           0 :     void *argp1 = 0 ;
    7673             :     int res1 = 0 ;
    7674           0 :     void *argp2 = 0 ;
    7675             :     int res2 = 0 ;
    7676             :     int argvi = 0;
    7677           0 :     dXSARGS;
    7678             :     
    7679           0 :     if ((items < 2) || (items > 2)) {
    7680           0 :       SWIG_croak("Usage: queryMapObj_color_set(self,color);");
    7681             :     }
    7682           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_queryMapObj, 0 |  0 );
    7683           0 :     if (!SWIG_IsOK(res1)) {
    7684           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "queryMapObj_color_set" "', argument " "1"" of type '" "queryMapObj *""'"); 
    7685             :     }
    7686           0 :     arg1 = (queryMapObj *)(argp1);
    7687           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 |  0 );
    7688           0 :     if (!SWIG_IsOK(res2)) {
    7689           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "queryMapObj_color_set" "', argument " "2"" of type '" "colorObj *""'"); 
    7690             :     }
    7691           0 :     arg2 = (colorObj *)(argp2);
    7692           0 :     if (arg1) (arg1)->color = *arg2;
    7693           0 :     ST(argvi) = sv_newmortal();
    7694             :     
    7695             :     
    7696           0 :     XSRETURN(argvi);
    7697             :   fail:
    7698             :     
    7699             :     
    7700           0 :     SWIG_croak_null();
    7701             :   }
    7702             : }
    7703             : 
    7704             : 
    7705           0 : XS(_wrap_queryMapObj_color_get) {
    7706             :   {
    7707             :     queryMapObj *arg1 = (queryMapObj *) 0 ;
    7708           0 :     void *argp1 = 0 ;
    7709             :     int res1 = 0 ;
    7710             :     int argvi = 0;
    7711             :     colorObj *result = 0 ;
    7712           0 :     dXSARGS;
    7713             :     
    7714           0 :     if ((items < 1) || (items > 1)) {
    7715           0 :       SWIG_croak("Usage: queryMapObj_color_get(self);");
    7716             :     }
    7717           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_queryMapObj, 0 |  0 );
    7718           0 :     if (!SWIG_IsOK(res1)) {
    7719           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "queryMapObj_color_get" "', argument " "1"" of type '" "queryMapObj *""'"); 
    7720             :     }
    7721           0 :     arg1 = (queryMapObj *)(argp1);
    7722           0 :     result = (colorObj *)& ((arg1)->color);
    7723           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
    7724             :     
    7725           0 :     XSRETURN(argvi);
    7726             :   fail:
    7727             :     
    7728           0 :     SWIG_croak_null();
    7729             :   }
    7730             : }
    7731             : 
    7732             : 
    7733           0 : XS(_wrap_queryMapObj_updateFromString) {
    7734             :   {
    7735             :     queryMapObj *arg1 = (queryMapObj *) 0 ;
    7736             :     char *arg2 = (char *) 0 ;
    7737           0 :     void *argp1 = 0 ;
    7738             :     int res1 = 0 ;
    7739             :     int res2 ;
    7740           0 :     char *buf2 = 0 ;
    7741           0 :     int alloc2 = 0 ;
    7742             :     int argvi = 0;
    7743             :     int result;
    7744           0 :     dXSARGS;
    7745             :     
    7746           0 :     if ((items < 2) || (items > 2)) {
    7747           0 :       SWIG_croak("Usage: queryMapObj_updateFromString(self,snippet);");
    7748             :     }
    7749           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_queryMapObj, 0 |  0 );
    7750           0 :     if (!SWIG_IsOK(res1)) {
    7751           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "queryMapObj_updateFromString" "', argument " "1"" of type '" "queryMapObj *""'"); 
    7752             :     }
    7753           0 :     arg1 = (queryMapObj *)(argp1);
    7754           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    7755           0 :     if (!SWIG_IsOK(res2)) {
    7756           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "queryMapObj_updateFromString" "', argument " "2"" of type '" "char *""'");
    7757             :     }
    7758           0 :     arg2 = (char *)(buf2);
    7759             :     result = (int)queryMapObj_updateFromString(arg1,arg2);
    7760           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
    7761             :     
    7762           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    7763           0 :     XSRETURN(argvi);
    7764             :   fail:
    7765             :     
    7766           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    7767           0 :     SWIG_croak_null();
    7768             :   }
    7769             : }
    7770             : 
    7771             : 
    7772           0 : XS(_wrap_queryMapObj_convertToString) {
    7773             :   {
    7774             :     queryMapObj *arg1 = (queryMapObj *) 0 ;
    7775           0 :     void *argp1 = 0 ;
    7776             :     int res1 = 0 ;
    7777             :     int argvi = 0;
    7778             :     char *result = 0 ;
    7779           0 :     dXSARGS;
    7780             :     
    7781           0 :     if ((items < 1) || (items > 1)) {
    7782           0 :       SWIG_croak("Usage: queryMapObj_convertToString(self);");
    7783             :     }
    7784           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_queryMapObj, 0 |  0 );
    7785           0 :     if (!SWIG_IsOK(res1)) {
    7786           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "queryMapObj_convertToString" "', argument " "1"" of type '" "queryMapObj *""'"); 
    7787             :     }
    7788           0 :     arg1 = (queryMapObj *)(argp1);
    7789             :     result = (char *)queryMapObj_convertToString(arg1);
    7790           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
    7791             :     
    7792           0 :     free((char*)result);
    7793           0 :     XSRETURN(argvi);
    7794             :   fail:
    7795             :     
    7796           0 :     SWIG_croak_null();
    7797             :   }
    7798             : }
    7799             : 
    7800             : 
    7801           0 : XS(_wrap_new_queryMapObj) {
    7802             :   {
    7803             :     int argvi = 0;
    7804             :     queryMapObj *result = 0 ;
    7805           0 :     dXSARGS;
    7806             :     
    7807           0 :     if ((items < 0) || (items > 0)) {
    7808           0 :       SWIG_croak("Usage: new_queryMapObj();");
    7809             :     }
    7810           0 :     result = (queryMapObj *)calloc(1, sizeof(queryMapObj));
    7811           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_queryMapObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    7812           0 :     XSRETURN(argvi);
    7813             :   fail:
    7814           0 :     SWIG_croak_null();
    7815             :   }
    7816             : }
    7817             : 
    7818             : 
    7819           0 : XS(_wrap_delete_queryMapObj) {
    7820             :   {
    7821             :     queryMapObj *arg1 = (queryMapObj *) 0 ;
    7822           0 :     void *argp1 = 0 ;
    7823             :     int res1 = 0 ;
    7824             :     int argvi = 0;
    7825           0 :     dXSARGS;
    7826             :     
    7827           0 :     if ((items < 1) || (items > 1)) {
    7828           0 :       SWIG_croak("Usage: delete_queryMapObj(self);");
    7829             :     }
    7830           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_queryMapObj, SWIG_POINTER_DISOWN |  0 );
    7831           0 :     if (!SWIG_IsOK(res1)) {
    7832           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_queryMapObj" "', argument " "1"" of type '" "queryMapObj *""'"); 
    7833             :     }
    7834           0 :     arg1 = (queryMapObj *)(argp1);
    7835           0 :     free((char *) arg1);
    7836           0 :     ST(argvi) = sv_newmortal();
    7837             :     
    7838           0 :     XSRETURN(argvi);
    7839             :   fail:
    7840             :     
    7841           0 :     SWIG_croak_null();
    7842             :   }
    7843             : }
    7844             : 
    7845             : 
    7846           0 : XS(_wrap_webObj_log_set) {
    7847             :   {
    7848             :     webObj *arg1 = (webObj *) 0 ;
    7849             :     char *arg2 = (char *) 0 ;
    7850           0 :     void *argp1 = 0 ;
    7851             :     int res1 = 0 ;
    7852             :     int res2 ;
    7853           0 :     char *buf2 = 0 ;
    7854           0 :     int alloc2 = 0 ;
    7855             :     int argvi = 0;
    7856           0 :     dXSARGS;
    7857             :     
    7858           0 :     if ((items < 2) || (items > 2)) {
    7859           0 :       SWIG_croak("Usage: webObj_log_set(self,log);");
    7860             :     }
    7861           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    7862           0 :     if (!SWIG_IsOK(res1)) {
    7863           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_log_set" "', argument " "1"" of type '" "webObj *""'"); 
    7864             :     }
    7865           0 :     arg1 = (webObj *)(argp1);
    7866           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    7867           0 :     if (!SWIG_IsOK(res2)) {
    7868           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_log_set" "', argument " "2"" of type '" "char *""'");
    7869             :     }
    7870           0 :     arg2 = (char *)(buf2);
    7871             :     {
    7872           0 :       if (arg1->log) free((char*)arg1->log);
    7873           0 :       if (arg2) {
    7874           0 :         arg1->log = (char *) malloc(strlen(arg2)+1);
    7875             :         strcpy((char*)arg1->log,arg2);
    7876             :       } else {
    7877           0 :         arg1->log = 0;
    7878             :       }
    7879             :     }
    7880           0 :     ST(argvi) = sv_newmortal();
    7881             :     
    7882           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    7883           0 :     XSRETURN(argvi);
    7884             :   fail:
    7885             :     
    7886           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    7887           0 :     SWIG_croak_null();
    7888             :   }
    7889             : }
    7890             : 
    7891             : 
    7892           0 : XS(_wrap_webObj_log_get) {
    7893             :   {
    7894             :     webObj *arg1 = (webObj *) 0 ;
    7895           0 :     void *argp1 = 0 ;
    7896             :     int res1 = 0 ;
    7897             :     int argvi = 0;
    7898             :     char *result = 0 ;
    7899           0 :     dXSARGS;
    7900             :     
    7901           0 :     if ((items < 1) || (items > 1)) {
    7902           0 :       SWIG_croak("Usage: webObj_log_get(self);");
    7903             :     }
    7904           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    7905           0 :     if (!SWIG_IsOK(res1)) {
    7906           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_log_get" "', argument " "1"" of type '" "webObj *""'"); 
    7907             :     }
    7908           0 :     arg1 = (webObj *)(argp1);
    7909           0 :     result = (char *) ((arg1)->log);
    7910           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
    7911             :     
    7912           0 :     XSRETURN(argvi);
    7913             :   fail:
    7914             :     
    7915           0 :     SWIG_croak_null();
    7916             :   }
    7917             : }
    7918             : 
    7919             : 
    7920           0 : XS(_wrap_webObj_imagepath_set) {
    7921             :   {
    7922             :     webObj *arg1 = (webObj *) 0 ;
    7923             :     char *arg2 = (char *) 0 ;
    7924           0 :     void *argp1 = 0 ;
    7925             :     int res1 = 0 ;
    7926             :     int res2 ;
    7927           0 :     char *buf2 = 0 ;
    7928           0 :     int alloc2 = 0 ;
    7929             :     int argvi = 0;
    7930           0 :     dXSARGS;
    7931             :     
    7932           0 :     if ((items < 2) || (items > 2)) {
    7933           0 :       SWIG_croak("Usage: webObj_imagepath_set(self,imagepath);");
    7934             :     }
    7935           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    7936           0 :     if (!SWIG_IsOK(res1)) {
    7937           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_imagepath_set" "', argument " "1"" of type '" "webObj *""'"); 
    7938             :     }
    7939           0 :     arg1 = (webObj *)(argp1);
    7940           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    7941           0 :     if (!SWIG_IsOK(res2)) {
    7942           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_imagepath_set" "', argument " "2"" of type '" "char *""'");
    7943             :     }
    7944           0 :     arg2 = (char *)(buf2);
    7945             :     {
    7946           0 :       if (arg1->imagepath) free((char*)arg1->imagepath);
    7947           0 :       if (arg2) {
    7948           0 :         arg1->imagepath = (char *) malloc(strlen(arg2)+1);
    7949             :         strcpy((char*)arg1->imagepath,arg2);
    7950             :       } else {
    7951           0 :         arg1->imagepath = 0;
    7952             :       }
    7953             :     }
    7954           0 :     ST(argvi) = sv_newmortal();
    7955             :     
    7956           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    7957           0 :     XSRETURN(argvi);
    7958             :   fail:
    7959             :     
    7960           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    7961           0 :     SWIG_croak_null();
    7962             :   }
    7963             : }
    7964             : 
    7965             : 
    7966           0 : XS(_wrap_webObj_imagepath_get) {
    7967             :   {
    7968             :     webObj *arg1 = (webObj *) 0 ;
    7969           0 :     void *argp1 = 0 ;
    7970             :     int res1 = 0 ;
    7971             :     int argvi = 0;
    7972             :     char *result = 0 ;
    7973           0 :     dXSARGS;
    7974             :     
    7975           0 :     if ((items < 1) || (items > 1)) {
    7976           0 :       SWIG_croak("Usage: webObj_imagepath_get(self);");
    7977             :     }
    7978           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    7979           0 :     if (!SWIG_IsOK(res1)) {
    7980           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_imagepath_get" "', argument " "1"" of type '" "webObj *""'"); 
    7981             :     }
    7982           0 :     arg1 = (webObj *)(argp1);
    7983           0 :     result = (char *) ((arg1)->imagepath);
    7984           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
    7985             :     
    7986           0 :     XSRETURN(argvi);
    7987             :   fail:
    7988             :     
    7989           0 :     SWIG_croak_null();
    7990             :   }
    7991             : }
    7992             : 
    7993             : 
    7994           0 : XS(_wrap_webObj_imageurl_set) {
    7995             :   {
    7996             :     webObj *arg1 = (webObj *) 0 ;
    7997             :     char *arg2 = (char *) 0 ;
    7998           0 :     void *argp1 = 0 ;
    7999             :     int res1 = 0 ;
    8000             :     int res2 ;
    8001           0 :     char *buf2 = 0 ;
    8002           0 :     int alloc2 = 0 ;
    8003             :     int argvi = 0;
    8004           0 :     dXSARGS;
    8005             :     
    8006           0 :     if ((items < 2) || (items > 2)) {
    8007           0 :       SWIG_croak("Usage: webObj_imageurl_set(self,imageurl);");
    8008             :     }
    8009           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    8010           0 :     if (!SWIG_IsOK(res1)) {
    8011           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_imageurl_set" "', argument " "1"" of type '" "webObj *""'"); 
    8012             :     }
    8013           0 :     arg1 = (webObj *)(argp1);
    8014           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    8015           0 :     if (!SWIG_IsOK(res2)) {
    8016           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_imageurl_set" "', argument " "2"" of type '" "char *""'");
    8017             :     }
    8018           0 :     arg2 = (char *)(buf2);
    8019             :     {
    8020           0 :       if (arg1->imageurl) free((char*)arg1->imageurl);
    8021           0 :       if (arg2) {
    8022           0 :         arg1->imageurl = (char *) malloc(strlen(arg2)+1);
    8023             :         strcpy((char*)arg1->imageurl,arg2);
    8024             :       } else {
    8025           0 :         arg1->imageurl = 0;
    8026             :       }
    8027             :     }
    8028           0 :     ST(argvi) = sv_newmortal();
    8029             :     
    8030           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    8031           0 :     XSRETURN(argvi);
    8032             :   fail:
    8033             :     
    8034           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    8035           0 :     SWIG_croak_null();
    8036             :   }
    8037             : }
    8038             : 
    8039             : 
    8040           0 : XS(_wrap_webObj_imageurl_get) {
    8041             :   {
    8042             :     webObj *arg1 = (webObj *) 0 ;
    8043           0 :     void *argp1 = 0 ;
    8044             :     int res1 = 0 ;
    8045             :     int argvi = 0;
    8046             :     char *result = 0 ;
    8047           0 :     dXSARGS;
    8048             :     
    8049           0 :     if ((items < 1) || (items > 1)) {
    8050           0 :       SWIG_croak("Usage: webObj_imageurl_get(self);");
    8051             :     }
    8052           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    8053           0 :     if (!SWIG_IsOK(res1)) {
    8054           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_imageurl_get" "', argument " "1"" of type '" "webObj *""'"); 
    8055             :     }
    8056           0 :     arg1 = (webObj *)(argp1);
    8057           0 :     result = (char *) ((arg1)->imageurl);
    8058           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
    8059             :     
    8060           0 :     XSRETURN(argvi);
    8061             :   fail:
    8062             :     
    8063           0 :     SWIG_croak_null();
    8064             :   }
    8065             : }
    8066             : 
    8067             : 
    8068           0 : XS(_wrap_webObj_temppath_set) {
    8069             :   {
    8070             :     webObj *arg1 = (webObj *) 0 ;
    8071             :     char *arg2 = (char *) 0 ;
    8072           0 :     void *argp1 = 0 ;
    8073             :     int res1 = 0 ;
    8074             :     int res2 ;
    8075           0 :     char *buf2 = 0 ;
    8076           0 :     int alloc2 = 0 ;
    8077             :     int argvi = 0;
    8078           0 :     dXSARGS;
    8079             :     
    8080           0 :     if ((items < 2) || (items > 2)) {
    8081           0 :       SWIG_croak("Usage: webObj_temppath_set(self,temppath);");
    8082             :     }
    8083           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    8084           0 :     if (!SWIG_IsOK(res1)) {
    8085           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_temppath_set" "', argument " "1"" of type '" "webObj *""'"); 
    8086             :     }
    8087           0 :     arg1 = (webObj *)(argp1);
    8088           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    8089           0 :     if (!SWIG_IsOK(res2)) {
    8090           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_temppath_set" "', argument " "2"" of type '" "char *""'");
    8091             :     }
    8092           0 :     arg2 = (char *)(buf2);
    8093             :     {
    8094           0 :       if (arg1->temppath) free((char*)arg1->temppath);
    8095           0 :       if (arg2) {
    8096           0 :         arg1->temppath = (char *) malloc(strlen(arg2)+1);
    8097             :         strcpy((char*)arg1->temppath,arg2);
    8098             :       } else {
    8099           0 :         arg1->temppath = 0;
    8100             :       }
    8101             :     }
    8102           0 :     ST(argvi) = sv_newmortal();
    8103             :     
    8104           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    8105           0 :     XSRETURN(argvi);
    8106             :   fail:
    8107             :     
    8108           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    8109           0 :     SWIG_croak_null();
    8110             :   }
    8111             : }
    8112             : 
    8113             : 
    8114           0 : XS(_wrap_webObj_temppath_get) {
    8115             :   {
    8116             :     webObj *arg1 = (webObj *) 0 ;
    8117           0 :     void *argp1 = 0 ;
    8118             :     int res1 = 0 ;
    8119             :     int argvi = 0;
    8120             :     char *result = 0 ;
    8121           0 :     dXSARGS;
    8122             :     
    8123           0 :     if ((items < 1) || (items > 1)) {
    8124           0 :       SWIG_croak("Usage: webObj_temppath_get(self);");
    8125             :     }
    8126           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    8127           0 :     if (!SWIG_IsOK(res1)) {
    8128           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_temppath_get" "', argument " "1"" of type '" "webObj *""'"); 
    8129             :     }
    8130           0 :     arg1 = (webObj *)(argp1);
    8131           0 :     result = (char *) ((arg1)->temppath);
    8132           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
    8133             :     
    8134           0 :     XSRETURN(argvi);
    8135             :   fail:
    8136             :     
    8137           0 :     SWIG_croak_null();
    8138             :   }
    8139             : }
    8140             : 
    8141             : 
    8142           0 : XS(_wrap_webObj_map_get) {
    8143             :   {
    8144             :     webObj *arg1 = (webObj *) 0 ;
    8145           0 :     void *argp1 = 0 ;
    8146             :     int res1 = 0 ;
    8147             :     int argvi = 0;
    8148             :     struct mapObj *result = 0 ;
    8149           0 :     dXSARGS;
    8150             :     
    8151           0 :     if ((items < 1) || (items > 1)) {
    8152           0 :       SWIG_croak("Usage: webObj_map_get(self);");
    8153             :     }
    8154           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    8155           0 :     if (!SWIG_IsOK(res1)) {
    8156           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_map_get" "', argument " "1"" of type '" "webObj *""'"); 
    8157             :     }
    8158           0 :     arg1 = (webObj *)(argp1);
    8159             :     {
    8160             :       /* Accessing map */
    8161           0 :       result = (struct mapObj *) ((arg1)->map);;
    8162           0 :       MS_REFCNT_INCR(result);
    8163             :     }
    8164           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mapObj, 0 | SWIG_SHADOW); argvi++ ;
    8165             :     
    8166           0 :     XSRETURN(argvi);
    8167             :   fail:
    8168             :     
    8169           0 :     SWIG_croak_null();
    8170             :   }
    8171             : }
    8172             : 
    8173             : 
    8174           0 : XS(_wrap_webObj_template_set) {
    8175             :   {
    8176             :     webObj *arg1 = (webObj *) 0 ;
    8177             :     char *arg2 = (char *) 0 ;
    8178           0 :     void *argp1 = 0 ;
    8179             :     int res1 = 0 ;
    8180             :     int res2 ;
    8181           0 :     char *buf2 = 0 ;
    8182           0 :     int alloc2 = 0 ;
    8183             :     int argvi = 0;
    8184           0 :     dXSARGS;
    8185             :     
    8186           0 :     if ((items < 2) || (items > 2)) {
    8187           0 :       SWIG_croak("Usage: webObj_template_set(self,template);");
    8188             :     }
    8189           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    8190           0 :     if (!SWIG_IsOK(res1)) {
    8191           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_template_set" "', argument " "1"" of type '" "webObj *""'"); 
    8192             :     }
    8193           0 :     arg1 = (webObj *)(argp1);
    8194           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    8195           0 :     if (!SWIG_IsOK(res2)) {
    8196           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_template_set" "', argument " "2"" of type '" "char *""'");
    8197             :     }
    8198           0 :     arg2 = (char *)(buf2);
    8199             :     {
    8200           0 :       if (arg1->template) free((char*)arg1->template);
    8201           0 :       if (arg2) {
    8202           0 :         arg1->template = (char *) malloc(strlen(arg2)+1);
    8203             :         strcpy((char*)arg1->template,arg2);
    8204             :       } else {
    8205           0 :         arg1->template = 0;
    8206             :       }
    8207             :     }
    8208           0 :     ST(argvi) = sv_newmortal();
    8209             :     
    8210           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    8211           0 :     XSRETURN(argvi);
    8212             :   fail:
    8213             :     
    8214           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    8215           0 :     SWIG_croak_null();
    8216             :   }
    8217             : }
    8218             : 
    8219             : 
    8220           0 : XS(_wrap_webObj_template_get) {
    8221             :   {
    8222             :     webObj *arg1 = (webObj *) 0 ;
    8223           0 :     void *argp1 = 0 ;
    8224             :     int res1 = 0 ;
    8225             :     int argvi = 0;
    8226             :     char *result = 0 ;
    8227           0 :     dXSARGS;
    8228             :     
    8229           0 :     if ((items < 1) || (items > 1)) {
    8230           0 :       SWIG_croak("Usage: webObj_template_get(self);");
    8231             :     }
    8232           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    8233           0 :     if (!SWIG_IsOK(res1)) {
    8234           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_template_get" "', argument " "1"" of type '" "webObj *""'"); 
    8235             :     }
    8236           0 :     arg1 = (webObj *)(argp1);
    8237           0 :     result = (char *) ((arg1)->template);
    8238           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
    8239             :     
    8240           0 :     XSRETURN(argvi);
    8241             :   fail:
    8242             :     
    8243           0 :     SWIG_croak_null();
    8244             :   }
    8245             : }
    8246             : 
    8247             : 
    8248           0 : XS(_wrap_webObj_header_set) {
    8249             :   {
    8250             :     webObj *arg1 = (webObj *) 0 ;
    8251             :     char *arg2 = (char *) 0 ;
    8252           0 :     void *argp1 = 0 ;
    8253             :     int res1 = 0 ;
    8254             :     int res2 ;
    8255           0 :     char *buf2 = 0 ;
    8256           0 :     int alloc2 = 0 ;
    8257             :     int argvi = 0;
    8258           0 :     dXSARGS;
    8259             :     
    8260           0 :     if ((items < 2) || (items > 2)) {
    8261           0 :       SWIG_croak("Usage: webObj_header_set(self,header);");
    8262             :     }
    8263           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    8264           0 :     if (!SWIG_IsOK(res1)) {
    8265           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_header_set" "', argument " "1"" of type '" "webObj *""'"); 
    8266             :     }
    8267           0 :     arg1 = (webObj *)(argp1);
    8268           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    8269           0 :     if (!SWIG_IsOK(res2)) {
    8270           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_header_set" "', argument " "2"" of type '" "char *""'");
    8271             :     }
    8272           0 :     arg2 = (char *)(buf2);
    8273             :     {
    8274           0 :       if (arg1->header) free((char*)arg1->header);
    8275           0 :       if (arg2) {
    8276           0 :         arg1->header = (char *) malloc(strlen(arg2)+1);
    8277             :         strcpy((char*)arg1->header,arg2);
    8278             :       } else {
    8279           0 :         arg1->header = 0;
    8280             :       }
    8281             :     }
    8282           0 :     ST(argvi) = sv_newmortal();
    8283             :     
    8284           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    8285           0 :     XSRETURN(argvi);
    8286             :   fail:
    8287             :     
    8288           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    8289           0 :     SWIG_croak_null();
    8290             :   }
    8291             : }
    8292             : 
    8293             : 
    8294           0 : XS(_wrap_webObj_header_get) {
    8295             :   {
    8296             :     webObj *arg1 = (webObj *) 0 ;
    8297           0 :     void *argp1 = 0 ;
    8298             :     int res1 = 0 ;
    8299             :     int argvi = 0;
    8300             :     char *result = 0 ;
    8301           0 :     dXSARGS;
    8302             :     
    8303           0 :     if ((items < 1) || (items > 1)) {
    8304           0 :       SWIG_croak("Usage: webObj_header_get(self);");
    8305             :     }
    8306           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    8307           0 :     if (!SWIG_IsOK(res1)) {
    8308           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_header_get" "', argument " "1"" of type '" "webObj *""'"); 
    8309             :     }
    8310           0 :     arg1 = (webObj *)(argp1);
    8311           0 :     result = (char *) ((arg1)->header);
    8312           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
    8313             :     
    8314           0 :     XSRETURN(argvi);
    8315             :   fail:
    8316             :     
    8317           0 :     SWIG_croak_null();
    8318             :   }
    8319             : }
    8320             : 
    8321             : 
    8322           0 : XS(_wrap_webObj_footer_set) {
    8323             :   {
    8324             :     webObj *arg1 = (webObj *) 0 ;
    8325             :     char *arg2 = (char *) 0 ;
    8326           0 :     void *argp1 = 0 ;
    8327             :     int res1 = 0 ;
    8328             :     int res2 ;
    8329           0 :     char *buf2 = 0 ;
    8330           0 :     int alloc2 = 0 ;
    8331             :     int argvi = 0;
    8332           0 :     dXSARGS;
    8333             :     
    8334           0 :     if ((items < 2) || (items > 2)) {
    8335           0 :       SWIG_croak("Usage: webObj_footer_set(self,footer);");
    8336             :     }
    8337           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    8338           0 :     if (!SWIG_IsOK(res1)) {
    8339           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_footer_set" "', argument " "1"" of type '" "webObj *""'"); 
    8340             :     }
    8341           0 :     arg1 = (webObj *)(argp1);
    8342           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    8343           0 :     if (!SWIG_IsOK(res2)) {
    8344           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_footer_set" "', argument " "2"" of type '" "char *""'");
    8345             :     }
    8346           0 :     arg2 = (char *)(buf2);
    8347             :     {
    8348           0 :       if (arg1->footer) free((char*)arg1->footer);
    8349           0 :       if (arg2) {
    8350           0 :         arg1->footer = (char *) malloc(strlen(arg2)+1);
    8351             :         strcpy((char*)arg1->footer,arg2);
    8352             :       } else {
    8353           0 :         arg1->footer = 0;
    8354             :       }
    8355             :     }
    8356           0 :     ST(argvi) = sv_newmortal();
    8357             :     
    8358           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    8359           0 :     XSRETURN(argvi);
    8360             :   fail:
    8361             :     
    8362           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    8363           0 :     SWIG_croak_null();
    8364             :   }
    8365             : }
    8366             : 
    8367             : 
    8368           0 : XS(_wrap_webObj_footer_get) {
    8369             :   {
    8370             :     webObj *arg1 = (webObj *) 0 ;
    8371           0 :     void *argp1 = 0 ;
    8372             :     int res1 = 0 ;
    8373             :     int argvi = 0;
    8374             :     char *result = 0 ;
    8375           0 :     dXSARGS;
    8376             :     
    8377           0 :     if ((items < 1) || (items > 1)) {
    8378           0 :       SWIG_croak("Usage: webObj_footer_get(self);");
    8379             :     }
    8380           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    8381           0 :     if (!SWIG_IsOK(res1)) {
    8382           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_footer_get" "', argument " "1"" of type '" "webObj *""'"); 
    8383             :     }
    8384           0 :     arg1 = (webObj *)(argp1);
    8385           0 :     result = (char *) ((arg1)->footer);
    8386           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
    8387             :     
    8388           0 :     XSRETURN(argvi);
    8389             :   fail:
    8390             :     
    8391           0 :     SWIG_croak_null();
    8392             :   }
    8393             : }
    8394             : 
    8395             : 
    8396           0 : XS(_wrap_webObj_empty_set) {
    8397             :   {
    8398             :     webObj *arg1 = (webObj *) 0 ;
    8399             :     char *arg2 = (char *) 0 ;
    8400           0 :     void *argp1 = 0 ;
    8401             :     int res1 = 0 ;
    8402             :     int res2 ;
    8403           0 :     char *buf2 = 0 ;
    8404           0 :     int alloc2 = 0 ;
    8405             :     int argvi = 0;
    8406           0 :     dXSARGS;
    8407             :     
    8408           0 :     if ((items < 2) || (items > 2)) {
    8409           0 :       SWIG_croak("Usage: webObj_empty_set(self,empty);");
    8410             :     }
    8411           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    8412           0 :     if (!SWIG_IsOK(res1)) {
    8413           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_empty_set" "', argument " "1"" of type '" "webObj *""'"); 
    8414             :     }
    8415           0 :     arg1 = (webObj *)(argp1);
    8416           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    8417           0 :     if (!SWIG_IsOK(res2)) {
    8418           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_empty_set" "', argument " "2"" of type '" "char *""'");
    8419             :     }
    8420           0 :     arg2 = (char *)(buf2);
    8421             :     {
    8422           0 :       if (arg1->empty) free((char*)arg1->empty);
    8423           0 :       if (arg2) {
    8424           0 :         arg1->empty = (char *) malloc(strlen(arg2)+1);
    8425             :         strcpy((char*)arg1->empty,arg2);
    8426             :       } else {
    8427           0 :         arg1->empty = 0;
    8428             :       }
    8429             :     }
    8430           0 :     ST(argvi) = sv_newmortal();
    8431             :     
    8432           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    8433           0 :     XSRETURN(argvi);
    8434             :   fail:
    8435             :     
    8436           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    8437           0 :     SWIG_croak_null();
    8438             :   }
    8439             : }
    8440             : 
    8441             : 
    8442           0 : XS(_wrap_webObj_empty_get) {
    8443             :   {
    8444             :     webObj *arg1 = (webObj *) 0 ;
    8445           0 :     void *argp1 = 0 ;
    8446             :     int res1 = 0 ;
    8447             :     int argvi = 0;
    8448             :     char *result = 0 ;
    8449           0 :     dXSARGS;
    8450             :     
    8451           0 :     if ((items < 1) || (items > 1)) {
    8452           0 :       SWIG_croak("Usage: webObj_empty_get(self);");
    8453             :     }
    8454           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    8455           0 :     if (!SWIG_IsOK(res1)) {
    8456           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_empty_get" "', argument " "1"" of type '" "webObj *""'"); 
    8457             :     }
    8458           0 :     arg1 = (webObj *)(argp1);
    8459           0 :     result = (char *) ((arg1)->empty);
    8460           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
    8461             :     
    8462           0 :     XSRETURN(argvi);
    8463             :   fail:
    8464             :     
    8465           0 :     SWIG_croak_null();
    8466             :   }
    8467             : }
    8468             : 
    8469             : 
    8470           0 : XS(_wrap_webObj_error_set) {
    8471             :   {
    8472             :     webObj *arg1 = (webObj *) 0 ;
    8473             :     char *arg2 = (char *) 0 ;
    8474           0 :     void *argp1 = 0 ;
    8475             :     int res1 = 0 ;
    8476             :     int res2 ;
    8477           0 :     char *buf2 = 0 ;
    8478           0 :     int alloc2 = 0 ;
    8479             :     int argvi = 0;
    8480           0 :     dXSARGS;
    8481             :     
    8482           0 :     if ((items < 2) || (items > 2)) {
    8483           0 :       SWIG_croak("Usage: webObj_error_set(self,error);");
    8484             :     }
    8485           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    8486           0 :     if (!SWIG_IsOK(res1)) {
    8487           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_error_set" "', argument " "1"" of type '" "webObj *""'"); 
    8488             :     }
    8489           0 :     arg1 = (webObj *)(argp1);
    8490           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    8491           0 :     if (!SWIG_IsOK(res2)) {
    8492           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_error_set" "', argument " "2"" of type '" "char *""'");
    8493             :     }
    8494           0 :     arg2 = (char *)(buf2);
    8495             :     {
    8496           0 :       if (arg1->error) free((char*)arg1->error);
    8497           0 :       if (arg2) {
    8498           0 :         arg1->error = (char *) malloc(strlen(arg2)+1);
    8499             :         strcpy((char*)arg1->error,arg2);
    8500             :       } else {
    8501           0 :         arg1->error = 0;
    8502             :       }
    8503             :     }
    8504           0 :     ST(argvi) = sv_newmortal();
    8505             :     
    8506           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    8507           0 :     XSRETURN(argvi);
    8508             :   fail:
    8509             :     
    8510           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    8511           0 :     SWIG_croak_null();
    8512             :   }
    8513             : }
    8514             : 
    8515             : 
    8516           0 : XS(_wrap_webObj_error_get) {
    8517             :   {
    8518             :     webObj *arg1 = (webObj *) 0 ;
    8519           0 :     void *argp1 = 0 ;
    8520             :     int res1 = 0 ;
    8521             :     int argvi = 0;
    8522             :     char *result = 0 ;
    8523           0 :     dXSARGS;
    8524             :     
    8525           0 :     if ((items < 1) || (items > 1)) {
    8526           0 :       SWIG_croak("Usage: webObj_error_get(self);");
    8527             :     }
    8528           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    8529           0 :     if (!SWIG_IsOK(res1)) {
    8530           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_error_get" "', argument " "1"" of type '" "webObj *""'"); 
    8531             :     }
    8532           0 :     arg1 = (webObj *)(argp1);
    8533           0 :     result = (char *) ((arg1)->error);
    8534           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
    8535             :     
    8536           0 :     XSRETURN(argvi);
    8537             :   fail:
    8538             :     
    8539           0 :     SWIG_croak_null();
    8540             :   }
    8541             : }
    8542             : 
    8543             : 
    8544           0 : XS(_wrap_webObj_extent_set) {
    8545             :   {
    8546             :     webObj *arg1 = (webObj *) 0 ;
    8547             :     rectObj *arg2 = (rectObj *) 0 ;
    8548           0 :     void *argp1 = 0 ;
    8549             :     int res1 = 0 ;
    8550           0 :     void *argp2 = 0 ;
    8551             :     int res2 = 0 ;
    8552             :     int argvi = 0;
    8553           0 :     dXSARGS;
    8554             :     
    8555           0 :     if ((items < 2) || (items > 2)) {
    8556           0 :       SWIG_croak("Usage: webObj_extent_set(self,extent);");
    8557             :     }
    8558           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    8559           0 :     if (!SWIG_IsOK(res1)) {
    8560           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_extent_set" "', argument " "1"" of type '" "webObj *""'"); 
    8561             :     }
    8562           0 :     arg1 = (webObj *)(argp1);
    8563           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_rectObj, 0 |  0 );
    8564           0 :     if (!SWIG_IsOK(res2)) {
    8565           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_extent_set" "', argument " "2"" of type '" "rectObj *""'"); 
    8566             :     }
    8567           0 :     arg2 = (rectObj *)(argp2);
    8568           0 :     if (arg1) (arg1)->extent = *arg2;
    8569           0 :     ST(argvi) = sv_newmortal();
    8570             :     
    8571             :     
    8572           0 :     XSRETURN(argvi);
    8573             :   fail:
    8574             :     
    8575             :     
    8576           0 :     SWIG_croak_null();
    8577             :   }
    8578             : }
    8579             : 
    8580             : 
    8581           0 : XS(_wrap_webObj_extent_get) {
    8582             :   {
    8583             :     webObj *arg1 = (webObj *) 0 ;
    8584           0 :     void *argp1 = 0 ;
    8585             :     int res1 = 0 ;
    8586             :     int argvi = 0;
    8587             :     rectObj *result = 0 ;
    8588           0 :     dXSARGS;
    8589             :     
    8590           0 :     if ((items < 1) || (items > 1)) {
    8591           0 :       SWIG_croak("Usage: webObj_extent_get(self);");
    8592             :     }
    8593           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    8594           0 :     if (!SWIG_IsOK(res1)) {
    8595           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_extent_get" "', argument " "1"" of type '" "webObj *""'"); 
    8596             :     }
    8597           0 :     arg1 = (webObj *)(argp1);
    8598           0 :     result = (rectObj *)& ((arg1)->extent);
    8599           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_rectObj, 0 | SWIG_SHADOW); argvi++ ;
    8600             :     
    8601           0 :     XSRETURN(argvi);
    8602             :   fail:
    8603             :     
    8604           0 :     SWIG_croak_null();
    8605             :   }
    8606             : }
    8607             : 
    8608             : 
    8609           0 : XS(_wrap_webObj_minscaledenom_set) {
    8610             :   {
    8611             :     webObj *arg1 = (webObj *) 0 ;
    8612             :     double arg2 ;
    8613           0 :     void *argp1 = 0 ;
    8614             :     int res1 = 0 ;
    8615             :     double val2 ;
    8616             :     int ecode2 = 0 ;
    8617             :     int argvi = 0;
    8618           0 :     dXSARGS;
    8619             :     
    8620           0 :     if ((items < 2) || (items > 2)) {
    8621           0 :       SWIG_croak("Usage: webObj_minscaledenom_set(self,minscaledenom);");
    8622             :     }
    8623           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    8624           0 :     if (!SWIG_IsOK(res1)) {
    8625           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_minscaledenom_set" "', argument " "1"" of type '" "webObj *""'"); 
    8626             :     }
    8627           0 :     arg1 = (webObj *)(argp1);
    8628           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    8629           0 :     if (!SWIG_IsOK(ecode2)) {
    8630           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "webObj_minscaledenom_set" "', argument " "2"" of type '" "double""'");
    8631             :     } 
    8632           0 :     arg2 = (double)(val2);
    8633           0 :     if (arg1) (arg1)->minscaledenom = arg2;
    8634           0 :     ST(argvi) = sv_newmortal();
    8635             :     
    8636             :     
    8637           0 :     XSRETURN(argvi);
    8638             :   fail:
    8639             :     
    8640             :     
    8641           0 :     SWIG_croak_null();
    8642             :   }
    8643             : }
    8644             : 
    8645             : 
    8646           0 : XS(_wrap_webObj_minscaledenom_get) {
    8647             :   {
    8648             :     webObj *arg1 = (webObj *) 0 ;
    8649           0 :     void *argp1 = 0 ;
    8650             :     int res1 = 0 ;
    8651             :     int argvi = 0;
    8652             :     double result;
    8653           0 :     dXSARGS;
    8654             :     
    8655           0 :     if ((items < 1) || (items > 1)) {
    8656           0 :       SWIG_croak("Usage: webObj_minscaledenom_get(self);");
    8657             :     }
    8658           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    8659           0 :     if (!SWIG_IsOK(res1)) {
    8660           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_minscaledenom_get" "', argument " "1"" of type '" "webObj *""'"); 
    8661             :     }
    8662           0 :     arg1 = (webObj *)(argp1);
    8663           0 :     result = (double) ((arg1)->minscaledenom);
    8664           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
    8665             :     
    8666           0 :     XSRETURN(argvi);
    8667             :   fail:
    8668             :     
    8669           0 :     SWIG_croak_null();
    8670             :   }
    8671             : }
    8672             : 
    8673             : 
    8674           0 : XS(_wrap_webObj_maxscaledenom_set) {
    8675             :   {
    8676             :     webObj *arg1 = (webObj *) 0 ;
    8677             :     double arg2 ;
    8678           0 :     void *argp1 = 0 ;
    8679             :     int res1 = 0 ;
    8680             :     double val2 ;
    8681             :     int ecode2 = 0 ;
    8682             :     int argvi = 0;
    8683           0 :     dXSARGS;
    8684             :     
    8685           0 :     if ((items < 2) || (items > 2)) {
    8686           0 :       SWIG_croak("Usage: webObj_maxscaledenom_set(self,maxscaledenom);");
    8687             :     }
    8688           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    8689           0 :     if (!SWIG_IsOK(res1)) {
    8690           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_maxscaledenom_set" "', argument " "1"" of type '" "webObj *""'"); 
    8691             :     }
    8692           0 :     arg1 = (webObj *)(argp1);
    8693           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    8694           0 :     if (!SWIG_IsOK(ecode2)) {
    8695           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "webObj_maxscaledenom_set" "', argument " "2"" of type '" "double""'");
    8696             :     } 
    8697           0 :     arg2 = (double)(val2);
    8698           0 :     if (arg1) (arg1)->maxscaledenom = arg2;
    8699           0 :     ST(argvi) = sv_newmortal();
    8700             :     
    8701             :     
    8702           0 :     XSRETURN(argvi);
    8703             :   fail:
    8704             :     
    8705             :     
    8706           0 :     SWIG_croak_null();
    8707             :   }
    8708             : }
    8709             : 
    8710             : 
    8711           0 : XS(_wrap_webObj_maxscaledenom_get) {
    8712             :   {
    8713             :     webObj *arg1 = (webObj *) 0 ;
    8714           0 :     void *argp1 = 0 ;
    8715             :     int res1 = 0 ;
    8716             :     int argvi = 0;
    8717             :     double result;
    8718           0 :     dXSARGS;
    8719             :     
    8720           0 :     if ((items < 1) || (items > 1)) {
    8721           0 :       SWIG_croak("Usage: webObj_maxscaledenom_get(self);");
    8722             :     }
    8723           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    8724           0 :     if (!SWIG_IsOK(res1)) {
    8725           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_maxscaledenom_get" "', argument " "1"" of type '" "webObj *""'"); 
    8726             :     }
    8727           0 :     arg1 = (webObj *)(argp1);
    8728           0 :     result = (double) ((arg1)->maxscaledenom);
    8729           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
    8730             :     
    8731           0 :     XSRETURN(argvi);
    8732             :   fail:
    8733             :     
    8734           0 :     SWIG_croak_null();
    8735             :   }
    8736             : }
    8737             : 
    8738             : 
    8739           0 : XS(_wrap_webObj_mintemplate_set) {
    8740             :   {
    8741             :     webObj *arg1 = (webObj *) 0 ;
    8742             :     char *arg2 = (char *) 0 ;
    8743           0 :     void *argp1 = 0 ;
    8744             :     int res1 = 0 ;
    8745             :     int res2 ;
    8746           0 :     char *buf2 = 0 ;
    8747           0 :     int alloc2 = 0 ;
    8748             :     int argvi = 0;
    8749           0 :     dXSARGS;
    8750             :     
    8751           0 :     if ((items < 2) || (items > 2)) {
    8752           0 :       SWIG_croak("Usage: webObj_mintemplate_set(self,mintemplate);");
    8753             :     }
    8754           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    8755           0 :     if (!SWIG_IsOK(res1)) {
    8756           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_mintemplate_set" "', argument " "1"" of type '" "webObj *""'"); 
    8757             :     }
    8758           0 :     arg1 = (webObj *)(argp1);
    8759           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    8760           0 :     if (!SWIG_IsOK(res2)) {
    8761           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_mintemplate_set" "', argument " "2"" of type '" "char *""'");
    8762             :     }
    8763           0 :     arg2 = (char *)(buf2);
    8764             :     {
    8765           0 :       if (arg1->mintemplate) free((char*)arg1->mintemplate);
    8766           0 :       if (arg2) {
    8767           0 :         arg1->mintemplate = (char *) malloc(strlen(arg2)+1);
    8768             :         strcpy((char*)arg1->mintemplate,arg2);
    8769             :       } else {
    8770           0 :         arg1->mintemplate = 0;
    8771             :       }
    8772             :     }
    8773           0 :     ST(argvi) = sv_newmortal();
    8774             :     
    8775           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    8776           0 :     XSRETURN(argvi);
    8777             :   fail:
    8778             :     
    8779           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    8780           0 :     SWIG_croak_null();
    8781             :   }
    8782             : }
    8783             : 
    8784             : 
    8785           0 : XS(_wrap_webObj_mintemplate_get) {
    8786             :   {
    8787             :     webObj *arg1 = (webObj *) 0 ;
    8788           0 :     void *argp1 = 0 ;
    8789             :     int res1 = 0 ;
    8790             :     int argvi = 0;
    8791             :     char *result = 0 ;
    8792           0 :     dXSARGS;
    8793             :     
    8794           0 :     if ((items < 1) || (items > 1)) {
    8795           0 :       SWIG_croak("Usage: webObj_mintemplate_get(self);");
    8796             :     }
    8797           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    8798           0 :     if (!SWIG_IsOK(res1)) {
    8799           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_mintemplate_get" "', argument " "1"" of type '" "webObj *""'"); 
    8800             :     }
    8801           0 :     arg1 = (webObj *)(argp1);
    8802           0 :     result = (char *) ((arg1)->mintemplate);
    8803           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
    8804             :     
    8805           0 :     XSRETURN(argvi);
    8806             :   fail:
    8807             :     
    8808           0 :     SWIG_croak_null();
    8809             :   }
    8810             : }
    8811             : 
    8812             : 
    8813           0 : XS(_wrap_webObj_maxtemplate_set) {
    8814             :   {
    8815             :     webObj *arg1 = (webObj *) 0 ;
    8816             :     char *arg2 = (char *) 0 ;
    8817           0 :     void *argp1 = 0 ;
    8818             :     int res1 = 0 ;
    8819             :     int res2 ;
    8820           0 :     char *buf2 = 0 ;
    8821           0 :     int alloc2 = 0 ;
    8822             :     int argvi = 0;
    8823           0 :     dXSARGS;
    8824             :     
    8825           0 :     if ((items < 2) || (items > 2)) {
    8826           0 :       SWIG_croak("Usage: webObj_maxtemplate_set(self,maxtemplate);");
    8827             :     }
    8828           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    8829           0 :     if (!SWIG_IsOK(res1)) {
    8830           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_maxtemplate_set" "', argument " "1"" of type '" "webObj *""'"); 
    8831             :     }
    8832           0 :     arg1 = (webObj *)(argp1);
    8833           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    8834           0 :     if (!SWIG_IsOK(res2)) {
    8835           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_maxtemplate_set" "', argument " "2"" of type '" "char *""'");
    8836             :     }
    8837           0 :     arg2 = (char *)(buf2);
    8838             :     {
    8839           0 :       if (arg1->maxtemplate) free((char*)arg1->maxtemplate);
    8840           0 :       if (arg2) {
    8841           0 :         arg1->maxtemplate = (char *) malloc(strlen(arg2)+1);
    8842             :         strcpy((char*)arg1->maxtemplate,arg2);
    8843             :       } else {
    8844           0 :         arg1->maxtemplate = 0;
    8845             :       }
    8846             :     }
    8847           0 :     ST(argvi) = sv_newmortal();
    8848             :     
    8849           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    8850           0 :     XSRETURN(argvi);
    8851             :   fail:
    8852             :     
    8853           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    8854           0 :     SWIG_croak_null();
    8855             :   }
    8856             : }
    8857             : 
    8858             : 
    8859           0 : XS(_wrap_webObj_maxtemplate_get) {
    8860             :   {
    8861             :     webObj *arg1 = (webObj *) 0 ;
    8862           0 :     void *argp1 = 0 ;
    8863             :     int res1 = 0 ;
    8864             :     int argvi = 0;
    8865             :     char *result = 0 ;
    8866           0 :     dXSARGS;
    8867             :     
    8868           0 :     if ((items < 1) || (items > 1)) {
    8869           0 :       SWIG_croak("Usage: webObj_maxtemplate_get(self);");
    8870             :     }
    8871           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    8872           0 :     if (!SWIG_IsOK(res1)) {
    8873           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_maxtemplate_get" "', argument " "1"" of type '" "webObj *""'"); 
    8874             :     }
    8875           0 :     arg1 = (webObj *)(argp1);
    8876           0 :     result = (char *) ((arg1)->maxtemplate);
    8877           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
    8878             :     
    8879           0 :     XSRETURN(argvi);
    8880             :   fail:
    8881             :     
    8882           0 :     SWIG_croak_null();
    8883             :   }
    8884             : }
    8885             : 
    8886             : 
    8887           0 : XS(_wrap_webObj_queryformat_set) {
    8888             :   {
    8889             :     webObj *arg1 = (webObj *) 0 ;
    8890             :     char *arg2 = (char *) 0 ;
    8891           0 :     void *argp1 = 0 ;
    8892             :     int res1 = 0 ;
    8893             :     int res2 ;
    8894           0 :     char *buf2 = 0 ;
    8895           0 :     int alloc2 = 0 ;
    8896             :     int argvi = 0;
    8897           0 :     dXSARGS;
    8898             :     
    8899           0 :     if ((items < 2) || (items > 2)) {
    8900           0 :       SWIG_croak("Usage: webObj_queryformat_set(self,queryformat);");
    8901             :     }
    8902           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    8903           0 :     if (!SWIG_IsOK(res1)) {
    8904           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_queryformat_set" "', argument " "1"" of type '" "webObj *""'"); 
    8905             :     }
    8906           0 :     arg1 = (webObj *)(argp1);
    8907           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    8908           0 :     if (!SWIG_IsOK(res2)) {
    8909           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_queryformat_set" "', argument " "2"" of type '" "char *""'");
    8910             :     }
    8911           0 :     arg2 = (char *)(buf2);
    8912             :     {
    8913           0 :       if (arg1->queryformat) free((char*)arg1->queryformat);
    8914           0 :       if (arg2) {
    8915           0 :         arg1->queryformat = (char *) malloc(strlen(arg2)+1);
    8916             :         strcpy((char*)arg1->queryformat,arg2);
    8917             :       } else {
    8918           0 :         arg1->queryformat = 0;
    8919             :       }
    8920             :     }
    8921           0 :     ST(argvi) = sv_newmortal();
    8922             :     
    8923           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    8924           0 :     XSRETURN(argvi);
    8925             :   fail:
    8926             :     
    8927           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    8928           0 :     SWIG_croak_null();
    8929             :   }
    8930             : }
    8931             : 
    8932             : 
    8933           0 : XS(_wrap_webObj_queryformat_get) {
    8934             :   {
    8935             :     webObj *arg1 = (webObj *) 0 ;
    8936           0 :     void *argp1 = 0 ;
    8937             :     int res1 = 0 ;
    8938             :     int argvi = 0;
    8939             :     char *result = 0 ;
    8940           0 :     dXSARGS;
    8941             :     
    8942           0 :     if ((items < 1) || (items > 1)) {
    8943           0 :       SWIG_croak("Usage: webObj_queryformat_get(self);");
    8944             :     }
    8945           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    8946           0 :     if (!SWIG_IsOK(res1)) {
    8947           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_queryformat_get" "', argument " "1"" of type '" "webObj *""'"); 
    8948             :     }
    8949           0 :     arg1 = (webObj *)(argp1);
    8950           0 :     result = (char *) ((arg1)->queryformat);
    8951           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
    8952             :     
    8953           0 :     XSRETURN(argvi);
    8954             :   fail:
    8955             :     
    8956           0 :     SWIG_croak_null();
    8957             :   }
    8958             : }
    8959             : 
    8960             : 
    8961           0 : XS(_wrap_webObj_legendformat_set) {
    8962             :   {
    8963             :     webObj *arg1 = (webObj *) 0 ;
    8964             :     char *arg2 = (char *) 0 ;
    8965           0 :     void *argp1 = 0 ;
    8966             :     int res1 = 0 ;
    8967             :     int res2 ;
    8968           0 :     char *buf2 = 0 ;
    8969           0 :     int alloc2 = 0 ;
    8970             :     int argvi = 0;
    8971           0 :     dXSARGS;
    8972             :     
    8973           0 :     if ((items < 2) || (items > 2)) {
    8974           0 :       SWIG_croak("Usage: webObj_legendformat_set(self,legendformat);");
    8975             :     }
    8976           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    8977           0 :     if (!SWIG_IsOK(res1)) {
    8978           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_legendformat_set" "', argument " "1"" of type '" "webObj *""'"); 
    8979             :     }
    8980           0 :     arg1 = (webObj *)(argp1);
    8981           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    8982           0 :     if (!SWIG_IsOK(res2)) {
    8983           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_legendformat_set" "', argument " "2"" of type '" "char *""'");
    8984             :     }
    8985           0 :     arg2 = (char *)(buf2);
    8986             :     {
    8987           0 :       if (arg1->legendformat) free((char*)arg1->legendformat);
    8988           0 :       if (arg2) {
    8989           0 :         arg1->legendformat = (char *) malloc(strlen(arg2)+1);
    8990             :         strcpy((char*)arg1->legendformat,arg2);
    8991             :       } else {
    8992           0 :         arg1->legendformat = 0;
    8993             :       }
    8994             :     }
    8995           0 :     ST(argvi) = sv_newmortal();
    8996             :     
    8997           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    8998           0 :     XSRETURN(argvi);
    8999             :   fail:
    9000             :     
    9001           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    9002           0 :     SWIG_croak_null();
    9003             :   }
    9004             : }
    9005             : 
    9006             : 
    9007           0 : XS(_wrap_webObj_legendformat_get) {
    9008             :   {
    9009             :     webObj *arg1 = (webObj *) 0 ;
    9010           0 :     void *argp1 = 0 ;
    9011             :     int res1 = 0 ;
    9012             :     int argvi = 0;
    9013             :     char *result = 0 ;
    9014           0 :     dXSARGS;
    9015             :     
    9016           0 :     if ((items < 1) || (items > 1)) {
    9017           0 :       SWIG_croak("Usage: webObj_legendformat_get(self);");
    9018             :     }
    9019           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    9020           0 :     if (!SWIG_IsOK(res1)) {
    9021           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_legendformat_get" "', argument " "1"" of type '" "webObj *""'"); 
    9022             :     }
    9023           0 :     arg1 = (webObj *)(argp1);
    9024           0 :     result = (char *) ((arg1)->legendformat);
    9025           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
    9026             :     
    9027           0 :     XSRETURN(argvi);
    9028             :   fail:
    9029             :     
    9030           0 :     SWIG_croak_null();
    9031             :   }
    9032             : }
    9033             : 
    9034             : 
    9035           0 : XS(_wrap_webObj_browseformat_set) {
    9036             :   {
    9037             :     webObj *arg1 = (webObj *) 0 ;
    9038             :     char *arg2 = (char *) 0 ;
    9039           0 :     void *argp1 = 0 ;
    9040             :     int res1 = 0 ;
    9041             :     int res2 ;
    9042           0 :     char *buf2 = 0 ;
    9043           0 :     int alloc2 = 0 ;
    9044             :     int argvi = 0;
    9045           0 :     dXSARGS;
    9046             :     
    9047           0 :     if ((items < 2) || (items > 2)) {
    9048           0 :       SWIG_croak("Usage: webObj_browseformat_set(self,browseformat);");
    9049             :     }
    9050           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    9051           0 :     if (!SWIG_IsOK(res1)) {
    9052           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_browseformat_set" "', argument " "1"" of type '" "webObj *""'"); 
    9053             :     }
    9054           0 :     arg1 = (webObj *)(argp1);
    9055           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    9056           0 :     if (!SWIG_IsOK(res2)) {
    9057           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_browseformat_set" "', argument " "2"" of type '" "char *""'");
    9058             :     }
    9059           0 :     arg2 = (char *)(buf2);
    9060             :     {
    9061           0 :       if (arg1->browseformat) free((char*)arg1->browseformat);
    9062           0 :       if (arg2) {
    9063           0 :         arg1->browseformat = (char *) malloc(strlen(arg2)+1);
    9064             :         strcpy((char*)arg1->browseformat,arg2);
    9065             :       } else {
    9066           0 :         arg1->browseformat = 0;
    9067             :       }
    9068             :     }
    9069           0 :     ST(argvi) = sv_newmortal();
    9070             :     
    9071           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    9072           0 :     XSRETURN(argvi);
    9073             :   fail:
    9074             :     
    9075           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    9076           0 :     SWIG_croak_null();
    9077             :   }
    9078             : }
    9079             : 
    9080             : 
    9081           0 : XS(_wrap_webObj_browseformat_get) {
    9082             :   {
    9083             :     webObj *arg1 = (webObj *) 0 ;
    9084           0 :     void *argp1 = 0 ;
    9085             :     int res1 = 0 ;
    9086             :     int argvi = 0;
    9087             :     char *result = 0 ;
    9088           0 :     dXSARGS;
    9089             :     
    9090           0 :     if ((items < 1) || (items > 1)) {
    9091           0 :       SWIG_croak("Usage: webObj_browseformat_get(self);");
    9092             :     }
    9093           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    9094           0 :     if (!SWIG_IsOK(res1)) {
    9095           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_browseformat_get" "', argument " "1"" of type '" "webObj *""'"); 
    9096             :     }
    9097           0 :     arg1 = (webObj *)(argp1);
    9098           0 :     result = (char *) ((arg1)->browseformat);
    9099           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
    9100             :     
    9101           0 :     XSRETURN(argvi);
    9102             :   fail:
    9103             :     
    9104           0 :     SWIG_croak_null();
    9105             :   }
    9106             : }
    9107             : 
    9108             : 
    9109           0 : XS(_wrap_webObj_metadata_get) {
    9110             :   {
    9111             :     webObj *arg1 = (webObj *) 0 ;
    9112           0 :     void *argp1 = 0 ;
    9113             :     int res1 = 0 ;
    9114             :     int argvi = 0;
    9115             :     hashTableObj *result = 0 ;
    9116           0 :     dXSARGS;
    9117             :     
    9118           0 :     if ((items < 1) || (items > 1)) {
    9119           0 :       SWIG_croak("Usage: webObj_metadata_get(self);");
    9120             :     }
    9121           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    9122           0 :     if (!SWIG_IsOK(res1)) {
    9123           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_metadata_get" "', argument " "1"" of type '" "webObj *""'"); 
    9124             :     }
    9125           0 :     arg1 = (webObj *)(argp1);
    9126           0 :     result = (hashTableObj *)& ((arg1)->metadata);
    9127           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_hashTableObj, 0 | SWIG_SHADOW); argvi++ ;
    9128             :     
    9129           0 :     XSRETURN(argvi);
    9130             :   fail:
    9131             :     
    9132           0 :     SWIG_croak_null();
    9133             :   }
    9134             : }
    9135             : 
    9136             : 
    9137           0 : XS(_wrap_webObj_validation_get) {
    9138             :   {
    9139             :     webObj *arg1 = (webObj *) 0 ;
    9140           0 :     void *argp1 = 0 ;
    9141             :     int res1 = 0 ;
    9142             :     int argvi = 0;
    9143             :     hashTableObj *result = 0 ;
    9144           0 :     dXSARGS;
    9145             :     
    9146           0 :     if ((items < 1) || (items > 1)) {
    9147           0 :       SWIG_croak("Usage: webObj_validation_get(self);");
    9148             :     }
    9149           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    9150           0 :     if (!SWIG_IsOK(res1)) {
    9151           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_validation_get" "', argument " "1"" of type '" "webObj *""'"); 
    9152             :     }
    9153           0 :     arg1 = (webObj *)(argp1);
    9154           0 :     result = (hashTableObj *)& ((arg1)->validation);
    9155           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_hashTableObj, 0 | SWIG_SHADOW); argvi++ ;
    9156             :     
    9157           0 :     XSRETURN(argvi);
    9158             :   fail:
    9159             :     
    9160           0 :     SWIG_croak_null();
    9161             :   }
    9162             : }
    9163             : 
    9164             : 
    9165           0 : XS(_wrap_new_webObj) {
    9166             :   {
    9167             :     int argvi = 0;
    9168             :     webObj *result = 0 ;
    9169           0 :     dXSARGS;
    9170             :     
    9171           0 :     if ((items < 0) || (items > 0)) {
    9172           0 :       SWIG_croak("Usage: new_webObj();");
    9173             :     }
    9174             :     result = (webObj *)new_webObj();
    9175           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_webObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    9176           0 :     XSRETURN(argvi);
    9177             :   fail:
    9178           0 :     SWIG_croak_null();
    9179             :   }
    9180             : }
    9181             : 
    9182             : 
    9183           0 : XS(_wrap_delete_webObj) {
    9184             :   {
    9185             :     webObj *arg1 = (webObj *) 0 ;
    9186           0 :     void *argp1 = 0 ;
    9187             :     int res1 = 0 ;
    9188             :     int argvi = 0;
    9189           0 :     dXSARGS;
    9190             :     
    9191           0 :     if ((items < 1) || (items > 1)) {
    9192           0 :       SWIG_croak("Usage: delete_webObj(self);");
    9193             :     }
    9194           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, SWIG_POINTER_DISOWN |  0 );
    9195           0 :     if (!SWIG_IsOK(res1)) {
    9196           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_webObj" "', argument " "1"" of type '" "webObj *""'"); 
    9197             :     }
    9198           0 :     arg1 = (webObj *)(argp1);
    9199           0 :     delete_webObj(arg1);
    9200           0 :     ST(argvi) = sv_newmortal();
    9201             :     
    9202           0 :     XSRETURN(argvi);
    9203             :   fail:
    9204             :     
    9205           0 :     SWIG_croak_null();
    9206             :   }
    9207             : }
    9208             : 
    9209             : 
    9210           0 : XS(_wrap_webObj_updateFromString) {
    9211             :   {
    9212             :     webObj *arg1 = (webObj *) 0 ;
    9213             :     char *arg2 = (char *) 0 ;
    9214           0 :     void *argp1 = 0 ;
    9215             :     int res1 = 0 ;
    9216             :     int res2 ;
    9217           0 :     char *buf2 = 0 ;
    9218           0 :     int alloc2 = 0 ;
    9219             :     int argvi = 0;
    9220             :     int result;
    9221           0 :     dXSARGS;
    9222             :     
    9223           0 :     if ((items < 2) || (items > 2)) {
    9224           0 :       SWIG_croak("Usage: webObj_updateFromString(self,snippet);");
    9225             :     }
    9226           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    9227           0 :     if (!SWIG_IsOK(res1)) {
    9228           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_updateFromString" "', argument " "1"" of type '" "webObj *""'"); 
    9229             :     }
    9230           0 :     arg1 = (webObj *)(argp1);
    9231           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    9232           0 :     if (!SWIG_IsOK(res2)) {
    9233           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_updateFromString" "', argument " "2"" of type '" "char *""'");
    9234             :     }
    9235           0 :     arg2 = (char *)(buf2);
    9236             :     result = (int)webObj_updateFromString(arg1,arg2);
    9237           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
    9238             :     
    9239           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    9240           0 :     XSRETURN(argvi);
    9241             :   fail:
    9242             :     
    9243           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    9244           0 :     SWIG_croak_null();
    9245             :   }
    9246             : }
    9247             : 
    9248             : 
    9249           0 : XS(_wrap_webObj_convertToString) {
    9250             :   {
    9251             :     webObj *arg1 = (webObj *) 0 ;
    9252           0 :     void *argp1 = 0 ;
    9253             :     int res1 = 0 ;
    9254             :     int argvi = 0;
    9255             :     char *result = 0 ;
    9256           0 :     dXSARGS;
    9257             :     
    9258           0 :     if ((items < 1) || (items > 1)) {
    9259           0 :       SWIG_croak("Usage: webObj_convertToString(self);");
    9260             :     }
    9261           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    9262           0 :     if (!SWIG_IsOK(res1)) {
    9263           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_convertToString" "', argument " "1"" of type '" "webObj *""'"); 
    9264             :     }
    9265           0 :     arg1 = (webObj *)(argp1);
    9266             :     result = (char *)webObj_convertToString(arg1);
    9267           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
    9268             :     
    9269           0 :     free((char*)result);
    9270           0 :     XSRETURN(argvi);
    9271             :   fail:
    9272             :     
    9273           0 :     SWIG_croak_null();
    9274             :   }
    9275             : }
    9276             : 
    9277             : 
    9278           0 : XS(_wrap_styleObj_refcount_get) {
    9279             :   {
    9280             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
    9281           0 :     void *argp1 = 0 ;
    9282             :     int res1 = 0 ;
    9283             :     int argvi = 0;
    9284             :     int result;
    9285           0 :     dXSARGS;
    9286             :     
    9287           0 :     if ((items < 1) || (items > 1)) {
    9288           0 :       SWIG_croak("Usage: styleObj_refcount_get(self);");
    9289             :     }
    9290           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
    9291           0 :     if (!SWIG_IsOK(res1)) {
    9292           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_refcount_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
    9293             :     }
    9294           0 :     arg1 = (struct styleObj *)(argp1);
    9295           0 :     result = (int) ((arg1)->refcount);
    9296           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
    9297             :     
    9298           0 :     XSRETURN(argvi);
    9299             :   fail:
    9300             :     
    9301           0 :     SWIG_croak_null();
    9302             :   }
    9303             : }
    9304             : 
    9305             : 
    9306           0 : XS(_wrap_styleObj_autoangle_set) {
    9307             :   {
    9308             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
    9309             :     int arg2 ;
    9310           0 :     void *argp1 = 0 ;
    9311             :     int res1 = 0 ;
    9312             :     int val2 ;
    9313             :     int ecode2 = 0 ;
    9314             :     int argvi = 0;
    9315           0 :     dXSARGS;
    9316             :     
    9317           0 :     if ((items < 2) || (items > 2)) {
    9318           0 :       SWIG_croak("Usage: styleObj_autoangle_set(self,autoangle);");
    9319             :     }
    9320           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
    9321           0 :     if (!SWIG_IsOK(res1)) {
    9322           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_autoangle_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
    9323             :     }
    9324           0 :     arg1 = (struct styleObj *)(argp1);
    9325           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    9326           0 :     if (!SWIG_IsOK(ecode2)) {
    9327           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_autoangle_set" "', argument " "2"" of type '" "int""'");
    9328             :     } 
    9329           0 :     arg2 = (int)(val2);
    9330           0 :     if (arg1) (arg1)->autoangle = arg2;
    9331           0 :     ST(argvi) = sv_newmortal();
    9332             :     
    9333             :     
    9334           0 :     XSRETURN(argvi);
    9335             :   fail:
    9336             :     
    9337             :     
    9338           0 :     SWIG_croak_null();
    9339             :   }
    9340             : }
    9341             : 
    9342             : 
    9343           0 : XS(_wrap_styleObj_autoangle_get) {
    9344             :   {
    9345             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
    9346           0 :     void *argp1 = 0 ;
    9347             :     int res1 = 0 ;
    9348             :     int argvi = 0;
    9349             :     int result;
    9350           0 :     dXSARGS;
    9351             :     
    9352           0 :     if ((items < 1) || (items > 1)) {
    9353           0 :       SWIG_croak("Usage: styleObj_autoangle_get(self);");
    9354             :     }
    9355           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
    9356           0 :     if (!SWIG_IsOK(res1)) {
    9357           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_autoangle_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
    9358             :     }
    9359           0 :     arg1 = (struct styleObj *)(argp1);
    9360           0 :     result = (int) ((arg1)->autoangle);
    9361           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
    9362             :     
    9363           0 :     XSRETURN(argvi);
    9364             :   fail:
    9365             :     
    9366           0 :     SWIG_croak_null();
    9367             :   }
    9368             : }
    9369             : 
    9370             : 
    9371           0 : XS(_wrap_styleObj_color_set) {
    9372             :   {
    9373             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
    9374             :     colorObj *arg2 = (colorObj *) 0 ;
    9375           0 :     void *argp1 = 0 ;
    9376             :     int res1 = 0 ;
    9377           0 :     void *argp2 = 0 ;
    9378             :     int res2 = 0 ;
    9379             :     int argvi = 0;
    9380           0 :     dXSARGS;
    9381             :     
    9382           0 :     if ((items < 2) || (items > 2)) {
    9383           0 :       SWIG_croak("Usage: styleObj_color_set(self,color);");
    9384             :     }
    9385           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
    9386           0 :     if (!SWIG_IsOK(res1)) {
    9387           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_color_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
    9388             :     }
    9389           0 :     arg1 = (struct styleObj *)(argp1);
    9390           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 |  0 );
    9391           0 :     if (!SWIG_IsOK(res2)) {
    9392           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "styleObj_color_set" "', argument " "2"" of type '" "colorObj *""'"); 
    9393             :     }
    9394           0 :     arg2 = (colorObj *)(argp2);
    9395           0 :     if (arg1) (arg1)->color = *arg2;
    9396           0 :     ST(argvi) = sv_newmortal();
    9397             :     
    9398             :     
    9399           0 :     XSRETURN(argvi);
    9400             :   fail:
    9401             :     
    9402             :     
    9403           0 :     SWIG_croak_null();
    9404             :   }
    9405             : }
    9406             : 
    9407             : 
    9408           0 : XS(_wrap_styleObj_color_get) {
    9409             :   {
    9410             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
    9411           0 :     void *argp1 = 0 ;
    9412             :     int res1 = 0 ;
    9413             :     int argvi = 0;
    9414             :     colorObj *result = 0 ;
    9415           0 :     dXSARGS;
    9416             :     
    9417           0 :     if ((items < 1) || (items > 1)) {
    9418           0 :       SWIG_croak("Usage: styleObj_color_get(self);");
    9419             :     }
    9420           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
    9421           0 :     if (!SWIG_IsOK(res1)) {
    9422           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_color_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
    9423             :     }
    9424           0 :     arg1 = (struct styleObj *)(argp1);
    9425           0 :     result = (colorObj *)& ((arg1)->color);
    9426           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
    9427             :     
    9428           0 :     XSRETURN(argvi);
    9429             :   fail:
    9430             :     
    9431           0 :     SWIG_croak_null();
    9432             :   }
    9433             : }
    9434             : 
    9435             : 
    9436           0 : XS(_wrap_styleObj_backgroundcolor_set) {
    9437             :   {
    9438             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
    9439             :     colorObj *arg2 = (colorObj *) 0 ;
    9440           0 :     void *argp1 = 0 ;
    9441             :     int res1 = 0 ;
    9442           0 :     void *argp2 = 0 ;
    9443             :     int res2 = 0 ;
    9444             :     int argvi = 0;
    9445           0 :     dXSARGS;
    9446             :     
    9447           0 :     if ((items < 2) || (items > 2)) {
    9448           0 :       SWIG_croak("Usage: styleObj_backgroundcolor_set(self,backgroundcolor);");
    9449             :     }
    9450           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
    9451           0 :     if (!SWIG_IsOK(res1)) {
    9452           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_backgroundcolor_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
    9453             :     }
    9454           0 :     arg1 = (struct styleObj *)(argp1);
    9455           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 |  0 );
    9456           0 :     if (!SWIG_IsOK(res2)) {
    9457           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "styleObj_backgroundcolor_set" "', argument " "2"" of type '" "colorObj *""'"); 
    9458             :     }
    9459           0 :     arg2 = (colorObj *)(argp2);
    9460           0 :     if (arg1) (arg1)->backgroundcolor = *arg2;
    9461           0 :     ST(argvi) = sv_newmortal();
    9462             :     
    9463             :     
    9464           0 :     XSRETURN(argvi);
    9465             :   fail:
    9466             :     
    9467             :     
    9468           0 :     SWIG_croak_null();
    9469             :   }
    9470             : }
    9471             : 
    9472             : 
    9473           0 : XS(_wrap_styleObj_backgroundcolor_get) {
    9474             :   {
    9475             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
    9476           0 :     void *argp1 = 0 ;
    9477             :     int res1 = 0 ;
    9478             :     int argvi = 0;
    9479             :     colorObj *result = 0 ;
    9480           0 :     dXSARGS;
    9481             :     
    9482           0 :     if ((items < 1) || (items > 1)) {
    9483           0 :       SWIG_croak("Usage: styleObj_backgroundcolor_get(self);");
    9484             :     }
    9485           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
    9486           0 :     if (!SWIG_IsOK(res1)) {
    9487           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_backgroundcolor_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
    9488             :     }
    9489           0 :     arg1 = (struct styleObj *)(argp1);
    9490           0 :     result = (colorObj *)& ((arg1)->backgroundcolor);
    9491           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
    9492             :     
    9493           0 :     XSRETURN(argvi);
    9494             :   fail:
    9495             :     
    9496           0 :     SWIG_croak_null();
    9497             :   }
    9498             : }
    9499             : 
    9500             : 
    9501           0 : XS(_wrap_styleObj_outlinecolor_set) {
    9502             :   {
    9503             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
    9504             :     colorObj *arg2 = (colorObj *) 0 ;
    9505           0 :     void *argp1 = 0 ;
    9506             :     int res1 = 0 ;
    9507           0 :     void *argp2 = 0 ;
    9508             :     int res2 = 0 ;
    9509             :     int argvi = 0;
    9510           0 :     dXSARGS;
    9511             :     
    9512           0 :     if ((items < 2) || (items > 2)) {
    9513           0 :       SWIG_croak("Usage: styleObj_outlinecolor_set(self,outlinecolor);");
    9514             :     }
    9515           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
    9516           0 :     if (!SWIG_IsOK(res1)) {
    9517           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_outlinecolor_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
    9518             :     }
    9519           0 :     arg1 = (struct styleObj *)(argp1);
    9520           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 |  0 );
    9521           0 :     if (!SWIG_IsOK(res2)) {
    9522           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "styleObj_outlinecolor_set" "', argument " "2"" of type '" "colorObj *""'"); 
    9523             :     }
    9524           0 :     arg2 = (colorObj *)(argp2);
    9525           0 :     if (arg1) (arg1)->outlinecolor = *arg2;
    9526           0 :     ST(argvi) = sv_newmortal();
    9527             :     
    9528             :     
    9529           0 :     XSRETURN(argvi);
    9530             :   fail:
    9531             :     
    9532             :     
    9533           0 :     SWIG_croak_null();
    9534             :   }
    9535             : }
    9536             : 
    9537             : 
    9538           0 : XS(_wrap_styleObj_outlinecolor_get) {
    9539             :   {
    9540             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
    9541           0 :     void *argp1 = 0 ;
    9542             :     int res1 = 0 ;
    9543             :     int argvi = 0;
    9544             :     colorObj *result = 0 ;
    9545           0 :     dXSARGS;
    9546             :     
    9547           0 :     if ((items < 1) || (items > 1)) {
    9548           0 :       SWIG_croak("Usage: styleObj_outlinecolor_get(self);");
    9549             :     }
    9550           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
    9551           0 :     if (!SWIG_IsOK(res1)) {
    9552           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_outlinecolor_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
    9553             :     }
    9554           0 :     arg1 = (struct styleObj *)(argp1);
    9555           0 :     result = (colorObj *)& ((arg1)->outlinecolor);
    9556           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
    9557             :     
    9558           0 :     XSRETURN(argvi);
    9559             :   fail:
    9560             :     
    9561           0 :     SWIG_croak_null();
    9562             :   }
    9563             : }
    9564             : 
    9565             : 
    9566           0 : XS(_wrap_styleObj_opacity_set) {
    9567             :   {
    9568             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
    9569             :     int arg2 ;
    9570           0 :     void *argp1 = 0 ;
    9571             :     int res1 = 0 ;
    9572             :     int val2 ;
    9573             :     int ecode2 = 0 ;
    9574             :     int argvi = 0;
    9575           0 :     dXSARGS;
    9576             :     
    9577           0 :     if ((items < 2) || (items > 2)) {
    9578           0 :       SWIG_croak("Usage: styleObj_opacity_set(self,opacity);");
    9579             :     }
    9580           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
    9581           0 :     if (!SWIG_IsOK(res1)) {
    9582           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_opacity_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
    9583             :     }
    9584           0 :     arg1 = (struct styleObj *)(argp1);
    9585           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    9586           0 :     if (!SWIG_IsOK(ecode2)) {
    9587           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_opacity_set" "', argument " "2"" of type '" "int""'");
    9588             :     } 
    9589           0 :     arg2 = (int)(val2);
    9590           0 :     if (arg1) (arg1)->opacity = arg2;
    9591           0 :     ST(argvi) = sv_newmortal();
    9592             :     
    9593             :     
    9594           0 :     XSRETURN(argvi);
    9595             :   fail:
    9596             :     
    9597             :     
    9598           0 :     SWIG_croak_null();
    9599             :   }
    9600             : }
    9601             : 
    9602             : 
    9603           0 : XS(_wrap_styleObj_opacity_get) {
    9604             :   {
    9605             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
    9606           0 :     void *argp1 = 0 ;
    9607             :     int res1 = 0 ;
    9608             :     int argvi = 0;
    9609             :     int result;
    9610           0 :     dXSARGS;
    9611             :     
    9612           0 :     if ((items < 1) || (items > 1)) {
    9613           0 :       SWIG_croak("Usage: styleObj_opacity_get(self);");
    9614             :     }
    9615           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
    9616           0 :     if (!SWIG_IsOK(res1)) {
    9617           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_opacity_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
    9618             :     }
    9619           0 :     arg1 = (struct styleObj *)(argp1);
    9620           0 :     result = (int) ((arg1)->opacity);
    9621           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
    9622             :     
    9623           0 :     XSRETURN(argvi);
    9624             :   fail:
    9625             :     
    9626           0 :     SWIG_croak_null();
    9627             :   }
    9628             : }
    9629             : 
    9630             : 
    9631           0 : XS(_wrap_styleObj_mincolor_set) {
    9632             :   {
    9633             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
    9634             :     colorObj *arg2 = (colorObj *) 0 ;
    9635           0 :     void *argp1 = 0 ;
    9636             :     int res1 = 0 ;
    9637           0 :     void *argp2 = 0 ;
    9638             :     int res2 = 0 ;
    9639             :     int argvi = 0;
    9640           0 :     dXSARGS;
    9641             :     
    9642           0 :     if ((items < 2) || (items > 2)) {
    9643           0 :       SWIG_croak("Usage: styleObj_mincolor_set(self,mincolor);");
    9644             :     }
    9645           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
    9646           0 :     if (!SWIG_IsOK(res1)) {
    9647           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_mincolor_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
    9648             :     }
    9649           0 :     arg1 = (struct styleObj *)(argp1);
    9650           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 |  0 );
    9651           0 :     if (!SWIG_IsOK(res2)) {
    9652           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "styleObj_mincolor_set" "', argument " "2"" of type '" "colorObj *""'"); 
    9653             :     }
    9654           0 :     arg2 = (colorObj *)(argp2);
    9655           0 :     if (arg1) (arg1)->mincolor = *arg2;
    9656           0 :     ST(argvi) = sv_newmortal();
    9657             :     
    9658             :     
    9659           0 :     XSRETURN(argvi);
    9660             :   fail:
    9661             :     
    9662             :     
    9663           0 :     SWIG_croak_null();
    9664             :   }
    9665             : }
    9666             : 
    9667             : 
    9668           0 : XS(_wrap_styleObj_mincolor_get) {
    9669             :   {
    9670             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
    9671           0 :     void *argp1 = 0 ;
    9672             :     int res1 = 0 ;
    9673             :     int argvi = 0;
    9674             :     colorObj *result = 0 ;
    9675           0 :     dXSARGS;
    9676             :     
    9677           0 :     if ((items < 1) || (items > 1)) {
    9678           0 :       SWIG_croak("Usage: styleObj_mincolor_get(self);");
    9679             :     }
    9680           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
    9681           0 :     if (!SWIG_IsOK(res1)) {
    9682           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_mincolor_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
    9683             :     }
    9684           0 :     arg1 = (struct styleObj *)(argp1);
    9685           0 :     result = (colorObj *)& ((arg1)->mincolor);
    9686           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
    9687             :     
    9688           0 :     XSRETURN(argvi);
    9689             :   fail:
    9690             :     
    9691           0 :     SWIG_croak_null();
    9692             :   }
    9693             : }
    9694             : 
    9695             : 
    9696           0 : XS(_wrap_styleObj_maxcolor_set) {
    9697             :   {
    9698             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
    9699             :     colorObj *arg2 = (colorObj *) 0 ;
    9700           0 :     void *argp1 = 0 ;
    9701             :     int res1 = 0 ;
    9702           0 :     void *argp2 = 0 ;
    9703             :     int res2 = 0 ;
    9704             :     int argvi = 0;
    9705           0 :     dXSARGS;
    9706             :     
    9707           0 :     if ((items < 2) || (items > 2)) {
    9708           0 :       SWIG_croak("Usage: styleObj_maxcolor_set(self,maxcolor);");
    9709             :     }
    9710           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
    9711           0 :     if (!SWIG_IsOK(res1)) {
    9712           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_maxcolor_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
    9713             :     }
    9714           0 :     arg1 = (struct styleObj *)(argp1);
    9715           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 |  0 );
    9716           0 :     if (!SWIG_IsOK(res2)) {
    9717           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "styleObj_maxcolor_set" "', argument " "2"" of type '" "colorObj *""'"); 
    9718             :     }
    9719           0 :     arg2 = (colorObj *)(argp2);
    9720           0 :     if (arg1) (arg1)->maxcolor = *arg2;
    9721           0 :     ST(argvi) = sv_newmortal();
    9722             :     
    9723             :     
    9724           0 :     XSRETURN(argvi);
    9725             :   fail:
    9726             :     
    9727             :     
    9728           0 :     SWIG_croak_null();
    9729             :   }
    9730             : }
    9731             : 
    9732             : 
    9733           0 : XS(_wrap_styleObj_maxcolor_get) {
    9734             :   {
    9735             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
    9736           0 :     void *argp1 = 0 ;
    9737             :     int res1 = 0 ;
    9738             :     int argvi = 0;
    9739             :     colorObj *result = 0 ;
    9740           0 :     dXSARGS;
    9741             :     
    9742           0 :     if ((items < 1) || (items > 1)) {
    9743           0 :       SWIG_croak("Usage: styleObj_maxcolor_get(self);");
    9744             :     }
    9745           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
    9746           0 :     if (!SWIG_IsOK(res1)) {
    9747           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_maxcolor_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
    9748             :     }
    9749           0 :     arg1 = (struct styleObj *)(argp1);
    9750           0 :     result = (colorObj *)& ((arg1)->maxcolor);
    9751           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
    9752             :     
    9753           0 :     XSRETURN(argvi);
    9754             :   fail:
    9755             :     
    9756           0 :     SWIG_croak_null();
    9757             :   }
    9758             : }
    9759             : 
    9760             : 
    9761           0 : XS(_wrap_styleObj_minvalue_set) {
    9762             :   {
    9763             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
    9764             :     double arg2 ;
    9765           0 :     void *argp1 = 0 ;
    9766             :     int res1 = 0 ;
    9767             :     double val2 ;
    9768             :     int ecode2 = 0 ;
    9769             :     int argvi = 0;
    9770           0 :     dXSARGS;
    9771             :     
    9772           0 :     if ((items < 2) || (items > 2)) {
    9773           0 :       SWIG_croak("Usage: styleObj_minvalue_set(self,minvalue);");
    9774             :     }
    9775           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
    9776           0 :     if (!SWIG_IsOK(res1)) {
    9777           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_minvalue_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
    9778             :     }
    9779           0 :     arg1 = (struct styleObj *)(argp1);
    9780           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    9781           0 :     if (!SWIG_IsOK(ecode2)) {
    9782           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_minvalue_set" "', argument " "2"" of type '" "double""'");
    9783             :     } 
    9784           0 :     arg2 = (double)(val2);
    9785           0 :     if (arg1) (arg1)->minvalue = arg2;
    9786           0 :     ST(argvi) = sv_newmortal();
    9787             :     
    9788             :     
    9789           0 :     XSRETURN(argvi);
    9790             :   fail:
    9791             :     
    9792             :     
    9793           0 :     SWIG_croak_null();
    9794             :   }
    9795             : }
    9796             : 
    9797             : 
    9798           0 : XS(_wrap_styleObj_minvalue_get) {
    9799             :   {
    9800             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
    9801           0 :     void *argp1 = 0 ;
    9802             :     int res1 = 0 ;
    9803             :     int argvi = 0;
    9804             :     double result;
    9805           0 :     dXSARGS;
    9806             :     
    9807           0 :     if ((items < 1) || (items > 1)) {
    9808           0 :       SWIG_croak("Usage: styleObj_minvalue_get(self);");
    9809             :     }
    9810           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
    9811           0 :     if (!SWIG_IsOK(res1)) {
    9812           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_minvalue_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
    9813             :     }
    9814           0 :     arg1 = (struct styleObj *)(argp1);
    9815           0 :     result = (double) ((arg1)->minvalue);
    9816           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
    9817             :     
    9818           0 :     XSRETURN(argvi);
    9819             :   fail:
    9820             :     
    9821           0 :     SWIG_croak_null();
    9822             :   }
    9823             : }
    9824             : 
    9825             : 
    9826           0 : XS(_wrap_styleObj_maxvalue_set) {
    9827             :   {
    9828             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
    9829             :     double arg2 ;
    9830           0 :     void *argp1 = 0 ;
    9831             :     int res1 = 0 ;
    9832             :     double val2 ;
    9833             :     int ecode2 = 0 ;
    9834             :     int argvi = 0;
    9835           0 :     dXSARGS;
    9836             :     
    9837           0 :     if ((items < 2) || (items > 2)) {
    9838           0 :       SWIG_croak("Usage: styleObj_maxvalue_set(self,maxvalue);");
    9839             :     }
    9840           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
    9841           0 :     if (!SWIG_IsOK(res1)) {
    9842           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_maxvalue_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
    9843             :     }
    9844           0 :     arg1 = (struct styleObj *)(argp1);
    9845           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    9846           0 :     if (!SWIG_IsOK(ecode2)) {
    9847           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_maxvalue_set" "', argument " "2"" of type '" "double""'");
    9848             :     } 
    9849           0 :     arg2 = (double)(val2);
    9850           0 :     if (arg1) (arg1)->maxvalue = arg2;
    9851           0 :     ST(argvi) = sv_newmortal();
    9852             :     
    9853             :     
    9854           0 :     XSRETURN(argvi);
    9855             :   fail:
    9856             :     
    9857             :     
    9858           0 :     SWIG_croak_null();
    9859             :   }
    9860             : }
    9861             : 
    9862             : 
    9863           0 : XS(_wrap_styleObj_maxvalue_get) {
    9864             :   {
    9865             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
    9866           0 :     void *argp1 = 0 ;
    9867             :     int res1 = 0 ;
    9868             :     int argvi = 0;
    9869             :     double result;
    9870           0 :     dXSARGS;
    9871             :     
    9872           0 :     if ((items < 1) || (items > 1)) {
    9873           0 :       SWIG_croak("Usage: styleObj_maxvalue_get(self);");
    9874             :     }
    9875           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
    9876           0 :     if (!SWIG_IsOK(res1)) {
    9877           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_maxvalue_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
    9878             :     }
    9879           0 :     arg1 = (struct styleObj *)(argp1);
    9880           0 :     result = (double) ((arg1)->maxvalue);
    9881           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
    9882             :     
    9883           0 :     XSRETURN(argvi);
    9884             :   fail:
    9885             :     
    9886           0 :     SWIG_croak_null();
    9887             :   }
    9888             : }
    9889             : 
    9890             : 
    9891           0 : XS(_wrap_styleObj_rangeitem_set) {
    9892             :   {
    9893             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
    9894             :     char *arg2 = (char *) 0 ;
    9895           0 :     void *argp1 = 0 ;
    9896             :     int res1 = 0 ;
    9897             :     int res2 ;
    9898           0 :     char *buf2 = 0 ;
    9899           0 :     int alloc2 = 0 ;
    9900             :     int argvi = 0;
    9901           0 :     dXSARGS;
    9902             :     
    9903           0 :     if ((items < 2) || (items > 2)) {
    9904           0 :       SWIG_croak("Usage: styleObj_rangeitem_set(self,rangeitem);");
    9905             :     }
    9906           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
    9907           0 :     if (!SWIG_IsOK(res1)) {
    9908           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_rangeitem_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
    9909             :     }
    9910           0 :     arg1 = (struct styleObj *)(argp1);
    9911           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    9912           0 :     if (!SWIG_IsOK(res2)) {
    9913           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "styleObj_rangeitem_set" "', argument " "2"" of type '" "char *""'");
    9914             :     }
    9915           0 :     arg2 = (char *)(buf2);
    9916             :     {
    9917           0 :       if (arg1->rangeitem) free((char*)arg1->rangeitem);
    9918           0 :       if (arg2) {
    9919           0 :         arg1->rangeitem = (char *) malloc(strlen(arg2)+1);
    9920             :         strcpy((char*)arg1->rangeitem,arg2);
    9921             :       } else {
    9922           0 :         arg1->rangeitem = 0;
    9923             :       }
    9924             :     }
    9925           0 :     ST(argvi) = sv_newmortal();
    9926             :     
    9927           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    9928           0 :     XSRETURN(argvi);
    9929             :   fail:
    9930             :     
    9931           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    9932           0 :     SWIG_croak_null();
    9933             :   }
    9934             : }
    9935             : 
    9936             : 
    9937           0 : XS(_wrap_styleObj_rangeitem_get) {
    9938             :   {
    9939             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
    9940           0 :     void *argp1 = 0 ;
    9941             :     int res1 = 0 ;
    9942             :     int argvi = 0;
    9943             :     char *result = 0 ;
    9944           0 :     dXSARGS;
    9945             :     
    9946           0 :     if ((items < 1) || (items > 1)) {
    9947           0 :       SWIG_croak("Usage: styleObj_rangeitem_get(self);");
    9948             :     }
    9949           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
    9950           0 :     if (!SWIG_IsOK(res1)) {
    9951           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_rangeitem_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
    9952             :     }
    9953           0 :     arg1 = (struct styleObj *)(argp1);
    9954           0 :     result = (char *) ((arg1)->rangeitem);
    9955           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
    9956             :     
    9957           0 :     XSRETURN(argvi);
    9958             :   fail:
    9959             :     
    9960           0 :     SWIG_croak_null();
    9961             :   }
    9962             : }
    9963             : 
    9964             : 
    9965           0 : XS(_wrap_styleObj_rangeitemindex_set) {
    9966             :   {
    9967             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
    9968             :     int arg2 ;
    9969           0 :     void *argp1 = 0 ;
    9970             :     int res1 = 0 ;
    9971             :     int val2 ;
    9972             :     int ecode2 = 0 ;
    9973             :     int argvi = 0;
    9974           0 :     dXSARGS;
    9975             :     
    9976           0 :     if ((items < 2) || (items > 2)) {
    9977           0 :       SWIG_croak("Usage: styleObj_rangeitemindex_set(self,rangeitemindex);");
    9978             :     }
    9979           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
    9980           0 :     if (!SWIG_IsOK(res1)) {
    9981           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_rangeitemindex_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
    9982             :     }
    9983           0 :     arg1 = (struct styleObj *)(argp1);
    9984           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    9985           0 :     if (!SWIG_IsOK(ecode2)) {
    9986           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_rangeitemindex_set" "', argument " "2"" of type '" "int""'");
    9987             :     } 
    9988           0 :     arg2 = (int)(val2);
    9989           0 :     if (arg1) (arg1)->rangeitemindex = arg2;
    9990           0 :     ST(argvi) = sv_newmortal();
    9991             :     
    9992             :     
    9993           0 :     XSRETURN(argvi);
    9994             :   fail:
    9995             :     
    9996             :     
    9997           0 :     SWIG_croak_null();
    9998             :   }
    9999             : }
   10000             : 
   10001             : 
   10002           0 : XS(_wrap_styleObj_rangeitemindex_get) {
   10003             :   {
   10004             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   10005           0 :     void *argp1 = 0 ;
   10006             :     int res1 = 0 ;
   10007             :     int argvi = 0;
   10008             :     int result;
   10009           0 :     dXSARGS;
   10010             :     
   10011           0 :     if ((items < 1) || (items > 1)) {
   10012           0 :       SWIG_croak("Usage: styleObj_rangeitemindex_get(self);");
   10013             :     }
   10014           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   10015           0 :     if (!SWIG_IsOK(res1)) {
   10016           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_rangeitemindex_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
   10017             :     }
   10018           0 :     arg1 = (struct styleObj *)(argp1);
   10019           0 :     result = (int) ((arg1)->rangeitemindex);
   10020           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   10021             :     
   10022           0 :     XSRETURN(argvi);
   10023             :   fail:
   10024             :     
   10025           0 :     SWIG_croak_null();
   10026             :   }
   10027             : }
   10028             : 
   10029             : 
   10030           0 : XS(_wrap_styleObj_symbol_set) {
   10031             :   {
   10032             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   10033             :     int arg2 ;
   10034           0 :     void *argp1 = 0 ;
   10035             :     int res1 = 0 ;
   10036             :     int val2 ;
   10037             :     int ecode2 = 0 ;
   10038             :     int argvi = 0;
   10039           0 :     dXSARGS;
   10040             :     
   10041           0 :     if ((items < 2) || (items > 2)) {
   10042           0 :       SWIG_croak("Usage: styleObj_symbol_set(self,symbol);");
   10043             :     }
   10044           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   10045           0 :     if (!SWIG_IsOK(res1)) {
   10046           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_symbol_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
   10047             :     }
   10048           0 :     arg1 = (struct styleObj *)(argp1);
   10049           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   10050           0 :     if (!SWIG_IsOK(ecode2)) {
   10051           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_symbol_set" "', argument " "2"" of type '" "int""'");
   10052             :     } 
   10053           0 :     arg2 = (int)(val2);
   10054           0 :     if (arg1) (arg1)->symbol = arg2;
   10055           0 :     ST(argvi) = sv_newmortal();
   10056             :     
   10057             :     
   10058           0 :     XSRETURN(argvi);
   10059             :   fail:
   10060             :     
   10061             :     
   10062           0 :     SWIG_croak_null();
   10063             :   }
   10064             : }
   10065             : 
   10066             : 
   10067           0 : XS(_wrap_styleObj_symbol_get) {
   10068             :   {
   10069             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   10070           0 :     void *argp1 = 0 ;
   10071             :     int res1 = 0 ;
   10072             :     int argvi = 0;
   10073             :     int result;
   10074           0 :     dXSARGS;
   10075             :     
   10076           0 :     if ((items < 1) || (items > 1)) {
   10077           0 :       SWIG_croak("Usage: styleObj_symbol_get(self);");
   10078             :     }
   10079           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   10080           0 :     if (!SWIG_IsOK(res1)) {
   10081           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_symbol_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
   10082             :     }
   10083           0 :     arg1 = (struct styleObj *)(argp1);
   10084           0 :     result = (int) ((arg1)->symbol);
   10085           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   10086             :     
   10087           0 :     XSRETURN(argvi);
   10088             :   fail:
   10089             :     
   10090           0 :     SWIG_croak_null();
   10091             :   }
   10092             : }
   10093             : 
   10094             : 
   10095           0 : XS(_wrap_styleObj_symbolname_set) {
   10096             :   {
   10097             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   10098             :     char *arg2 = (char *) 0 ;
   10099           0 :     void *argp1 = 0 ;
   10100             :     int res1 = 0 ;
   10101             :     int res2 ;
   10102           0 :     char *buf2 = 0 ;
   10103           0 :     int alloc2 = 0 ;
   10104             :     int argvi = 0;
   10105           0 :     dXSARGS;
   10106             :     
   10107           0 :     if ((items < 2) || (items > 2)) {
   10108           0 :       SWIG_croak("Usage: styleObj_symbolname_set(self,symbolname);");
   10109             :     }
   10110           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   10111           0 :     if (!SWIG_IsOK(res1)) {
   10112           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_symbolname_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
   10113             :     }
   10114           0 :     arg1 = (struct styleObj *)(argp1);
   10115           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   10116           0 :     if (!SWIG_IsOK(res2)) {
   10117           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "styleObj_symbolname_set" "', argument " "2"" of type '" "char *""'");
   10118             :     }
   10119           0 :     arg2 = (char *)(buf2);
   10120             :     {
   10121           0 :       if (arg1->symbolname) free((char*)arg1->symbolname);
   10122           0 :       if (arg2) {
   10123           0 :         arg1->symbolname = (char *) malloc(strlen(arg2)+1);
   10124             :         strcpy((char*)arg1->symbolname,arg2);
   10125             :       } else {
   10126           0 :         arg1->symbolname = 0;
   10127             :       }
   10128             :     }
   10129           0 :     ST(argvi) = sv_newmortal();
   10130             :     
   10131           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   10132           0 :     XSRETURN(argvi);
   10133             :   fail:
   10134             :     
   10135           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   10136           0 :     SWIG_croak_null();
   10137             :   }
   10138             : }
   10139             : 
   10140             : 
   10141           0 : XS(_wrap_styleObj_symbolname_get) {
   10142             :   {
   10143             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   10144           0 :     void *argp1 = 0 ;
   10145             :     int res1 = 0 ;
   10146             :     int argvi = 0;
   10147             :     char *result = 0 ;
   10148           0 :     dXSARGS;
   10149             :     
   10150           0 :     if ((items < 1) || (items > 1)) {
   10151           0 :       SWIG_croak("Usage: styleObj_symbolname_get(self);");
   10152             :     }
   10153           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   10154           0 :     if (!SWIG_IsOK(res1)) {
   10155           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_symbolname_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
   10156             :     }
   10157           0 :     arg1 = (struct styleObj *)(argp1);
   10158           0 :     result = (char *) ((arg1)->symbolname);
   10159           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   10160             :     
   10161           0 :     XSRETURN(argvi);
   10162             :   fail:
   10163             :     
   10164           0 :     SWIG_croak_null();
   10165             :   }
   10166             : }
   10167             : 
   10168             : 
   10169           0 : XS(_wrap_styleObj_size_set) {
   10170             :   {
   10171             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   10172             :     double arg2 ;
   10173           0 :     void *argp1 = 0 ;
   10174             :     int res1 = 0 ;
   10175             :     double val2 ;
   10176             :     int ecode2 = 0 ;
   10177             :     int argvi = 0;
   10178           0 :     dXSARGS;
   10179             :     
   10180           0 :     if ((items < 2) || (items > 2)) {
   10181           0 :       SWIG_croak("Usage: styleObj_size_set(self,size);");
   10182             :     }
   10183           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   10184           0 :     if (!SWIG_IsOK(res1)) {
   10185           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_size_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
   10186             :     }
   10187           0 :     arg1 = (struct styleObj *)(argp1);
   10188           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   10189           0 :     if (!SWIG_IsOK(ecode2)) {
   10190           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_size_set" "', argument " "2"" of type '" "double""'");
   10191             :     } 
   10192           0 :     arg2 = (double)(val2);
   10193           0 :     if (arg1) (arg1)->size = arg2;
   10194           0 :     ST(argvi) = sv_newmortal();
   10195             :     
   10196             :     
   10197           0 :     XSRETURN(argvi);
   10198             :   fail:
   10199             :     
   10200             :     
   10201           0 :     SWIG_croak_null();
   10202             :   }
   10203             : }
   10204             : 
   10205             : 
   10206           0 : XS(_wrap_styleObj_size_get) {
   10207             :   {
   10208             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   10209           0 :     void *argp1 = 0 ;
   10210             :     int res1 = 0 ;
   10211             :     int argvi = 0;
   10212             :     double result;
   10213           0 :     dXSARGS;
   10214             :     
   10215           0 :     if ((items < 1) || (items > 1)) {
   10216           0 :       SWIG_croak("Usage: styleObj_size_get(self);");
   10217             :     }
   10218           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   10219           0 :     if (!SWIG_IsOK(res1)) {
   10220           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_size_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
   10221             :     }
   10222           0 :     arg1 = (struct styleObj *)(argp1);
   10223           0 :     result = (double) ((arg1)->size);
   10224           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   10225             :     
   10226           0 :     XSRETURN(argvi);
   10227             :   fail:
   10228             :     
   10229           0 :     SWIG_croak_null();
   10230             :   }
   10231             : }
   10232             : 
   10233             : 
   10234           0 : XS(_wrap_styleObj_minsize_set) {
   10235             :   {
   10236             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   10237             :     double arg2 ;
   10238           0 :     void *argp1 = 0 ;
   10239             :     int res1 = 0 ;
   10240             :     double val2 ;
   10241             :     int ecode2 = 0 ;
   10242             :     int argvi = 0;
   10243           0 :     dXSARGS;
   10244             :     
   10245           0 :     if ((items < 2) || (items > 2)) {
   10246           0 :       SWIG_croak("Usage: styleObj_minsize_set(self,minsize);");
   10247             :     }
   10248           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   10249           0 :     if (!SWIG_IsOK(res1)) {
   10250           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_minsize_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
   10251             :     }
   10252           0 :     arg1 = (struct styleObj *)(argp1);
   10253           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   10254           0 :     if (!SWIG_IsOK(ecode2)) {
   10255           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_minsize_set" "', argument " "2"" of type '" "double""'");
   10256             :     } 
   10257           0 :     arg2 = (double)(val2);
   10258           0 :     if (arg1) (arg1)->minsize = arg2;
   10259           0 :     ST(argvi) = sv_newmortal();
   10260             :     
   10261             :     
   10262           0 :     XSRETURN(argvi);
   10263             :   fail:
   10264             :     
   10265             :     
   10266           0 :     SWIG_croak_null();
   10267             :   }
   10268             : }
   10269             : 
   10270             : 
   10271           0 : XS(_wrap_styleObj_minsize_get) {
   10272             :   {
   10273             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   10274           0 :     void *argp1 = 0 ;
   10275             :     int res1 = 0 ;
   10276             :     int argvi = 0;
   10277             :     double result;
   10278           0 :     dXSARGS;
   10279             :     
   10280           0 :     if ((items < 1) || (items > 1)) {
   10281           0 :       SWIG_croak("Usage: styleObj_minsize_get(self);");
   10282             :     }
   10283           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   10284           0 :     if (!SWIG_IsOK(res1)) {
   10285           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_minsize_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
   10286             :     }
   10287           0 :     arg1 = (struct styleObj *)(argp1);
   10288           0 :     result = (double) ((arg1)->minsize);
   10289           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   10290             :     
   10291           0 :     XSRETURN(argvi);
   10292             :   fail:
   10293             :     
   10294           0 :     SWIG_croak_null();
   10295             :   }
   10296             : }
   10297             : 
   10298             : 
   10299           0 : XS(_wrap_styleObj_maxsize_set) {
   10300             :   {
   10301             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   10302             :     double arg2 ;
   10303           0 :     void *argp1 = 0 ;
   10304             :     int res1 = 0 ;
   10305             :     double val2 ;
   10306             :     int ecode2 = 0 ;
   10307             :     int argvi = 0;
   10308           0 :     dXSARGS;
   10309             :     
   10310           0 :     if ((items < 2) || (items > 2)) {
   10311           0 :       SWIG_croak("Usage: styleObj_maxsize_set(self,maxsize);");
   10312             :     }
   10313           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   10314           0 :     if (!SWIG_IsOK(res1)) {
   10315           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_maxsize_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
   10316             :     }
   10317           0 :     arg1 = (struct styleObj *)(argp1);
   10318           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   10319           0 :     if (!SWIG_IsOK(ecode2)) {
   10320           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_maxsize_set" "', argument " "2"" of type '" "double""'");
   10321             :     } 
   10322           0 :     arg2 = (double)(val2);
   10323           0 :     if (arg1) (arg1)->maxsize = arg2;
   10324           0 :     ST(argvi) = sv_newmortal();
   10325             :     
   10326             :     
   10327           0 :     XSRETURN(argvi);
   10328             :   fail:
   10329             :     
   10330             :     
   10331           0 :     SWIG_croak_null();
   10332             :   }
   10333             : }
   10334             : 
   10335             : 
   10336           0 : XS(_wrap_styleObj_maxsize_get) {
   10337             :   {
   10338             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   10339           0 :     void *argp1 = 0 ;
   10340             :     int res1 = 0 ;
   10341             :     int argvi = 0;
   10342             :     double result;
   10343           0 :     dXSARGS;
   10344             :     
   10345           0 :     if ((items < 1) || (items > 1)) {
   10346           0 :       SWIG_croak("Usage: styleObj_maxsize_get(self);");
   10347             :     }
   10348           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   10349           0 :     if (!SWIG_IsOK(res1)) {
   10350           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_maxsize_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
   10351             :     }
   10352           0 :     arg1 = (struct styleObj *)(argp1);
   10353           0 :     result = (double) ((arg1)->maxsize);
   10354           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   10355             :     
   10356           0 :     XSRETURN(argvi);
   10357             :   fail:
   10358             :     
   10359           0 :     SWIG_croak_null();
   10360             :   }
   10361             : }
   10362             : 
   10363             : 
   10364           0 : XS(_wrap_styleObj_patternlength_set) {
   10365             :   {
   10366             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   10367             :     int arg2 ;
   10368           0 :     void *argp1 = 0 ;
   10369             :     int res1 = 0 ;
   10370             :     int val2 ;
   10371             :     int ecode2 = 0 ;
   10372             :     int argvi = 0;
   10373           0 :     dXSARGS;
   10374             :     
   10375           0 :     if ((items < 2) || (items > 2)) {
   10376           0 :       SWIG_croak("Usage: styleObj_patternlength_set(self,patternlength);");
   10377             :     }
   10378           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   10379           0 :     if (!SWIG_IsOK(res1)) {
   10380           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_patternlength_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
   10381             :     }
   10382           0 :     arg1 = (struct styleObj *)(argp1);
   10383           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   10384           0 :     if (!SWIG_IsOK(ecode2)) {
   10385           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_patternlength_set" "', argument " "2"" of type '" "int""'");
   10386             :     } 
   10387           0 :     arg2 = (int)(val2);
   10388           0 :     if (arg1) (arg1)->patternlength = arg2;
   10389           0 :     ST(argvi) = sv_newmortal();
   10390             :     
   10391             :     
   10392           0 :     XSRETURN(argvi);
   10393             :   fail:
   10394             :     
   10395             :     
   10396           0 :     SWIG_croak_null();
   10397             :   }
   10398             : }
   10399             : 
   10400             : 
   10401           0 : XS(_wrap_styleObj_patternlength_get) {
   10402             :   {
   10403             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   10404           0 :     void *argp1 = 0 ;
   10405             :     int res1 = 0 ;
   10406             :     int argvi = 0;
   10407             :     int result;
   10408           0 :     dXSARGS;
   10409             :     
   10410           0 :     if ((items < 1) || (items > 1)) {
   10411           0 :       SWIG_croak("Usage: styleObj_patternlength_get(self);");
   10412             :     }
   10413           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   10414           0 :     if (!SWIG_IsOK(res1)) {
   10415           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_patternlength_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
   10416             :     }
   10417           0 :     arg1 = (struct styleObj *)(argp1);
   10418           0 :     result = (int) ((arg1)->patternlength);
   10419           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   10420             :     
   10421           0 :     XSRETURN(argvi);
   10422             :   fail:
   10423             :     
   10424           0 :     SWIG_croak_null();
   10425             :   }
   10426             : }
   10427             : 
   10428             : 
   10429           0 : XS(_wrap_styleObj_pattern_set) {
   10430             :   {
   10431             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   10432             :     double *arg2 ;
   10433           0 :     void *argp1 = 0 ;
   10434             :     int res1 = 0 ;
   10435           0 :     void *argp2 = 0 ;
   10436             :     int res2 = 0 ;
   10437             :     int argvi = 0;
   10438           0 :     dXSARGS;
   10439             :     
   10440           0 :     if ((items < 2) || (items > 2)) {
   10441           0 :       SWIG_croak("Usage: styleObj_pattern_set(self,pattern);");
   10442             :     }
   10443           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   10444           0 :     if (!SWIG_IsOK(res1)) {
   10445           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_pattern_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
   10446             :     }
   10447           0 :     arg1 = (struct styleObj *)(argp1);
   10448           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, 0 |  0 );
   10449           0 :     if (!SWIG_IsOK(res2)) {
   10450           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "styleObj_pattern_set" "', argument " "2"" of type '" "double [MS_MAXPATTERNLENGTH]""'"); 
   10451             :     } 
   10452           0 :     arg2 = (double *)(argp2);
   10453             :     {
   10454           0 :       if (arg2) {
   10455             :         size_t ii = 0;
   10456           0 :         for (; ii < (size_t)MS_MAXPATTERNLENGTH; ++ii) *(double *)&arg1->pattern[ii] = *((double *)arg2 + ii);
   10457             :       } else {
   10458           0 :         SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""pattern""' of type '""double [MS_MAXPATTERNLENGTH]""'");
   10459             :       }
   10460             :     }
   10461           0 :     ST(argvi) = sv_newmortal();
   10462             :     
   10463             :     
   10464           0 :     XSRETURN(argvi);
   10465             :   fail:
   10466             :     
   10467             :     
   10468           0 :     SWIG_croak_null();
   10469             :   }
   10470             : }
   10471             : 
   10472             : 
   10473           0 : XS(_wrap_styleObj_pattern_get) {
   10474             :   {
   10475             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   10476           0 :     void *argp1 = 0 ;
   10477             :     int res1 = 0 ;
   10478             :     int argvi = 0;
   10479             :     double *result = 0 ;
   10480           0 :     dXSARGS;
   10481             :     
   10482           0 :     if ((items < 1) || (items > 1)) {
   10483           0 :       SWIG_croak("Usage: styleObj_pattern_get(self);");
   10484             :     }
   10485           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   10486           0 :     if (!SWIG_IsOK(res1)) {
   10487           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_pattern_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
   10488             :     }
   10489           0 :     arg1 = (struct styleObj *)(argp1);
   10490           0 :     result = (double *)(double *) ((arg1)->pattern);
   10491           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ;
   10492             :     
   10493           0 :     XSRETURN(argvi);
   10494             :   fail:
   10495             :     
   10496           0 :     SWIG_croak_null();
   10497             :   }
   10498             : }
   10499             : 
   10500             : 
   10501           0 : XS(_wrap_styleObj_gap_set) {
   10502             :   {
   10503             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   10504             :     double arg2 ;
   10505           0 :     void *argp1 = 0 ;
   10506             :     int res1 = 0 ;
   10507             :     double val2 ;
   10508             :     int ecode2 = 0 ;
   10509             :     int argvi = 0;
   10510           0 :     dXSARGS;
   10511             :     
   10512           0 :     if ((items < 2) || (items > 2)) {
   10513           0 :       SWIG_croak("Usage: styleObj_gap_set(self,gap);");
   10514             :     }
   10515           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   10516           0 :     if (!SWIG_IsOK(res1)) {
   10517           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_gap_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
   10518             :     }
   10519           0 :     arg1 = (struct styleObj *)(argp1);
   10520           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   10521           0 :     if (!SWIG_IsOK(ecode2)) {
   10522           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_gap_set" "', argument " "2"" of type '" "double""'");
   10523             :     } 
   10524           0 :     arg2 = (double)(val2);
   10525           0 :     if (arg1) (arg1)->gap = arg2;
   10526           0 :     ST(argvi) = sv_newmortal();
   10527             :     
   10528             :     
   10529           0 :     XSRETURN(argvi);
   10530             :   fail:
   10531             :     
   10532             :     
   10533           0 :     SWIG_croak_null();
   10534             :   }
   10535             : }
   10536             : 
   10537             : 
   10538           0 : XS(_wrap_styleObj_gap_get) {
   10539             :   {
   10540             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   10541           0 :     void *argp1 = 0 ;
   10542             :     int res1 = 0 ;
   10543             :     int argvi = 0;
   10544             :     double result;
   10545           0 :     dXSARGS;
   10546             :     
   10547           0 :     if ((items < 1) || (items > 1)) {
   10548           0 :       SWIG_croak("Usage: styleObj_gap_get(self);");
   10549             :     }
   10550           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   10551           0 :     if (!SWIG_IsOK(res1)) {
   10552           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_gap_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
   10553             :     }
   10554           0 :     arg1 = (struct styleObj *)(argp1);
   10555           0 :     result = (double) ((arg1)->gap);
   10556           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   10557             :     
   10558           0 :     XSRETURN(argvi);
   10559             :   fail:
   10560             :     
   10561           0 :     SWIG_croak_null();
   10562             :   }
   10563             : }
   10564             : 
   10565             : 
   10566           0 : XS(_wrap_styleObj_initialgap_set) {
   10567             :   {
   10568             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   10569             :     double arg2 ;
   10570           0 :     void *argp1 = 0 ;
   10571             :     int res1 = 0 ;
   10572             :     double val2 ;
   10573             :     int ecode2 = 0 ;
   10574             :     int argvi = 0;
   10575           0 :     dXSARGS;
   10576             :     
   10577           0 :     if ((items < 2) || (items > 2)) {
   10578           0 :       SWIG_croak("Usage: styleObj_initialgap_set(self,initialgap);");
   10579             :     }
   10580           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   10581           0 :     if (!SWIG_IsOK(res1)) {
   10582           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_initialgap_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
   10583             :     }
   10584           0 :     arg1 = (struct styleObj *)(argp1);
   10585           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   10586           0 :     if (!SWIG_IsOK(ecode2)) {
   10587           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_initialgap_set" "', argument " "2"" of type '" "double""'");
   10588             :     } 
   10589           0 :     arg2 = (double)(val2);
   10590           0 :     if (arg1) (arg1)->initialgap = arg2;
   10591           0 :     ST(argvi) = sv_newmortal();
   10592             :     
   10593             :     
   10594           0 :     XSRETURN(argvi);
   10595             :   fail:
   10596             :     
   10597             :     
   10598           0 :     SWIG_croak_null();
   10599             :   }
   10600             : }
   10601             : 
   10602             : 
   10603           0 : XS(_wrap_styleObj_initialgap_get) {
   10604             :   {
   10605             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   10606           0 :     void *argp1 = 0 ;
   10607             :     int res1 = 0 ;
   10608             :     int argvi = 0;
   10609             :     double result;
   10610           0 :     dXSARGS;
   10611             :     
   10612           0 :     if ((items < 1) || (items > 1)) {
   10613           0 :       SWIG_croak("Usage: styleObj_initialgap_get(self);");
   10614             :     }
   10615           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   10616           0 :     if (!SWIG_IsOK(res1)) {
   10617           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_initialgap_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
   10618             :     }
   10619           0 :     arg1 = (struct styleObj *)(argp1);
   10620           0 :     result = (double) ((arg1)->initialgap);
   10621           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   10622             :     
   10623           0 :     XSRETURN(argvi);
   10624             :   fail:
   10625             :     
   10626           0 :     SWIG_croak_null();
   10627             :   }
   10628             : }
   10629             : 
   10630             : 
   10631           0 : XS(_wrap_styleObj_position_set) {
   10632             :   {
   10633             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   10634             :     int arg2 ;
   10635           0 :     void *argp1 = 0 ;
   10636             :     int res1 = 0 ;
   10637             :     int val2 ;
   10638             :     int ecode2 = 0 ;
   10639             :     int argvi = 0;
   10640           0 :     dXSARGS;
   10641             :     
   10642           0 :     if ((items < 2) || (items > 2)) {
   10643           0 :       SWIG_croak("Usage: styleObj_position_set(self,position);");
   10644             :     }
   10645           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   10646           0 :     if (!SWIG_IsOK(res1)) {
   10647           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_position_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
   10648             :     }
   10649           0 :     arg1 = (struct styleObj *)(argp1);
   10650           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   10651           0 :     if (!SWIG_IsOK(ecode2)) {
   10652           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_position_set" "', argument " "2"" of type '" "int""'");
   10653             :     } 
   10654           0 :     arg2 = (int)(val2);
   10655           0 :     if (arg1) (arg1)->position = arg2;
   10656           0 :     ST(argvi) = sv_newmortal();
   10657             :     
   10658             :     
   10659           0 :     XSRETURN(argvi);
   10660             :   fail:
   10661             :     
   10662             :     
   10663           0 :     SWIG_croak_null();
   10664             :   }
   10665             : }
   10666             : 
   10667             : 
   10668           0 : XS(_wrap_styleObj_position_get) {
   10669             :   {
   10670             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   10671           0 :     void *argp1 = 0 ;
   10672             :     int res1 = 0 ;
   10673             :     int argvi = 0;
   10674             :     int result;
   10675           0 :     dXSARGS;
   10676             :     
   10677           0 :     if ((items < 1) || (items > 1)) {
   10678           0 :       SWIG_croak("Usage: styleObj_position_get(self);");
   10679             :     }
   10680           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   10681           0 :     if (!SWIG_IsOK(res1)) {
   10682           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_position_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
   10683             :     }
   10684           0 :     arg1 = (struct styleObj *)(argp1);
   10685           0 :     result = (int) ((arg1)->position);
   10686           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   10687             :     
   10688           0 :     XSRETURN(argvi);
   10689             :   fail:
   10690             :     
   10691           0 :     SWIG_croak_null();
   10692             :   }
   10693             : }
   10694             : 
   10695             : 
   10696           0 : XS(_wrap_styleObj_linecap_set) {
   10697             :   {
   10698             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   10699             :     int arg2 ;
   10700           0 :     void *argp1 = 0 ;
   10701             :     int res1 = 0 ;
   10702             :     int val2 ;
   10703             :     int ecode2 = 0 ;
   10704             :     int argvi = 0;
   10705           0 :     dXSARGS;
   10706             :     
   10707           0 :     if ((items < 2) || (items > 2)) {
   10708           0 :       SWIG_croak("Usage: styleObj_linecap_set(self,linecap);");
   10709             :     }
   10710           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   10711           0 :     if (!SWIG_IsOK(res1)) {
   10712           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_linecap_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
   10713             :     }
   10714           0 :     arg1 = (struct styleObj *)(argp1);
   10715           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   10716           0 :     if (!SWIG_IsOK(ecode2)) {
   10717           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_linecap_set" "', argument " "2"" of type '" "int""'");
   10718             :     } 
   10719           0 :     arg2 = (int)(val2);
   10720           0 :     if (arg1) (arg1)->linecap = arg2;
   10721           0 :     ST(argvi) = sv_newmortal();
   10722             :     
   10723             :     
   10724           0 :     XSRETURN(argvi);
   10725             :   fail:
   10726             :     
   10727             :     
   10728           0 :     SWIG_croak_null();
   10729             :   }
   10730             : }
   10731             : 
   10732             : 
   10733           0 : XS(_wrap_styleObj_linecap_get) {
   10734             :   {
   10735             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   10736           0 :     void *argp1 = 0 ;
   10737             :     int res1 = 0 ;
   10738             :     int argvi = 0;
   10739             :     int result;
   10740           0 :     dXSARGS;
   10741             :     
   10742           0 :     if ((items < 1) || (items > 1)) {
   10743           0 :       SWIG_croak("Usage: styleObj_linecap_get(self);");
   10744             :     }
   10745           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   10746           0 :     if (!SWIG_IsOK(res1)) {
   10747           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_linecap_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
   10748             :     }
   10749           0 :     arg1 = (struct styleObj *)(argp1);
   10750           0 :     result = (int) ((arg1)->linecap);
   10751           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   10752             :     
   10753           0 :     XSRETURN(argvi);
   10754             :   fail:
   10755             :     
   10756           0 :     SWIG_croak_null();
   10757             :   }
   10758             : }
   10759             : 
   10760             : 
   10761           0 : XS(_wrap_styleObj_linejoin_set) {
   10762             :   {
   10763             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   10764             :     int arg2 ;
   10765           0 :     void *argp1 = 0 ;
   10766             :     int res1 = 0 ;
   10767             :     int val2 ;
   10768             :     int ecode2 = 0 ;
   10769             :     int argvi = 0;
   10770           0 :     dXSARGS;
   10771             :     
   10772           0 :     if ((items < 2) || (items > 2)) {
   10773           0 :       SWIG_croak("Usage: styleObj_linejoin_set(self,linejoin);");
   10774             :     }
   10775           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   10776           0 :     if (!SWIG_IsOK(res1)) {
   10777           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_linejoin_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
   10778             :     }
   10779           0 :     arg1 = (struct styleObj *)(argp1);
   10780           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   10781           0 :     if (!SWIG_IsOK(ecode2)) {
   10782           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_linejoin_set" "', argument " "2"" of type '" "int""'");
   10783             :     } 
   10784           0 :     arg2 = (int)(val2);
   10785           0 :     if (arg1) (arg1)->linejoin = arg2;
   10786           0 :     ST(argvi) = sv_newmortal();
   10787             :     
   10788             :     
   10789           0 :     XSRETURN(argvi);
   10790             :   fail:
   10791             :     
   10792             :     
   10793           0 :     SWIG_croak_null();
   10794             :   }
   10795             : }
   10796             : 
   10797             : 
   10798           0 : XS(_wrap_styleObj_linejoin_get) {
   10799             :   {
   10800             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   10801           0 :     void *argp1 = 0 ;
   10802             :     int res1 = 0 ;
   10803             :     int argvi = 0;
   10804             :     int result;
   10805           0 :     dXSARGS;
   10806             :     
   10807           0 :     if ((items < 1) || (items > 1)) {
   10808           0 :       SWIG_croak("Usage: styleObj_linejoin_get(self);");
   10809             :     }
   10810           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   10811           0 :     if (!SWIG_IsOK(res1)) {
   10812           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_linejoin_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
   10813             :     }
   10814           0 :     arg1 = (struct styleObj *)(argp1);
   10815           0 :     result = (int) ((arg1)->linejoin);
   10816           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   10817             :     
   10818           0 :     XSRETURN(argvi);
   10819             :   fail:
   10820             :     
   10821           0 :     SWIG_croak_null();
   10822             :   }
   10823             : }
   10824             : 
   10825             : 
   10826           0 : XS(_wrap_styleObj_linejoinmaxsize_set) {
   10827             :   {
   10828             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   10829             :     double arg2 ;
   10830           0 :     void *argp1 = 0 ;
   10831             :     int res1 = 0 ;
   10832             :     double val2 ;
   10833             :     int ecode2 = 0 ;
   10834             :     int argvi = 0;
   10835           0 :     dXSARGS;
   10836             :     
   10837           0 :     if ((items < 2) || (items > 2)) {
   10838           0 :       SWIG_croak("Usage: styleObj_linejoinmaxsize_set(self,linejoinmaxsize);");
   10839             :     }
   10840           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   10841           0 :     if (!SWIG_IsOK(res1)) {
   10842           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_linejoinmaxsize_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
   10843             :     }
   10844           0 :     arg1 = (struct styleObj *)(argp1);
   10845           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   10846           0 :     if (!SWIG_IsOK(ecode2)) {
   10847           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_linejoinmaxsize_set" "', argument " "2"" of type '" "double""'");
   10848             :     } 
   10849           0 :     arg2 = (double)(val2);
   10850           0 :     if (arg1) (arg1)->linejoinmaxsize = arg2;
   10851           0 :     ST(argvi) = sv_newmortal();
   10852             :     
   10853             :     
   10854           0 :     XSRETURN(argvi);
   10855             :   fail:
   10856             :     
   10857             :     
   10858           0 :     SWIG_croak_null();
   10859             :   }
   10860             : }
   10861             : 
   10862             : 
   10863           0 : XS(_wrap_styleObj_linejoinmaxsize_get) {
   10864             :   {
   10865             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   10866           0 :     void *argp1 = 0 ;
   10867             :     int res1 = 0 ;
   10868             :     int argvi = 0;
   10869             :     double result;
   10870           0 :     dXSARGS;
   10871             :     
   10872           0 :     if ((items < 1) || (items > 1)) {
   10873           0 :       SWIG_croak("Usage: styleObj_linejoinmaxsize_get(self);");
   10874             :     }
   10875           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   10876           0 :     if (!SWIG_IsOK(res1)) {
   10877           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_linejoinmaxsize_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
   10878             :     }
   10879           0 :     arg1 = (struct styleObj *)(argp1);
   10880           0 :     result = (double) ((arg1)->linejoinmaxsize);
   10881           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   10882             :     
   10883           0 :     XSRETURN(argvi);
   10884             :   fail:
   10885             :     
   10886           0 :     SWIG_croak_null();
   10887             :   }
   10888             : }
   10889             : 
   10890             : 
   10891           0 : XS(_wrap_styleObj_width_set) {
   10892             :   {
   10893             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   10894             :     double arg2 ;
   10895           0 :     void *argp1 = 0 ;
   10896             :     int res1 = 0 ;
   10897             :     double val2 ;
   10898             :     int ecode2 = 0 ;
   10899             :     int argvi = 0;
   10900           0 :     dXSARGS;
   10901             :     
   10902           0 :     if ((items < 2) || (items > 2)) {
   10903           0 :       SWIG_croak("Usage: styleObj_width_set(self,width);");
   10904             :     }
   10905           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   10906           0 :     if (!SWIG_IsOK(res1)) {
   10907           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_width_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
   10908             :     }
   10909           0 :     arg1 = (struct styleObj *)(argp1);
   10910           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   10911           0 :     if (!SWIG_IsOK(ecode2)) {
   10912           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_width_set" "', argument " "2"" of type '" "double""'");
   10913             :     } 
   10914           0 :     arg2 = (double)(val2);
   10915           0 :     if (arg1) (arg1)->width = arg2;
   10916           0 :     ST(argvi) = sv_newmortal();
   10917             :     
   10918             :     
   10919           0 :     XSRETURN(argvi);
   10920             :   fail:
   10921             :     
   10922             :     
   10923           0 :     SWIG_croak_null();
   10924             :   }
   10925             : }
   10926             : 
   10927             : 
   10928           0 : XS(_wrap_styleObj_width_get) {
   10929             :   {
   10930             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   10931           0 :     void *argp1 = 0 ;
   10932             :     int res1 = 0 ;
   10933             :     int argvi = 0;
   10934             :     double result;
   10935           0 :     dXSARGS;
   10936             :     
   10937           0 :     if ((items < 1) || (items > 1)) {
   10938           0 :       SWIG_croak("Usage: styleObj_width_get(self);");
   10939             :     }
   10940           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   10941           0 :     if (!SWIG_IsOK(res1)) {
   10942           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_width_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
   10943             :     }
   10944           0 :     arg1 = (struct styleObj *)(argp1);
   10945           0 :     result = (double) ((arg1)->width);
   10946           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   10947             :     
   10948           0 :     XSRETURN(argvi);
   10949             :   fail:
   10950             :     
   10951           0 :     SWIG_croak_null();
   10952             :   }
   10953             : }
   10954             : 
   10955             : 
   10956           0 : XS(_wrap_styleObj_outlinewidth_set) {
   10957             :   {
   10958             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   10959             :     double arg2 ;
   10960           0 :     void *argp1 = 0 ;
   10961             :     int res1 = 0 ;
   10962             :     double val2 ;
   10963             :     int ecode2 = 0 ;
   10964             :     int argvi = 0;
   10965           0 :     dXSARGS;
   10966             :     
   10967           0 :     if ((items < 2) || (items > 2)) {
   10968           0 :       SWIG_croak("Usage: styleObj_outlinewidth_set(self,outlinewidth);");
   10969             :     }
   10970           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   10971           0 :     if (!SWIG_IsOK(res1)) {
   10972           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_outlinewidth_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
   10973             :     }
   10974           0 :     arg1 = (struct styleObj *)(argp1);
   10975           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   10976           0 :     if (!SWIG_IsOK(ecode2)) {
   10977           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_outlinewidth_set" "', argument " "2"" of type '" "double""'");
   10978             :     } 
   10979           0 :     arg2 = (double)(val2);
   10980           0 :     if (arg1) (arg1)->outlinewidth = arg2;
   10981           0 :     ST(argvi) = sv_newmortal();
   10982             :     
   10983             :     
   10984           0 :     XSRETURN(argvi);
   10985             :   fail:
   10986             :     
   10987             :     
   10988           0 :     SWIG_croak_null();
   10989             :   }
   10990             : }
   10991             : 
   10992             : 
   10993           0 : XS(_wrap_styleObj_outlinewidth_get) {
   10994             :   {
   10995             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   10996           0 :     void *argp1 = 0 ;
   10997             :     int res1 = 0 ;
   10998             :     int argvi = 0;
   10999             :     double result;
   11000           0 :     dXSARGS;
   11001             :     
   11002           0 :     if ((items < 1) || (items > 1)) {
   11003           0 :       SWIG_croak("Usage: styleObj_outlinewidth_get(self);");
   11004             :     }
   11005           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   11006           0 :     if (!SWIG_IsOK(res1)) {
   11007           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_outlinewidth_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
   11008             :     }
   11009           0 :     arg1 = (struct styleObj *)(argp1);
   11010           0 :     result = (double) ((arg1)->outlinewidth);
   11011           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   11012             :     
   11013           0 :     XSRETURN(argvi);
   11014             :   fail:
   11015             :     
   11016           0 :     SWIG_croak_null();
   11017             :   }
   11018             : }
   11019             : 
   11020             : 
   11021           0 : XS(_wrap_styleObj_minwidth_set) {
   11022             :   {
   11023             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   11024             :     double arg2 ;
   11025           0 :     void *argp1 = 0 ;
   11026             :     int res1 = 0 ;
   11027             :     double val2 ;
   11028             :     int ecode2 = 0 ;
   11029             :     int argvi = 0;
   11030           0 :     dXSARGS;
   11031             :     
   11032           0 :     if ((items < 2) || (items > 2)) {
   11033           0 :       SWIG_croak("Usage: styleObj_minwidth_set(self,minwidth);");
   11034             :     }
   11035           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   11036           0 :     if (!SWIG_IsOK(res1)) {
   11037           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_minwidth_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
   11038             :     }
   11039           0 :     arg1 = (struct styleObj *)(argp1);
   11040           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   11041           0 :     if (!SWIG_IsOK(ecode2)) {
   11042           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_minwidth_set" "', argument " "2"" of type '" "double""'");
   11043             :     } 
   11044           0 :     arg2 = (double)(val2);
   11045           0 :     if (arg1) (arg1)->minwidth = arg2;
   11046           0 :     ST(argvi) = sv_newmortal();
   11047             :     
   11048             :     
   11049           0 :     XSRETURN(argvi);
   11050             :   fail:
   11051             :     
   11052             :     
   11053           0 :     SWIG_croak_null();
   11054             :   }
   11055             : }
   11056             : 
   11057             : 
   11058           0 : XS(_wrap_styleObj_minwidth_get) {
   11059             :   {
   11060             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   11061           0 :     void *argp1 = 0 ;
   11062             :     int res1 = 0 ;
   11063             :     int argvi = 0;
   11064             :     double result;
   11065           0 :     dXSARGS;
   11066             :     
   11067           0 :     if ((items < 1) || (items > 1)) {
   11068           0 :       SWIG_croak("Usage: styleObj_minwidth_get(self);");
   11069             :     }
   11070           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   11071           0 :     if (!SWIG_IsOK(res1)) {
   11072           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_minwidth_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
   11073             :     }
   11074           0 :     arg1 = (struct styleObj *)(argp1);
   11075           0 :     result = (double) ((arg1)->minwidth);
   11076           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   11077             :     
   11078           0 :     XSRETURN(argvi);
   11079             :   fail:
   11080             :     
   11081           0 :     SWIG_croak_null();
   11082             :   }
   11083             : }
   11084             : 
   11085             : 
   11086           0 : XS(_wrap_styleObj_maxwidth_set) {
   11087             :   {
   11088             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   11089             :     double arg2 ;
   11090           0 :     void *argp1 = 0 ;
   11091             :     int res1 = 0 ;
   11092             :     double val2 ;
   11093             :     int ecode2 = 0 ;
   11094             :     int argvi = 0;
   11095           0 :     dXSARGS;
   11096             :     
   11097           0 :     if ((items < 2) || (items > 2)) {
   11098           0 :       SWIG_croak("Usage: styleObj_maxwidth_set(self,maxwidth);");
   11099             :     }
   11100           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   11101           0 :     if (!SWIG_IsOK(res1)) {
   11102           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_maxwidth_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
   11103             :     }
   11104           0 :     arg1 = (struct styleObj *)(argp1);
   11105           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   11106           0 :     if (!SWIG_IsOK(ecode2)) {
   11107           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_maxwidth_set" "', argument " "2"" of type '" "double""'");
   11108             :     } 
   11109           0 :     arg2 = (double)(val2);
   11110           0 :     if (arg1) (arg1)->maxwidth = arg2;
   11111           0 :     ST(argvi) = sv_newmortal();
   11112             :     
   11113             :     
   11114           0 :     XSRETURN(argvi);
   11115             :   fail:
   11116             :     
   11117             :     
   11118           0 :     SWIG_croak_null();
   11119             :   }
   11120             : }
   11121             : 
   11122             : 
   11123           0 : XS(_wrap_styleObj_maxwidth_get) {
   11124             :   {
   11125             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   11126           0 :     void *argp1 = 0 ;
   11127             :     int res1 = 0 ;
   11128             :     int argvi = 0;
   11129             :     double result;
   11130           0 :     dXSARGS;
   11131             :     
   11132           0 :     if ((items < 1) || (items > 1)) {
   11133           0 :       SWIG_croak("Usage: styleObj_maxwidth_get(self);");
   11134             :     }
   11135           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   11136           0 :     if (!SWIG_IsOK(res1)) {
   11137           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_maxwidth_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
   11138             :     }
   11139           0 :     arg1 = (struct styleObj *)(argp1);
   11140           0 :     result = (double) ((arg1)->maxwidth);
   11141           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   11142             :     
   11143           0 :     XSRETURN(argvi);
   11144             :   fail:
   11145             :     
   11146           0 :     SWIG_croak_null();
   11147             :   }
   11148             : }
   11149             : 
   11150             : 
   11151           0 : XS(_wrap_styleObj_offsetx_set) {
   11152             :   {
   11153             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   11154             :     double arg2 ;
   11155           0 :     void *argp1 = 0 ;
   11156             :     int res1 = 0 ;
   11157             :     double val2 ;
   11158             :     int ecode2 = 0 ;
   11159             :     int argvi = 0;
   11160           0 :     dXSARGS;
   11161             :     
   11162           0 :     if ((items < 2) || (items > 2)) {
   11163           0 :       SWIG_croak("Usage: styleObj_offsetx_set(self,offsetx);");
   11164             :     }
   11165           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   11166           0 :     if (!SWIG_IsOK(res1)) {
   11167           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_offsetx_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
   11168             :     }
   11169           0 :     arg1 = (struct styleObj *)(argp1);
   11170           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   11171           0 :     if (!SWIG_IsOK(ecode2)) {
   11172           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_offsetx_set" "', argument " "2"" of type '" "double""'");
   11173             :     } 
   11174           0 :     arg2 = (double)(val2);
   11175           0 :     if (arg1) (arg1)->offsetx = arg2;
   11176           0 :     ST(argvi) = sv_newmortal();
   11177             :     
   11178             :     
   11179           0 :     XSRETURN(argvi);
   11180             :   fail:
   11181             :     
   11182             :     
   11183           0 :     SWIG_croak_null();
   11184             :   }
   11185             : }
   11186             : 
   11187             : 
   11188           0 : XS(_wrap_styleObj_offsetx_get) {
   11189             :   {
   11190             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   11191           0 :     void *argp1 = 0 ;
   11192             :     int res1 = 0 ;
   11193             :     int argvi = 0;
   11194             :     double result;
   11195           0 :     dXSARGS;
   11196             :     
   11197           0 :     if ((items < 1) || (items > 1)) {
   11198           0 :       SWIG_croak("Usage: styleObj_offsetx_get(self);");
   11199             :     }
   11200           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   11201           0 :     if (!SWIG_IsOK(res1)) {
   11202           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_offsetx_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
   11203             :     }
   11204           0 :     arg1 = (struct styleObj *)(argp1);
   11205           0 :     result = (double) ((arg1)->offsetx);
   11206           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   11207             :     
   11208           0 :     XSRETURN(argvi);
   11209             :   fail:
   11210             :     
   11211           0 :     SWIG_croak_null();
   11212             :   }
   11213             : }
   11214             : 
   11215             : 
   11216           0 : XS(_wrap_styleObj_offsety_set) {
   11217             :   {
   11218             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   11219             :     double arg2 ;
   11220           0 :     void *argp1 = 0 ;
   11221             :     int res1 = 0 ;
   11222             :     double val2 ;
   11223             :     int ecode2 = 0 ;
   11224             :     int argvi = 0;
   11225           0 :     dXSARGS;
   11226             :     
   11227           0 :     if ((items < 2) || (items > 2)) {
   11228           0 :       SWIG_croak("Usage: styleObj_offsety_set(self,offsety);");
   11229             :     }
   11230           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   11231           0 :     if (!SWIG_IsOK(res1)) {
   11232           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_offsety_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
   11233             :     }
   11234           0 :     arg1 = (struct styleObj *)(argp1);
   11235           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   11236           0 :     if (!SWIG_IsOK(ecode2)) {
   11237           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_offsety_set" "', argument " "2"" of type '" "double""'");
   11238             :     } 
   11239           0 :     arg2 = (double)(val2);
   11240           0 :     if (arg1) (arg1)->offsety = arg2;
   11241           0 :     ST(argvi) = sv_newmortal();
   11242             :     
   11243             :     
   11244           0 :     XSRETURN(argvi);
   11245             :   fail:
   11246             :     
   11247             :     
   11248           0 :     SWIG_croak_null();
   11249             :   }
   11250             : }
   11251             : 
   11252             : 
   11253           0 : XS(_wrap_styleObj_offsety_get) {
   11254             :   {
   11255             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   11256           0 :     void *argp1 = 0 ;
   11257             :     int res1 = 0 ;
   11258             :     int argvi = 0;
   11259             :     double result;
   11260           0 :     dXSARGS;
   11261             :     
   11262           0 :     if ((items < 1) || (items > 1)) {
   11263           0 :       SWIG_croak("Usage: styleObj_offsety_get(self);");
   11264             :     }
   11265           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   11266           0 :     if (!SWIG_IsOK(res1)) {
   11267           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_offsety_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
   11268             :     }
   11269           0 :     arg1 = (struct styleObj *)(argp1);
   11270           0 :     result = (double) ((arg1)->offsety);
   11271           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   11272             :     
   11273           0 :     XSRETURN(argvi);
   11274             :   fail:
   11275             :     
   11276           0 :     SWIG_croak_null();
   11277             :   }
   11278             : }
   11279             : 
   11280             : 
   11281           0 : XS(_wrap_styleObj_polaroffsetpixel_set) {
   11282             :   {
   11283             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   11284             :     double arg2 ;
   11285           0 :     void *argp1 = 0 ;
   11286             :     int res1 = 0 ;
   11287             :     double val2 ;
   11288             :     int ecode2 = 0 ;
   11289             :     int argvi = 0;
   11290           0 :     dXSARGS;
   11291             :     
   11292           0 :     if ((items < 2) || (items > 2)) {
   11293           0 :       SWIG_croak("Usage: styleObj_polaroffsetpixel_set(self,polaroffsetpixel);");
   11294             :     }
   11295           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   11296           0 :     if (!SWIG_IsOK(res1)) {
   11297           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_polaroffsetpixel_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
   11298             :     }
   11299           0 :     arg1 = (struct styleObj *)(argp1);
   11300           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   11301           0 :     if (!SWIG_IsOK(ecode2)) {
   11302           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_polaroffsetpixel_set" "', argument " "2"" of type '" "double""'");
   11303             :     } 
   11304           0 :     arg2 = (double)(val2);
   11305           0 :     if (arg1) (arg1)->polaroffsetpixel = arg2;
   11306           0 :     ST(argvi) = sv_newmortal();
   11307             :     
   11308             :     
   11309           0 :     XSRETURN(argvi);
   11310             :   fail:
   11311             :     
   11312             :     
   11313           0 :     SWIG_croak_null();
   11314             :   }
   11315             : }
   11316             : 
   11317             : 
   11318           0 : XS(_wrap_styleObj_polaroffsetpixel_get) {
   11319             :   {
   11320             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   11321           0 :     void *argp1 = 0 ;
   11322             :     int res1 = 0 ;
   11323             :     int argvi = 0;
   11324             :     double result;
   11325           0 :     dXSARGS;
   11326             :     
   11327           0 :     if ((items < 1) || (items > 1)) {
   11328           0 :       SWIG_croak("Usage: styleObj_polaroffsetpixel_get(self);");
   11329             :     }
   11330           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   11331           0 :     if (!SWIG_IsOK(res1)) {
   11332           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_polaroffsetpixel_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
   11333             :     }
   11334           0 :     arg1 = (struct styleObj *)(argp1);
   11335           0 :     result = (double) ((arg1)->polaroffsetpixel);
   11336           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   11337             :     
   11338           0 :     XSRETURN(argvi);
   11339             :   fail:
   11340             :     
   11341           0 :     SWIG_croak_null();
   11342             :   }
   11343             : }
   11344             : 
   11345             : 
   11346           0 : XS(_wrap_styleObj_polaroffsetangle_set) {
   11347             :   {
   11348             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   11349             :     double arg2 ;
   11350           0 :     void *argp1 = 0 ;
   11351             :     int res1 = 0 ;
   11352             :     double val2 ;
   11353             :     int ecode2 = 0 ;
   11354             :     int argvi = 0;
   11355           0 :     dXSARGS;
   11356             :     
   11357           0 :     if ((items < 2) || (items > 2)) {
   11358           0 :       SWIG_croak("Usage: styleObj_polaroffsetangle_set(self,polaroffsetangle);");
   11359             :     }
   11360           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   11361           0 :     if (!SWIG_IsOK(res1)) {
   11362           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_polaroffsetangle_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
   11363             :     }
   11364           0 :     arg1 = (struct styleObj *)(argp1);
   11365           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   11366           0 :     if (!SWIG_IsOK(ecode2)) {
   11367           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_polaroffsetangle_set" "', argument " "2"" of type '" "double""'");
   11368             :     } 
   11369           0 :     arg2 = (double)(val2);
   11370           0 :     if (arg1) (arg1)->polaroffsetangle = arg2;
   11371           0 :     ST(argvi) = sv_newmortal();
   11372             :     
   11373             :     
   11374           0 :     XSRETURN(argvi);
   11375             :   fail:
   11376             :     
   11377             :     
   11378           0 :     SWIG_croak_null();
   11379             :   }
   11380             : }
   11381             : 
   11382             : 
   11383           0 : XS(_wrap_styleObj_polaroffsetangle_get) {
   11384             :   {
   11385             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   11386           0 :     void *argp1 = 0 ;
   11387             :     int res1 = 0 ;
   11388             :     int argvi = 0;
   11389             :     double result;
   11390           0 :     dXSARGS;
   11391             :     
   11392           0 :     if ((items < 1) || (items > 1)) {
   11393           0 :       SWIG_croak("Usage: styleObj_polaroffsetangle_get(self);");
   11394             :     }
   11395           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   11396           0 :     if (!SWIG_IsOK(res1)) {
   11397           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_polaroffsetangle_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
   11398             :     }
   11399           0 :     arg1 = (struct styleObj *)(argp1);
   11400           0 :     result = (double) ((arg1)->polaroffsetangle);
   11401           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   11402             :     
   11403           0 :     XSRETURN(argvi);
   11404             :   fail:
   11405             :     
   11406           0 :     SWIG_croak_null();
   11407             :   }
   11408             : }
   11409             : 
   11410             : 
   11411           0 : XS(_wrap_styleObj_angle_set) {
   11412             :   {
   11413             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   11414             :     double arg2 ;
   11415           0 :     void *argp1 = 0 ;
   11416             :     int res1 = 0 ;
   11417             :     double val2 ;
   11418             :     int ecode2 = 0 ;
   11419             :     int argvi = 0;
   11420           0 :     dXSARGS;
   11421             :     
   11422           0 :     if ((items < 2) || (items > 2)) {
   11423           0 :       SWIG_croak("Usage: styleObj_angle_set(self,angle);");
   11424             :     }
   11425           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   11426           0 :     if (!SWIG_IsOK(res1)) {
   11427           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_angle_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
   11428             :     }
   11429           0 :     arg1 = (struct styleObj *)(argp1);
   11430           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   11431           0 :     if (!SWIG_IsOK(ecode2)) {
   11432           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_angle_set" "', argument " "2"" of type '" "double""'");
   11433             :     } 
   11434           0 :     arg2 = (double)(val2);
   11435           0 :     if (arg1) (arg1)->angle = arg2;
   11436           0 :     ST(argvi) = sv_newmortal();
   11437             :     
   11438             :     
   11439           0 :     XSRETURN(argvi);
   11440             :   fail:
   11441             :     
   11442             :     
   11443           0 :     SWIG_croak_null();
   11444             :   }
   11445             : }
   11446             : 
   11447             : 
   11448           0 : XS(_wrap_styleObj_angle_get) {
   11449             :   {
   11450             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   11451           0 :     void *argp1 = 0 ;
   11452             :     int res1 = 0 ;
   11453             :     int argvi = 0;
   11454             :     double result;
   11455           0 :     dXSARGS;
   11456             :     
   11457           0 :     if ((items < 1) || (items > 1)) {
   11458           0 :       SWIG_croak("Usage: styleObj_angle_get(self);");
   11459             :     }
   11460           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   11461           0 :     if (!SWIG_IsOK(res1)) {
   11462           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_angle_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
   11463             :     }
   11464           0 :     arg1 = (struct styleObj *)(argp1);
   11465           0 :     result = (double) ((arg1)->angle);
   11466           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   11467             :     
   11468           0 :     XSRETURN(argvi);
   11469             :   fail:
   11470             :     
   11471           0 :     SWIG_croak_null();
   11472             :   }
   11473             : }
   11474             : 
   11475             : 
   11476           0 : XS(_wrap_styleObj_minscaledenom_set) {
   11477             :   {
   11478             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   11479             :     double arg2 ;
   11480           0 :     void *argp1 = 0 ;
   11481             :     int res1 = 0 ;
   11482             :     double val2 ;
   11483             :     int ecode2 = 0 ;
   11484             :     int argvi = 0;
   11485           0 :     dXSARGS;
   11486             :     
   11487           0 :     if ((items < 2) || (items > 2)) {
   11488           0 :       SWIG_croak("Usage: styleObj_minscaledenom_set(self,minscaledenom);");
   11489             :     }
   11490           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   11491           0 :     if (!SWIG_IsOK(res1)) {
   11492           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_minscaledenom_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
   11493             :     }
   11494           0 :     arg1 = (struct styleObj *)(argp1);
   11495           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   11496           0 :     if (!SWIG_IsOK(ecode2)) {
   11497           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_minscaledenom_set" "', argument " "2"" of type '" "double""'");
   11498             :     } 
   11499           0 :     arg2 = (double)(val2);
   11500           0 :     if (arg1) (arg1)->minscaledenom = arg2;
   11501           0 :     ST(argvi) = sv_newmortal();
   11502             :     
   11503             :     
   11504           0 :     XSRETURN(argvi);
   11505             :   fail:
   11506             :     
   11507             :     
   11508           0 :     SWIG_croak_null();
   11509             :   }
   11510             : }
   11511             : 
   11512             : 
   11513           0 : XS(_wrap_styleObj_minscaledenom_get) {
   11514             :   {
   11515             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   11516           0 :     void *argp1 = 0 ;
   11517             :     int res1 = 0 ;
   11518             :     int argvi = 0;
   11519             :     double result;
   11520           0 :     dXSARGS;
   11521             :     
   11522           0 :     if ((items < 1) || (items > 1)) {
   11523           0 :       SWIG_croak("Usage: styleObj_minscaledenom_get(self);");
   11524             :     }
   11525           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   11526           0 :     if (!SWIG_IsOK(res1)) {
   11527           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_minscaledenom_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
   11528             :     }
   11529           0 :     arg1 = (struct styleObj *)(argp1);
   11530           0 :     result = (double) ((arg1)->minscaledenom);
   11531           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   11532             :     
   11533           0 :     XSRETURN(argvi);
   11534             :   fail:
   11535             :     
   11536           0 :     SWIG_croak_null();
   11537             :   }
   11538             : }
   11539             : 
   11540             : 
   11541           0 : XS(_wrap_styleObj_maxscaledenom_set) {
   11542             :   {
   11543             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   11544             :     double arg2 ;
   11545           0 :     void *argp1 = 0 ;
   11546             :     int res1 = 0 ;
   11547             :     double val2 ;
   11548             :     int ecode2 = 0 ;
   11549             :     int argvi = 0;
   11550           0 :     dXSARGS;
   11551             :     
   11552           0 :     if ((items < 2) || (items > 2)) {
   11553           0 :       SWIG_croak("Usage: styleObj_maxscaledenom_set(self,maxscaledenom);");
   11554             :     }
   11555           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   11556           0 :     if (!SWIG_IsOK(res1)) {
   11557           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_maxscaledenom_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
   11558             :     }
   11559           0 :     arg1 = (struct styleObj *)(argp1);
   11560           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   11561           0 :     if (!SWIG_IsOK(ecode2)) {
   11562           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_maxscaledenom_set" "', argument " "2"" of type '" "double""'");
   11563             :     } 
   11564           0 :     arg2 = (double)(val2);
   11565           0 :     if (arg1) (arg1)->maxscaledenom = arg2;
   11566           0 :     ST(argvi) = sv_newmortal();
   11567             :     
   11568             :     
   11569           0 :     XSRETURN(argvi);
   11570             :   fail:
   11571             :     
   11572             :     
   11573           0 :     SWIG_croak_null();
   11574             :   }
   11575             : }
   11576             : 
   11577             : 
   11578           0 : XS(_wrap_styleObj_maxscaledenom_get) {
   11579             :   {
   11580             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   11581           0 :     void *argp1 = 0 ;
   11582             :     int res1 = 0 ;
   11583             :     int argvi = 0;
   11584             :     double result;
   11585           0 :     dXSARGS;
   11586             :     
   11587           0 :     if ((items < 1) || (items > 1)) {
   11588           0 :       SWIG_croak("Usage: styleObj_maxscaledenom_get(self);");
   11589             :     }
   11590           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   11591           0 :     if (!SWIG_IsOK(res1)) {
   11592           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_maxscaledenom_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
   11593             :     }
   11594           0 :     arg1 = (struct styleObj *)(argp1);
   11595           0 :     result = (double) ((arg1)->maxscaledenom);
   11596           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   11597             :     
   11598           0 :     XSRETURN(argvi);
   11599             :   fail:
   11600             :     
   11601           0 :     SWIG_croak_null();
   11602             :   }
   11603             : }
   11604             : 
   11605             : 
   11606           0 : XS(_wrap_new_styleObj) {
   11607             :   {
   11608             :     classObj *arg1 = (classObj *) NULL ;
   11609           0 :     void *argp1 = 0 ;
   11610             :     int res1 = 0 ;
   11611             :     int argvi = 0;
   11612             :     struct styleObj *result = 0 ;
   11613           0 :     dXSARGS;
   11614             :     
   11615           0 :     if ((items < 0) || (items > 1)) {
   11616           0 :       SWIG_croak("Usage: new_styleObj(parent_class);");
   11617             :     }
   11618           0 :     if (items > 0) {
   11619           0 :       res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   11620           0 :       if (!SWIG_IsOK(res1)) {
   11621           0 :         SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_styleObj" "', argument " "1"" of type '" "classObj *""'"); 
   11622             :       }
   11623           0 :       arg1 = (classObj *)(argp1);
   11624             :     }
   11625           0 :     result = (struct styleObj *)new_styleObj(arg1);
   11626           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_styleObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   11627             :     
   11628           0 :     XSRETURN(argvi);
   11629             :   fail:
   11630             :     
   11631           0 :     SWIG_croak_null();
   11632             :   }
   11633             : }
   11634             : 
   11635             : 
   11636           0 : XS(_wrap_delete_styleObj) {
   11637             :   {
   11638             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   11639           0 :     void *argp1 = 0 ;
   11640             :     int res1 = 0 ;
   11641             :     int argvi = 0;
   11642           0 :     dXSARGS;
   11643             :     
   11644           0 :     if ((items < 1) || (items > 1)) {
   11645           0 :       SWIG_croak("Usage: delete_styleObj(self);");
   11646             :     }
   11647           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, SWIG_POINTER_DISOWN |  0 );
   11648           0 :     if (!SWIG_IsOK(res1)) {
   11649           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_styleObj" "', argument " "1"" of type '" "struct styleObj *""'"); 
   11650             :     }
   11651           0 :     arg1 = (struct styleObj *)(argp1);
   11652           0 :     delete_styleObj(arg1);
   11653           0 :     ST(argvi) = sv_newmortal();
   11654             :     
   11655           0 :     XSRETURN(argvi);
   11656             :   fail:
   11657             :     
   11658           0 :     SWIG_croak_null();
   11659             :   }
   11660             : }
   11661             : 
   11662             : 
   11663           0 : XS(_wrap_styleObj_updateFromString) {
   11664             :   {
   11665             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   11666             :     char *arg2 = (char *) 0 ;
   11667           0 :     void *argp1 = 0 ;
   11668             :     int res1 = 0 ;
   11669             :     int res2 ;
   11670           0 :     char *buf2 = 0 ;
   11671           0 :     int alloc2 = 0 ;
   11672             :     int argvi = 0;
   11673             :     int result;
   11674           0 :     dXSARGS;
   11675             :     
   11676           0 :     if ((items < 2) || (items > 2)) {
   11677           0 :       SWIG_croak("Usage: styleObj_updateFromString(self,snippet);");
   11678             :     }
   11679           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   11680           0 :     if (!SWIG_IsOK(res1)) {
   11681           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_updateFromString" "', argument " "1"" of type '" "struct styleObj *""'"); 
   11682             :     }
   11683           0 :     arg1 = (struct styleObj *)(argp1);
   11684           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   11685           0 :     if (!SWIG_IsOK(res2)) {
   11686           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "styleObj_updateFromString" "', argument " "2"" of type '" "char *""'");
   11687             :     }
   11688           0 :     arg2 = (char *)(buf2);
   11689             :     result = (int)styleObj_updateFromString(arg1,arg2);
   11690           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   11691             :     
   11692           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   11693           0 :     XSRETURN(argvi);
   11694             :   fail:
   11695             :     
   11696           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   11697           0 :     SWIG_croak_null();
   11698             :   }
   11699             : }
   11700             : 
   11701             : 
   11702           0 : XS(_wrap_styleObj_convertToString) {
   11703             :   {
   11704             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   11705           0 :     void *argp1 = 0 ;
   11706             :     int res1 = 0 ;
   11707             :     int argvi = 0;
   11708             :     char *result = 0 ;
   11709           0 :     dXSARGS;
   11710             :     
   11711           0 :     if ((items < 1) || (items > 1)) {
   11712           0 :       SWIG_croak("Usage: styleObj_convertToString(self);");
   11713             :     }
   11714           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   11715           0 :     if (!SWIG_IsOK(res1)) {
   11716           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_convertToString" "', argument " "1"" of type '" "struct styleObj *""'"); 
   11717             :     }
   11718           0 :     arg1 = (struct styleObj *)(argp1);
   11719             :     result = (char *)styleObj_convertToString(arg1);
   11720           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   11721             :     
   11722           0 :     free((char*)result);
   11723           0 :     XSRETURN(argvi);
   11724             :   fail:
   11725             :     
   11726           0 :     SWIG_croak_null();
   11727             :   }
   11728             : }
   11729             : 
   11730             : 
   11731           0 : XS(_wrap_styleObj_clone) {
   11732             :   {
   11733             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   11734           0 :     void *argp1 = 0 ;
   11735             :     int res1 = 0 ;
   11736             :     int argvi = 0;
   11737             :     styleObj *result = 0 ;
   11738           0 :     dXSARGS;
   11739             :     
   11740           0 :     if ((items < 1) || (items > 1)) {
   11741           0 :       SWIG_croak("Usage: styleObj_clone(self);");
   11742             :     }
   11743           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   11744           0 :     if (!SWIG_IsOK(res1)) {
   11745           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_clone" "', argument " "1"" of type '" "struct styleObj *""'"); 
   11746             :     }
   11747           0 :     arg1 = (struct styleObj *)(argp1);
   11748           0 :     result = (styleObj *)styleObj_clone(arg1);
   11749           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_styleObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   11750             :     
   11751           0 :     XSRETURN(argvi);
   11752             :   fail:
   11753             :     
   11754           0 :     SWIG_croak_null();
   11755             :   }
   11756             : }
   11757             : 
   11758             : 
   11759           0 : XS(_wrap_styleObj_setSymbolByName) {
   11760             :   {
   11761             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   11762             :     mapObj *arg2 = (mapObj *) 0 ;
   11763             :     char *arg3 = (char *) 0 ;
   11764           0 :     void *argp1 = 0 ;
   11765             :     int res1 = 0 ;
   11766           0 :     void *argp2 = 0 ;
   11767             :     int res2 = 0 ;
   11768             :     int res3 ;
   11769           0 :     char *buf3 = 0 ;
   11770           0 :     int alloc3 = 0 ;
   11771             :     int argvi = 0;
   11772             :     int result;
   11773           0 :     dXSARGS;
   11774             :     
   11775           0 :     if ((items < 3) || (items > 3)) {
   11776           0 :       SWIG_croak("Usage: styleObj_setSymbolByName(self,map,symbolname);");
   11777             :     }
   11778           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   11779           0 :     if (!SWIG_IsOK(res1)) {
   11780           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_setSymbolByName" "', argument " "1"" of type '" "struct styleObj *""'"); 
   11781             :     }
   11782           0 :     arg1 = (struct styleObj *)(argp1);
   11783           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 |  0 );
   11784           0 :     if (!SWIG_IsOK(res2)) {
   11785           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "styleObj_setSymbolByName" "', argument " "2"" of type '" "mapObj *""'"); 
   11786             :     }
   11787           0 :     arg2 = (mapObj *)(argp2);
   11788           0 :     res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
   11789           0 :     if (!SWIG_IsOK(res3)) {
   11790           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "styleObj_setSymbolByName" "', argument " "3"" of type '" "char *""'");
   11791             :     }
   11792           0 :     arg3 = (char *)(buf3);
   11793           0 :     result = (int)styleObj_setSymbolByName(arg1,arg2,arg3);
   11794           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   11795             :     
   11796             :     
   11797           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   11798           0 :     XSRETURN(argvi);
   11799             :   fail:
   11800             :     
   11801             :     
   11802           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   11803           0 :     SWIG_croak_null();
   11804             :   }
   11805             : }
   11806             : 
   11807             : 
   11808           0 : XS(_wrap_styleObj_removeBinding) {
   11809             :   {
   11810             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   11811             :     int arg2 ;
   11812           0 :     void *argp1 = 0 ;
   11813             :     int res1 = 0 ;
   11814             :     int val2 ;
   11815             :     int ecode2 = 0 ;
   11816             :     int argvi = 0;
   11817             :     int result;
   11818           0 :     dXSARGS;
   11819             :     
   11820           0 :     if ((items < 2) || (items > 2)) {
   11821           0 :       SWIG_croak("Usage: styleObj_removeBinding(self,binding);");
   11822             :     }
   11823           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   11824           0 :     if (!SWIG_IsOK(res1)) {
   11825           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_removeBinding" "', argument " "1"" of type '" "struct styleObj *""'"); 
   11826             :     }
   11827           0 :     arg1 = (struct styleObj *)(argp1);
   11828           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   11829           0 :     if (!SWIG_IsOK(ecode2)) {
   11830           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_removeBinding" "', argument " "2"" of type '" "int""'");
   11831             :     } 
   11832           0 :     arg2 = (int)(val2);
   11833           0 :     result = (int)styleObj_removeBinding(arg1,arg2);
   11834           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   11835             :     
   11836             :     
   11837           0 :     XSRETURN(argvi);
   11838             :   fail:
   11839             :     
   11840             :     
   11841           0 :     SWIG_croak_null();
   11842             :   }
   11843             : }
   11844             : 
   11845             : 
   11846           0 : XS(_wrap_styleObj_setBinding) {
   11847             :   {
   11848             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   11849             :     int arg2 ;
   11850             :     char *arg3 = (char *) 0 ;
   11851           0 :     void *argp1 = 0 ;
   11852             :     int res1 = 0 ;
   11853             :     int val2 ;
   11854             :     int ecode2 = 0 ;
   11855             :     int res3 ;
   11856           0 :     char *buf3 = 0 ;
   11857           0 :     int alloc3 = 0 ;
   11858             :     int argvi = 0;
   11859             :     int result;
   11860           0 :     dXSARGS;
   11861             :     
   11862           0 :     if ((items < 3) || (items > 3)) {
   11863           0 :       SWIG_croak("Usage: styleObj_setBinding(self,binding,item);");
   11864             :     }
   11865           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   11866           0 :     if (!SWIG_IsOK(res1)) {
   11867           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_setBinding" "', argument " "1"" of type '" "struct styleObj *""'"); 
   11868             :     }
   11869           0 :     arg1 = (struct styleObj *)(argp1);
   11870           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   11871           0 :     if (!SWIG_IsOK(ecode2)) {
   11872           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_setBinding" "', argument " "2"" of type '" "int""'");
   11873             :     } 
   11874           0 :     arg2 = (int)(val2);
   11875           0 :     res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
   11876           0 :     if (!SWIG_IsOK(res3)) {
   11877           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "styleObj_setBinding" "', argument " "3"" of type '" "char *""'");
   11878             :     }
   11879           0 :     arg3 = (char *)(buf3);
   11880           0 :     result = (int)styleObj_setBinding(arg1,arg2,arg3);
   11881           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   11882             :     
   11883             :     
   11884           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   11885           0 :     XSRETURN(argvi);
   11886             :   fail:
   11887             :     
   11888             :     
   11889           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   11890           0 :     SWIG_croak_null();
   11891             :   }
   11892             : }
   11893             : 
   11894             : 
   11895           0 : XS(_wrap_styleObj_getBinding) {
   11896             :   {
   11897             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   11898             :     int arg2 ;
   11899           0 :     void *argp1 = 0 ;
   11900             :     int res1 = 0 ;
   11901             :     int val2 ;
   11902             :     int ecode2 = 0 ;
   11903             :     int argvi = 0;
   11904             :     char *result = 0 ;
   11905           0 :     dXSARGS;
   11906             :     
   11907           0 :     if ((items < 2) || (items > 2)) {
   11908           0 :       SWIG_croak("Usage: styleObj_getBinding(self,binding);");
   11909             :     }
   11910           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   11911           0 :     if (!SWIG_IsOK(res1)) {
   11912           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_getBinding" "', argument " "1"" of type '" "struct styleObj *""'"); 
   11913             :     }
   11914           0 :     arg1 = (struct styleObj *)(argp1);
   11915           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   11916           0 :     if (!SWIG_IsOK(ecode2)) {
   11917           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_getBinding" "', argument " "2"" of type '" "int""'");
   11918             :     } 
   11919           0 :     arg2 = (int)(val2);
   11920             :     result = (char *)styleObj_getBinding(arg1,arg2);
   11921           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   11922             :     
   11923             :     
   11924           0 :     XSRETURN(argvi);
   11925             :   fail:
   11926             :     
   11927             :     
   11928           0 :     SWIG_croak_null();
   11929             :   }
   11930             : }
   11931             : 
   11932             : 
   11933           0 : XS(_wrap_styleObj_getGeomTransform) {
   11934             :   {
   11935           0 :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   11936           0 :     void *argp1 = 0 ;
   11937             :     int res1 = 0 ;
   11938             :     int argvi = 0;
   11939             :     char *result = 0 ;
   11940           0 :     dXSARGS;
   11941             :     
   11942           0 :     if ((items < 1) || (items > 1)) {
   11943           0 :       SWIG_croak("Usage: styleObj_getGeomTransform(self);");
   11944             :     }
   11945           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   11946           0 :     if (!SWIG_IsOK(res1)) {
   11947           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_getGeomTransform" "', argument " "1"" of type '" "struct styleObj *""'"); 
   11948             :     }
   11949           0 :     arg1 = (struct styleObj *)(argp1);
   11950             :     result = (char *)styleObj_getGeomTransform(arg1);
   11951           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   11952             :     
   11953           0 :     XSRETURN(argvi);
   11954             :   fail:
   11955             :     
   11956           0 :     SWIG_croak_null();
   11957             :   }
   11958             : }
   11959             : 
   11960             : 
   11961           0 : XS(_wrap_styleObj_setGeomTransform) {
   11962             :   {
   11963             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   11964             :     char *arg2 = (char *) 0 ;
   11965           0 :     void *argp1 = 0 ;
   11966             :     int res1 = 0 ;
   11967             :     int res2 ;
   11968           0 :     char *buf2 = 0 ;
   11969           0 :     int alloc2 = 0 ;
   11970             :     int argvi = 0;
   11971           0 :     dXSARGS;
   11972             :     
   11973           0 :     if ((items < 2) || (items > 2)) {
   11974           0 :       SWIG_croak("Usage: styleObj_setGeomTransform(self,transform);");
   11975             :     }
   11976           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   11977           0 :     if (!SWIG_IsOK(res1)) {
   11978           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_setGeomTransform" "', argument " "1"" of type '" "struct styleObj *""'"); 
   11979             :     }
   11980           0 :     arg1 = (struct styleObj *)(argp1);
   11981           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   11982           0 :     if (!SWIG_IsOK(res2)) {
   11983           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "styleObj_setGeomTransform" "', argument " "2"" of type '" "char *""'");
   11984             :     }
   11985           0 :     arg2 = (char *)(buf2);
   11986             :     styleObj_setGeomTransform(arg1,arg2);
   11987           0 :     ST(argvi) = sv_newmortal();
   11988             :     
   11989           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   11990           0 :     XSRETURN(argvi);
   11991             :   fail:
   11992             :     
   11993           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   11994           0 :     SWIG_croak_null();
   11995             :   }
   11996             : }
   11997             : 
   11998             : 
   11999           0 : XS(_wrap_labelLeaderObj_maxdistance_set) {
   12000             :   {
   12001             :     labelLeaderObj *arg1 = (labelLeaderObj *) 0 ;
   12002             :     int arg2 ;
   12003           0 :     void *argp1 = 0 ;
   12004             :     int res1 = 0 ;
   12005             :     int val2 ;
   12006             :     int ecode2 = 0 ;
   12007             :     int argvi = 0;
   12008           0 :     dXSARGS;
   12009             :     
   12010           0 :     if ((items < 2) || (items > 2)) {
   12011           0 :       SWIG_croak("Usage: labelLeaderObj_maxdistance_set(self,maxdistance);");
   12012             :     }
   12013           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelLeaderObj, 0 |  0 );
   12014           0 :     if (!SWIG_IsOK(res1)) {
   12015           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelLeaderObj_maxdistance_set" "', argument " "1"" of type '" "labelLeaderObj *""'"); 
   12016             :     }
   12017           0 :     arg1 = (labelLeaderObj *)(argp1);
   12018           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   12019           0 :     if (!SWIG_IsOK(ecode2)) {
   12020           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelLeaderObj_maxdistance_set" "', argument " "2"" of type '" "int""'");
   12021             :     } 
   12022           0 :     arg2 = (int)(val2);
   12023           0 :     if (arg1) (arg1)->maxdistance = arg2;
   12024           0 :     ST(argvi) = sv_newmortal();
   12025             :     
   12026             :     
   12027           0 :     XSRETURN(argvi);
   12028             :   fail:
   12029             :     
   12030             :     
   12031           0 :     SWIG_croak_null();
   12032             :   }
   12033             : }
   12034             : 
   12035             : 
   12036           0 : XS(_wrap_labelLeaderObj_maxdistance_get) {
   12037             :   {
   12038             :     labelLeaderObj *arg1 = (labelLeaderObj *) 0 ;
   12039           0 :     void *argp1 = 0 ;
   12040             :     int res1 = 0 ;
   12041             :     int argvi = 0;
   12042             :     int result;
   12043           0 :     dXSARGS;
   12044             :     
   12045           0 :     if ((items < 1) || (items > 1)) {
   12046           0 :       SWIG_croak("Usage: labelLeaderObj_maxdistance_get(self);");
   12047             :     }
   12048           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelLeaderObj, 0 |  0 );
   12049           0 :     if (!SWIG_IsOK(res1)) {
   12050           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelLeaderObj_maxdistance_get" "', argument " "1"" of type '" "labelLeaderObj *""'"); 
   12051             :     }
   12052           0 :     arg1 = (labelLeaderObj *)(argp1);
   12053           0 :     result = (int) ((arg1)->maxdistance);
   12054           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   12055             :     
   12056           0 :     XSRETURN(argvi);
   12057             :   fail:
   12058             :     
   12059           0 :     SWIG_croak_null();
   12060             :   }
   12061             : }
   12062             : 
   12063             : 
   12064           0 : XS(_wrap_labelLeaderObj_gridstep_set) {
   12065             :   {
   12066             :     labelLeaderObj *arg1 = (labelLeaderObj *) 0 ;
   12067             :     int arg2 ;
   12068           0 :     void *argp1 = 0 ;
   12069             :     int res1 = 0 ;
   12070             :     int val2 ;
   12071             :     int ecode2 = 0 ;
   12072             :     int argvi = 0;
   12073           0 :     dXSARGS;
   12074             :     
   12075           0 :     if ((items < 2) || (items > 2)) {
   12076           0 :       SWIG_croak("Usage: labelLeaderObj_gridstep_set(self,gridstep);");
   12077             :     }
   12078           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelLeaderObj, 0 |  0 );
   12079           0 :     if (!SWIG_IsOK(res1)) {
   12080           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelLeaderObj_gridstep_set" "', argument " "1"" of type '" "labelLeaderObj *""'"); 
   12081             :     }
   12082           0 :     arg1 = (labelLeaderObj *)(argp1);
   12083           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   12084           0 :     if (!SWIG_IsOK(ecode2)) {
   12085           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelLeaderObj_gridstep_set" "', argument " "2"" of type '" "int""'");
   12086             :     } 
   12087           0 :     arg2 = (int)(val2);
   12088           0 :     if (arg1) (arg1)->gridstep = arg2;
   12089           0 :     ST(argvi) = sv_newmortal();
   12090             :     
   12091             :     
   12092           0 :     XSRETURN(argvi);
   12093             :   fail:
   12094             :     
   12095             :     
   12096           0 :     SWIG_croak_null();
   12097             :   }
   12098             : }
   12099             : 
   12100             : 
   12101           0 : XS(_wrap_labelLeaderObj_gridstep_get) {
   12102             :   {
   12103             :     labelLeaderObj *arg1 = (labelLeaderObj *) 0 ;
   12104           0 :     void *argp1 = 0 ;
   12105             :     int res1 = 0 ;
   12106             :     int argvi = 0;
   12107             :     int result;
   12108           0 :     dXSARGS;
   12109             :     
   12110           0 :     if ((items < 1) || (items > 1)) {
   12111           0 :       SWIG_croak("Usage: labelLeaderObj_gridstep_get(self);");
   12112             :     }
   12113           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelLeaderObj, 0 |  0 );
   12114           0 :     if (!SWIG_IsOK(res1)) {
   12115           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelLeaderObj_gridstep_get" "', argument " "1"" of type '" "labelLeaderObj *""'"); 
   12116             :     }
   12117           0 :     arg1 = (labelLeaderObj *)(argp1);
   12118           0 :     result = (int) ((arg1)->gridstep);
   12119           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   12120             :     
   12121           0 :     XSRETURN(argvi);
   12122             :   fail:
   12123             :     
   12124           0 :     SWIG_croak_null();
   12125             :   }
   12126             : }
   12127             : 
   12128             : 
   12129           0 : XS(_wrap_labelLeaderObj_numstyles_get) {
   12130             :   {
   12131             :     labelLeaderObj *arg1 = (labelLeaderObj *) 0 ;
   12132           0 :     void *argp1 = 0 ;
   12133             :     int res1 = 0 ;
   12134             :     int argvi = 0;
   12135             :     int result;
   12136           0 :     dXSARGS;
   12137             :     
   12138           0 :     if ((items < 1) || (items > 1)) {
   12139           0 :       SWIG_croak("Usage: labelLeaderObj_numstyles_get(self);");
   12140             :     }
   12141           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelLeaderObj, 0 |  0 );
   12142           0 :     if (!SWIG_IsOK(res1)) {
   12143           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelLeaderObj_numstyles_get" "', argument " "1"" of type '" "labelLeaderObj *""'"); 
   12144             :     }
   12145           0 :     arg1 = (labelLeaderObj *)(argp1);
   12146           0 :     result = (int) ((arg1)->numstyles);
   12147           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   12148             :     
   12149           0 :     XSRETURN(argvi);
   12150             :   fail:
   12151             :     
   12152           0 :     SWIG_croak_null();
   12153             :   }
   12154             : }
   12155             : 
   12156             : 
   12157           0 : XS(_wrap_new_labelLeaderObj) {
   12158             :   {
   12159             :     int argvi = 0;
   12160             :     labelLeaderObj *result = 0 ;
   12161           0 :     dXSARGS;
   12162             :     
   12163           0 :     if ((items < 0) || (items > 0)) {
   12164           0 :       SWIG_croak("Usage: new_labelLeaderObj();");
   12165             :     }
   12166           0 :     result = (labelLeaderObj *)calloc(1, sizeof(labelLeaderObj));
   12167           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelLeaderObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   12168           0 :     XSRETURN(argvi);
   12169             :   fail:
   12170           0 :     SWIG_croak_null();
   12171             :   }
   12172             : }
   12173             : 
   12174             : 
   12175           0 : XS(_wrap_delete_labelLeaderObj) {
   12176             :   {
   12177             :     labelLeaderObj *arg1 = (labelLeaderObj *) 0 ;
   12178           0 :     void *argp1 = 0 ;
   12179             :     int res1 = 0 ;
   12180             :     int argvi = 0;
   12181           0 :     dXSARGS;
   12182             :     
   12183           0 :     if ((items < 1) || (items > 1)) {
   12184           0 :       SWIG_croak("Usage: delete_labelLeaderObj(self);");
   12185             :     }
   12186           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelLeaderObj, SWIG_POINTER_DISOWN |  0 );
   12187           0 :     if (!SWIG_IsOK(res1)) {
   12188           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_labelLeaderObj" "', argument " "1"" of type '" "labelLeaderObj *""'"); 
   12189             :     }
   12190           0 :     arg1 = (labelLeaderObj *)(argp1);
   12191           0 :     free((char *) arg1);
   12192           0 :     ST(argvi) = sv_newmortal();
   12193             :     
   12194           0 :     XSRETURN(argvi);
   12195             :   fail:
   12196             :     
   12197           0 :     SWIG_croak_null();
   12198             :   }
   12199             : }
   12200             : 
   12201             : 
   12202           0 : XS(_wrap_labelObj_refcount_get) {
   12203             :   {
   12204             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   12205           0 :     void *argp1 = 0 ;
   12206             :     int res1 = 0 ;
   12207             :     int argvi = 0;
   12208             :     int result;
   12209           0 :     dXSARGS;
   12210             :     
   12211           0 :     if ((items < 1) || (items > 1)) {
   12212           0 :       SWIG_croak("Usage: labelObj_refcount_get(self);");
   12213             :     }
   12214           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   12215           0 :     if (!SWIG_IsOK(res1)) {
   12216           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_refcount_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   12217             :     }
   12218           0 :     arg1 = (struct labelObj *)(argp1);
   12219           0 :     result = (int) ((arg1)->refcount);
   12220           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   12221             :     
   12222           0 :     XSRETURN(argvi);
   12223             :   fail:
   12224             :     
   12225           0 :     SWIG_croak_null();
   12226             :   }
   12227             : }
   12228             : 
   12229             : 
   12230           0 : XS(_wrap_labelObj_font_set) {
   12231             :   {
   12232             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   12233             :     char *arg2 = (char *) 0 ;
   12234           0 :     void *argp1 = 0 ;
   12235             :     int res1 = 0 ;
   12236             :     int res2 ;
   12237           0 :     char *buf2 = 0 ;
   12238           0 :     int alloc2 = 0 ;
   12239             :     int argvi = 0;
   12240           0 :     dXSARGS;
   12241             :     
   12242           0 :     if ((items < 2) || (items > 2)) {
   12243           0 :       SWIG_croak("Usage: labelObj_font_set(self,font);");
   12244             :     }
   12245           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   12246           0 :     if (!SWIG_IsOK(res1)) {
   12247           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_font_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   12248             :     }
   12249           0 :     arg1 = (struct labelObj *)(argp1);
   12250           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   12251           0 :     if (!SWIG_IsOK(res2)) {
   12252           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "labelObj_font_set" "', argument " "2"" of type '" "char *""'");
   12253             :     }
   12254           0 :     arg2 = (char *)(buf2);
   12255             :     {
   12256           0 :       if (arg1->font) free((char*)arg1->font);
   12257           0 :       if (arg2) {
   12258           0 :         arg1->font = (char *) malloc(strlen(arg2)+1);
   12259             :         strcpy((char*)arg1->font,arg2);
   12260             :       } else {
   12261           0 :         arg1->font = 0;
   12262             :       }
   12263             :     }
   12264           0 :     ST(argvi) = sv_newmortal();
   12265             :     
   12266           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   12267           0 :     XSRETURN(argvi);
   12268             :   fail:
   12269             :     
   12270           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   12271           0 :     SWIG_croak_null();
   12272             :   }
   12273             : }
   12274             : 
   12275             : 
   12276           0 : XS(_wrap_labelObj_font_get) {
   12277             :   {
   12278             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   12279           0 :     void *argp1 = 0 ;
   12280             :     int res1 = 0 ;
   12281             :     int argvi = 0;
   12282             :     char *result = 0 ;
   12283           0 :     dXSARGS;
   12284             :     
   12285           0 :     if ((items < 1) || (items > 1)) {
   12286           0 :       SWIG_croak("Usage: labelObj_font_get(self);");
   12287             :     }
   12288           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   12289           0 :     if (!SWIG_IsOK(res1)) {
   12290           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_font_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   12291             :     }
   12292           0 :     arg1 = (struct labelObj *)(argp1);
   12293           0 :     result = (char *) ((arg1)->font);
   12294           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   12295             :     
   12296           0 :     XSRETURN(argvi);
   12297             :   fail:
   12298             :     
   12299           0 :     SWIG_croak_null();
   12300             :   }
   12301             : }
   12302             : 
   12303             : 
   12304           0 : XS(_wrap_labelObj_color_set) {
   12305             :   {
   12306             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   12307             :     colorObj *arg2 = (colorObj *) 0 ;
   12308           0 :     void *argp1 = 0 ;
   12309             :     int res1 = 0 ;
   12310           0 :     void *argp2 = 0 ;
   12311             :     int res2 = 0 ;
   12312             :     int argvi = 0;
   12313           0 :     dXSARGS;
   12314             :     
   12315           0 :     if ((items < 2) || (items > 2)) {
   12316           0 :       SWIG_croak("Usage: labelObj_color_set(self,color);");
   12317             :     }
   12318           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   12319           0 :     if (!SWIG_IsOK(res1)) {
   12320           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_color_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   12321             :     }
   12322           0 :     arg1 = (struct labelObj *)(argp1);
   12323           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 |  0 );
   12324           0 :     if (!SWIG_IsOK(res2)) {
   12325           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "labelObj_color_set" "', argument " "2"" of type '" "colorObj *""'"); 
   12326             :     }
   12327           0 :     arg2 = (colorObj *)(argp2);
   12328           0 :     if (arg1) (arg1)->color = *arg2;
   12329           0 :     ST(argvi) = sv_newmortal();
   12330             :     
   12331             :     
   12332           0 :     XSRETURN(argvi);
   12333             :   fail:
   12334             :     
   12335             :     
   12336           0 :     SWIG_croak_null();
   12337             :   }
   12338             : }
   12339             : 
   12340             : 
   12341           0 : XS(_wrap_labelObj_color_get) {
   12342             :   {
   12343             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   12344           0 :     void *argp1 = 0 ;
   12345             :     int res1 = 0 ;
   12346             :     int argvi = 0;
   12347             :     colorObj *result = 0 ;
   12348           0 :     dXSARGS;
   12349             :     
   12350           0 :     if ((items < 1) || (items > 1)) {
   12351           0 :       SWIG_croak("Usage: labelObj_color_get(self);");
   12352             :     }
   12353           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   12354           0 :     if (!SWIG_IsOK(res1)) {
   12355           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_color_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   12356             :     }
   12357           0 :     arg1 = (struct labelObj *)(argp1);
   12358           0 :     result = (colorObj *)& ((arg1)->color);
   12359           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
   12360             :     
   12361           0 :     XSRETURN(argvi);
   12362             :   fail:
   12363             :     
   12364           0 :     SWIG_croak_null();
   12365             :   }
   12366             : }
   12367             : 
   12368             : 
   12369           0 : XS(_wrap_labelObj_outlinecolor_set) {
   12370             :   {
   12371             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   12372             :     colorObj *arg2 = (colorObj *) 0 ;
   12373           0 :     void *argp1 = 0 ;
   12374             :     int res1 = 0 ;
   12375           0 :     void *argp2 = 0 ;
   12376             :     int res2 = 0 ;
   12377             :     int argvi = 0;
   12378           0 :     dXSARGS;
   12379             :     
   12380           0 :     if ((items < 2) || (items > 2)) {
   12381           0 :       SWIG_croak("Usage: labelObj_outlinecolor_set(self,outlinecolor);");
   12382             :     }
   12383           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   12384           0 :     if (!SWIG_IsOK(res1)) {
   12385           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_outlinecolor_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   12386             :     }
   12387           0 :     arg1 = (struct labelObj *)(argp1);
   12388           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 |  0 );
   12389           0 :     if (!SWIG_IsOK(res2)) {
   12390           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "labelObj_outlinecolor_set" "', argument " "2"" of type '" "colorObj *""'"); 
   12391             :     }
   12392           0 :     arg2 = (colorObj *)(argp2);
   12393           0 :     if (arg1) (arg1)->outlinecolor = *arg2;
   12394           0 :     ST(argvi) = sv_newmortal();
   12395             :     
   12396             :     
   12397           0 :     XSRETURN(argvi);
   12398             :   fail:
   12399             :     
   12400             :     
   12401           0 :     SWIG_croak_null();
   12402             :   }
   12403             : }
   12404             : 
   12405             : 
   12406           0 : XS(_wrap_labelObj_outlinecolor_get) {
   12407             :   {
   12408             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   12409           0 :     void *argp1 = 0 ;
   12410             :     int res1 = 0 ;
   12411             :     int argvi = 0;
   12412             :     colorObj *result = 0 ;
   12413           0 :     dXSARGS;
   12414             :     
   12415           0 :     if ((items < 1) || (items > 1)) {
   12416           0 :       SWIG_croak("Usage: labelObj_outlinecolor_get(self);");
   12417             :     }
   12418           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   12419           0 :     if (!SWIG_IsOK(res1)) {
   12420           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_outlinecolor_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   12421             :     }
   12422           0 :     arg1 = (struct labelObj *)(argp1);
   12423           0 :     result = (colorObj *)& ((arg1)->outlinecolor);
   12424           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
   12425             :     
   12426           0 :     XSRETURN(argvi);
   12427             :   fail:
   12428             :     
   12429           0 :     SWIG_croak_null();
   12430             :   }
   12431             : }
   12432             : 
   12433             : 
   12434           0 : XS(_wrap_labelObj_outlinewidth_set) {
   12435             :   {
   12436             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   12437             :     int arg2 ;
   12438           0 :     void *argp1 = 0 ;
   12439             :     int res1 = 0 ;
   12440             :     int val2 ;
   12441             :     int ecode2 = 0 ;
   12442             :     int argvi = 0;
   12443           0 :     dXSARGS;
   12444             :     
   12445           0 :     if ((items < 2) || (items > 2)) {
   12446           0 :       SWIG_croak("Usage: labelObj_outlinewidth_set(self,outlinewidth);");
   12447             :     }
   12448           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   12449           0 :     if (!SWIG_IsOK(res1)) {
   12450           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_outlinewidth_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   12451             :     }
   12452           0 :     arg1 = (struct labelObj *)(argp1);
   12453           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   12454           0 :     if (!SWIG_IsOK(ecode2)) {
   12455           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_outlinewidth_set" "', argument " "2"" of type '" "int""'");
   12456             :     } 
   12457           0 :     arg2 = (int)(val2);
   12458           0 :     if (arg1) (arg1)->outlinewidth = arg2;
   12459           0 :     ST(argvi) = sv_newmortal();
   12460             :     
   12461             :     
   12462           0 :     XSRETURN(argvi);
   12463             :   fail:
   12464             :     
   12465             :     
   12466           0 :     SWIG_croak_null();
   12467             :   }
   12468             : }
   12469             : 
   12470             : 
   12471           0 : XS(_wrap_labelObj_outlinewidth_get) {
   12472             :   {
   12473             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   12474           0 :     void *argp1 = 0 ;
   12475             :     int res1 = 0 ;
   12476             :     int argvi = 0;
   12477             :     int result;
   12478           0 :     dXSARGS;
   12479             :     
   12480           0 :     if ((items < 1) || (items > 1)) {
   12481           0 :       SWIG_croak("Usage: labelObj_outlinewidth_get(self);");
   12482             :     }
   12483           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   12484           0 :     if (!SWIG_IsOK(res1)) {
   12485           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_outlinewidth_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   12486             :     }
   12487           0 :     arg1 = (struct labelObj *)(argp1);
   12488           0 :     result = (int) ((arg1)->outlinewidth);
   12489           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   12490             :     
   12491           0 :     XSRETURN(argvi);
   12492             :   fail:
   12493             :     
   12494           0 :     SWIG_croak_null();
   12495             :   }
   12496             : }
   12497             : 
   12498             : 
   12499           0 : XS(_wrap_labelObj_shadowcolor_set) {
   12500             :   {
   12501             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   12502             :     colorObj *arg2 = (colorObj *) 0 ;
   12503           0 :     void *argp1 = 0 ;
   12504             :     int res1 = 0 ;
   12505           0 :     void *argp2 = 0 ;
   12506             :     int res2 = 0 ;
   12507             :     int argvi = 0;
   12508           0 :     dXSARGS;
   12509             :     
   12510           0 :     if ((items < 2) || (items > 2)) {
   12511           0 :       SWIG_croak("Usage: labelObj_shadowcolor_set(self,shadowcolor);");
   12512             :     }
   12513           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   12514           0 :     if (!SWIG_IsOK(res1)) {
   12515           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_shadowcolor_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   12516             :     }
   12517           0 :     arg1 = (struct labelObj *)(argp1);
   12518           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 |  0 );
   12519           0 :     if (!SWIG_IsOK(res2)) {
   12520           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "labelObj_shadowcolor_set" "', argument " "2"" of type '" "colorObj *""'"); 
   12521             :     }
   12522           0 :     arg2 = (colorObj *)(argp2);
   12523           0 :     if (arg1) (arg1)->shadowcolor = *arg2;
   12524           0 :     ST(argvi) = sv_newmortal();
   12525             :     
   12526             :     
   12527           0 :     XSRETURN(argvi);
   12528             :   fail:
   12529             :     
   12530             :     
   12531           0 :     SWIG_croak_null();
   12532             :   }
   12533             : }
   12534             : 
   12535             : 
   12536           0 : XS(_wrap_labelObj_shadowcolor_get) {
   12537             :   {
   12538             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   12539           0 :     void *argp1 = 0 ;
   12540             :     int res1 = 0 ;
   12541             :     int argvi = 0;
   12542             :     colorObj *result = 0 ;
   12543           0 :     dXSARGS;
   12544             :     
   12545           0 :     if ((items < 1) || (items > 1)) {
   12546           0 :       SWIG_croak("Usage: labelObj_shadowcolor_get(self);");
   12547             :     }
   12548           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   12549           0 :     if (!SWIG_IsOK(res1)) {
   12550           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_shadowcolor_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   12551             :     }
   12552           0 :     arg1 = (struct labelObj *)(argp1);
   12553           0 :     result = (colorObj *)& ((arg1)->shadowcolor);
   12554           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
   12555             :     
   12556           0 :     XSRETURN(argvi);
   12557             :   fail:
   12558             :     
   12559           0 :     SWIG_croak_null();
   12560             :   }
   12561             : }
   12562             : 
   12563             : 
   12564           0 : XS(_wrap_labelObj_shadowsizex_set) {
   12565             :   {
   12566             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   12567             :     int arg2 ;
   12568           0 :     void *argp1 = 0 ;
   12569             :     int res1 = 0 ;
   12570             :     int val2 ;
   12571             :     int ecode2 = 0 ;
   12572             :     int argvi = 0;
   12573           0 :     dXSARGS;
   12574             :     
   12575           0 :     if ((items < 2) || (items > 2)) {
   12576           0 :       SWIG_croak("Usage: labelObj_shadowsizex_set(self,shadowsizex);");
   12577             :     }
   12578           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   12579           0 :     if (!SWIG_IsOK(res1)) {
   12580           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_shadowsizex_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   12581             :     }
   12582           0 :     arg1 = (struct labelObj *)(argp1);
   12583           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   12584           0 :     if (!SWIG_IsOK(ecode2)) {
   12585           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_shadowsizex_set" "', argument " "2"" of type '" "int""'");
   12586             :     } 
   12587           0 :     arg2 = (int)(val2);
   12588           0 :     if (arg1) (arg1)->shadowsizex = arg2;
   12589           0 :     ST(argvi) = sv_newmortal();
   12590             :     
   12591             :     
   12592           0 :     XSRETURN(argvi);
   12593             :   fail:
   12594             :     
   12595             :     
   12596           0 :     SWIG_croak_null();
   12597             :   }
   12598             : }
   12599             : 
   12600             : 
   12601           0 : XS(_wrap_labelObj_shadowsizex_get) {
   12602             :   {
   12603             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   12604           0 :     void *argp1 = 0 ;
   12605             :     int res1 = 0 ;
   12606             :     int argvi = 0;
   12607             :     int result;
   12608           0 :     dXSARGS;
   12609             :     
   12610           0 :     if ((items < 1) || (items > 1)) {
   12611           0 :       SWIG_croak("Usage: labelObj_shadowsizex_get(self);");
   12612             :     }
   12613           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   12614           0 :     if (!SWIG_IsOK(res1)) {
   12615           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_shadowsizex_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   12616             :     }
   12617           0 :     arg1 = (struct labelObj *)(argp1);
   12618           0 :     result = (int) ((arg1)->shadowsizex);
   12619           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   12620             :     
   12621           0 :     XSRETURN(argvi);
   12622             :   fail:
   12623             :     
   12624           0 :     SWIG_croak_null();
   12625             :   }
   12626             : }
   12627             : 
   12628             : 
   12629           0 : XS(_wrap_labelObj_shadowsizey_set) {
   12630             :   {
   12631             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   12632             :     int arg2 ;
   12633           0 :     void *argp1 = 0 ;
   12634             :     int res1 = 0 ;
   12635             :     int val2 ;
   12636             :     int ecode2 = 0 ;
   12637             :     int argvi = 0;
   12638           0 :     dXSARGS;
   12639             :     
   12640           0 :     if ((items < 2) || (items > 2)) {
   12641           0 :       SWIG_croak("Usage: labelObj_shadowsizey_set(self,shadowsizey);");
   12642             :     }
   12643           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   12644           0 :     if (!SWIG_IsOK(res1)) {
   12645           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_shadowsizey_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   12646             :     }
   12647           0 :     arg1 = (struct labelObj *)(argp1);
   12648           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   12649           0 :     if (!SWIG_IsOK(ecode2)) {
   12650           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_shadowsizey_set" "', argument " "2"" of type '" "int""'");
   12651             :     } 
   12652           0 :     arg2 = (int)(val2);
   12653           0 :     if (arg1) (arg1)->shadowsizey = arg2;
   12654           0 :     ST(argvi) = sv_newmortal();
   12655             :     
   12656             :     
   12657           0 :     XSRETURN(argvi);
   12658             :   fail:
   12659             :     
   12660             :     
   12661           0 :     SWIG_croak_null();
   12662             :   }
   12663             : }
   12664             : 
   12665             : 
   12666           0 : XS(_wrap_labelObj_shadowsizey_get) {
   12667             :   {
   12668             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   12669           0 :     void *argp1 = 0 ;
   12670             :     int res1 = 0 ;
   12671             :     int argvi = 0;
   12672             :     int result;
   12673           0 :     dXSARGS;
   12674             :     
   12675           0 :     if ((items < 1) || (items > 1)) {
   12676           0 :       SWIG_croak("Usage: labelObj_shadowsizey_get(self);");
   12677             :     }
   12678           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   12679           0 :     if (!SWIG_IsOK(res1)) {
   12680           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_shadowsizey_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   12681             :     }
   12682           0 :     arg1 = (struct labelObj *)(argp1);
   12683           0 :     result = (int) ((arg1)->shadowsizey);
   12684           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   12685             :     
   12686           0 :     XSRETURN(argvi);
   12687             :   fail:
   12688             :     
   12689           0 :     SWIG_croak_null();
   12690             :   }
   12691             : }
   12692             : 
   12693             : 
   12694           0 : XS(_wrap_labelObj_size_set) {
   12695             :   {
   12696             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   12697             :     int arg2 ;
   12698           0 :     void *argp1 = 0 ;
   12699             :     int res1 = 0 ;
   12700             :     int val2 ;
   12701             :     int ecode2 = 0 ;
   12702             :     int argvi = 0;
   12703           0 :     dXSARGS;
   12704             :     
   12705           0 :     if ((items < 2) || (items > 2)) {
   12706           0 :       SWIG_croak("Usage: labelObj_size_set(self,size);");
   12707             :     }
   12708           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   12709           0 :     if (!SWIG_IsOK(res1)) {
   12710           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_size_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   12711             :     }
   12712           0 :     arg1 = (struct labelObj *)(argp1);
   12713           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   12714           0 :     if (!SWIG_IsOK(ecode2)) {
   12715           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_size_set" "', argument " "2"" of type '" "int""'");
   12716             :     } 
   12717           0 :     arg2 = (int)(val2);
   12718           0 :     if (arg1) (arg1)->size = arg2;
   12719           0 :     ST(argvi) = sv_newmortal();
   12720             :     
   12721             :     
   12722           0 :     XSRETURN(argvi);
   12723             :   fail:
   12724             :     
   12725             :     
   12726           0 :     SWIG_croak_null();
   12727             :   }
   12728             : }
   12729             : 
   12730             : 
   12731           0 : XS(_wrap_labelObj_size_get) {
   12732             :   {
   12733             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   12734           0 :     void *argp1 = 0 ;
   12735             :     int res1 = 0 ;
   12736             :     int argvi = 0;
   12737             :     int result;
   12738           0 :     dXSARGS;
   12739             :     
   12740           0 :     if ((items < 1) || (items > 1)) {
   12741           0 :       SWIG_croak("Usage: labelObj_size_get(self);");
   12742             :     }
   12743           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   12744           0 :     if (!SWIG_IsOK(res1)) {
   12745           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_size_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   12746             :     }
   12747           0 :     arg1 = (struct labelObj *)(argp1);
   12748           0 :     result = (int) ((arg1)->size);
   12749           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   12750             :     
   12751           0 :     XSRETURN(argvi);
   12752             :   fail:
   12753             :     
   12754           0 :     SWIG_croak_null();
   12755             :   }
   12756             : }
   12757             : 
   12758             : 
   12759           0 : XS(_wrap_labelObj_minsize_set) {
   12760             :   {
   12761             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   12762             :     int arg2 ;
   12763           0 :     void *argp1 = 0 ;
   12764             :     int res1 = 0 ;
   12765             :     int val2 ;
   12766             :     int ecode2 = 0 ;
   12767             :     int argvi = 0;
   12768           0 :     dXSARGS;
   12769             :     
   12770           0 :     if ((items < 2) || (items > 2)) {
   12771           0 :       SWIG_croak("Usage: labelObj_minsize_set(self,minsize);");
   12772             :     }
   12773           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   12774           0 :     if (!SWIG_IsOK(res1)) {
   12775           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_minsize_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   12776             :     }
   12777           0 :     arg1 = (struct labelObj *)(argp1);
   12778           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   12779           0 :     if (!SWIG_IsOK(ecode2)) {
   12780           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_minsize_set" "', argument " "2"" of type '" "int""'");
   12781             :     } 
   12782           0 :     arg2 = (int)(val2);
   12783           0 :     if (arg1) (arg1)->minsize = arg2;
   12784           0 :     ST(argvi) = sv_newmortal();
   12785             :     
   12786             :     
   12787           0 :     XSRETURN(argvi);
   12788             :   fail:
   12789             :     
   12790             :     
   12791           0 :     SWIG_croak_null();
   12792             :   }
   12793             : }
   12794             : 
   12795             : 
   12796           0 : XS(_wrap_labelObj_minsize_get) {
   12797             :   {
   12798             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   12799           0 :     void *argp1 = 0 ;
   12800             :     int res1 = 0 ;
   12801             :     int argvi = 0;
   12802             :     int result;
   12803           0 :     dXSARGS;
   12804             :     
   12805           0 :     if ((items < 1) || (items > 1)) {
   12806           0 :       SWIG_croak("Usage: labelObj_minsize_get(self);");
   12807             :     }
   12808           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   12809           0 :     if (!SWIG_IsOK(res1)) {
   12810           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_minsize_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   12811             :     }
   12812           0 :     arg1 = (struct labelObj *)(argp1);
   12813           0 :     result = (int) ((arg1)->minsize);
   12814           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   12815             :     
   12816           0 :     XSRETURN(argvi);
   12817             :   fail:
   12818             :     
   12819           0 :     SWIG_croak_null();
   12820             :   }
   12821             : }
   12822             : 
   12823             : 
   12824           0 : XS(_wrap_labelObj_maxsize_set) {
   12825             :   {
   12826             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   12827             :     int arg2 ;
   12828           0 :     void *argp1 = 0 ;
   12829             :     int res1 = 0 ;
   12830             :     int val2 ;
   12831             :     int ecode2 = 0 ;
   12832             :     int argvi = 0;
   12833           0 :     dXSARGS;
   12834             :     
   12835           0 :     if ((items < 2) || (items > 2)) {
   12836           0 :       SWIG_croak("Usage: labelObj_maxsize_set(self,maxsize);");
   12837             :     }
   12838           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   12839           0 :     if (!SWIG_IsOK(res1)) {
   12840           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_maxsize_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   12841             :     }
   12842           0 :     arg1 = (struct labelObj *)(argp1);
   12843           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   12844           0 :     if (!SWIG_IsOK(ecode2)) {
   12845           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_maxsize_set" "', argument " "2"" of type '" "int""'");
   12846             :     } 
   12847           0 :     arg2 = (int)(val2);
   12848           0 :     if (arg1) (arg1)->maxsize = arg2;
   12849           0 :     ST(argvi) = sv_newmortal();
   12850             :     
   12851             :     
   12852           0 :     XSRETURN(argvi);
   12853             :   fail:
   12854             :     
   12855             :     
   12856           0 :     SWIG_croak_null();
   12857             :   }
   12858             : }
   12859             : 
   12860             : 
   12861           0 : XS(_wrap_labelObj_maxsize_get) {
   12862             :   {
   12863             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   12864           0 :     void *argp1 = 0 ;
   12865             :     int res1 = 0 ;
   12866             :     int argvi = 0;
   12867             :     int result;
   12868           0 :     dXSARGS;
   12869             :     
   12870           0 :     if ((items < 1) || (items > 1)) {
   12871           0 :       SWIG_croak("Usage: labelObj_maxsize_get(self);");
   12872             :     }
   12873           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   12874           0 :     if (!SWIG_IsOK(res1)) {
   12875           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_maxsize_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   12876             :     }
   12877           0 :     arg1 = (struct labelObj *)(argp1);
   12878           0 :     result = (int) ((arg1)->maxsize);
   12879           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   12880             :     
   12881           0 :     XSRETURN(argvi);
   12882             :   fail:
   12883             :     
   12884           0 :     SWIG_croak_null();
   12885             :   }
   12886             : }
   12887             : 
   12888             : 
   12889           0 : XS(_wrap_labelObj_position_set) {
   12890             :   {
   12891             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   12892             :     int arg2 ;
   12893           0 :     void *argp1 = 0 ;
   12894             :     int res1 = 0 ;
   12895             :     int val2 ;
   12896             :     int ecode2 = 0 ;
   12897             :     int argvi = 0;
   12898           0 :     dXSARGS;
   12899             :     
   12900           0 :     if ((items < 2) || (items > 2)) {
   12901           0 :       SWIG_croak("Usage: labelObj_position_set(self,position);");
   12902             :     }
   12903           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   12904           0 :     if (!SWIG_IsOK(res1)) {
   12905           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_position_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   12906             :     }
   12907           0 :     arg1 = (struct labelObj *)(argp1);
   12908           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   12909           0 :     if (!SWIG_IsOK(ecode2)) {
   12910           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_position_set" "', argument " "2"" of type '" "int""'");
   12911             :     } 
   12912           0 :     arg2 = (int)(val2);
   12913           0 :     if (arg1) (arg1)->position = arg2;
   12914           0 :     ST(argvi) = sv_newmortal();
   12915             :     
   12916             :     
   12917           0 :     XSRETURN(argvi);
   12918             :   fail:
   12919             :     
   12920             :     
   12921           0 :     SWIG_croak_null();
   12922             :   }
   12923             : }
   12924             : 
   12925             : 
   12926           0 : XS(_wrap_labelObj_position_get) {
   12927             :   {
   12928             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   12929           0 :     void *argp1 = 0 ;
   12930             :     int res1 = 0 ;
   12931             :     int argvi = 0;
   12932             :     int result;
   12933           0 :     dXSARGS;
   12934             :     
   12935           0 :     if ((items < 1) || (items > 1)) {
   12936           0 :       SWIG_croak("Usage: labelObj_position_get(self);");
   12937             :     }
   12938           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   12939           0 :     if (!SWIG_IsOK(res1)) {
   12940           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_position_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   12941             :     }
   12942           0 :     arg1 = (struct labelObj *)(argp1);
   12943           0 :     result = (int) ((arg1)->position);
   12944           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   12945             :     
   12946           0 :     XSRETURN(argvi);
   12947             :   fail:
   12948             :     
   12949           0 :     SWIG_croak_null();
   12950             :   }
   12951             : }
   12952             : 
   12953             : 
   12954           0 : XS(_wrap_labelObj_offsetx_set) {
   12955             :   {
   12956             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   12957             :     int arg2 ;
   12958           0 :     void *argp1 = 0 ;
   12959             :     int res1 = 0 ;
   12960             :     int val2 ;
   12961             :     int ecode2 = 0 ;
   12962             :     int argvi = 0;
   12963           0 :     dXSARGS;
   12964             :     
   12965           0 :     if ((items < 2) || (items > 2)) {
   12966           0 :       SWIG_croak("Usage: labelObj_offsetx_set(self,offsetx);");
   12967             :     }
   12968           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   12969           0 :     if (!SWIG_IsOK(res1)) {
   12970           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_offsetx_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   12971             :     }
   12972           0 :     arg1 = (struct labelObj *)(argp1);
   12973           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   12974           0 :     if (!SWIG_IsOK(ecode2)) {
   12975           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_offsetx_set" "', argument " "2"" of type '" "int""'");
   12976             :     } 
   12977           0 :     arg2 = (int)(val2);
   12978           0 :     if (arg1) (arg1)->offsetx = arg2;
   12979           0 :     ST(argvi) = sv_newmortal();
   12980             :     
   12981             :     
   12982           0 :     XSRETURN(argvi);
   12983             :   fail:
   12984             :     
   12985             :     
   12986           0 :     SWIG_croak_null();
   12987             :   }
   12988             : }
   12989             : 
   12990             : 
   12991           0 : XS(_wrap_labelObj_offsetx_get) {
   12992             :   {
   12993             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   12994           0 :     void *argp1 = 0 ;
   12995             :     int res1 = 0 ;
   12996             :     int argvi = 0;
   12997             :     int result;
   12998           0 :     dXSARGS;
   12999             :     
   13000           0 :     if ((items < 1) || (items > 1)) {
   13001           0 :       SWIG_croak("Usage: labelObj_offsetx_get(self);");
   13002             :     }
   13003           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   13004           0 :     if (!SWIG_IsOK(res1)) {
   13005           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_offsetx_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   13006             :     }
   13007           0 :     arg1 = (struct labelObj *)(argp1);
   13008           0 :     result = (int) ((arg1)->offsetx);
   13009           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   13010             :     
   13011           0 :     XSRETURN(argvi);
   13012             :   fail:
   13013             :     
   13014           0 :     SWIG_croak_null();
   13015             :   }
   13016             : }
   13017             : 
   13018             : 
   13019           0 : XS(_wrap_labelObj_offsety_set) {
   13020             :   {
   13021             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   13022             :     int arg2 ;
   13023           0 :     void *argp1 = 0 ;
   13024             :     int res1 = 0 ;
   13025             :     int val2 ;
   13026             :     int ecode2 = 0 ;
   13027             :     int argvi = 0;
   13028           0 :     dXSARGS;
   13029             :     
   13030           0 :     if ((items < 2) || (items > 2)) {
   13031           0 :       SWIG_croak("Usage: labelObj_offsety_set(self,offsety);");
   13032             :     }
   13033           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   13034           0 :     if (!SWIG_IsOK(res1)) {
   13035           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_offsety_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   13036             :     }
   13037           0 :     arg1 = (struct labelObj *)(argp1);
   13038           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   13039           0 :     if (!SWIG_IsOK(ecode2)) {
   13040           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_offsety_set" "', argument " "2"" of type '" "int""'");
   13041             :     } 
   13042           0 :     arg2 = (int)(val2);
   13043           0 :     if (arg1) (arg1)->offsety = arg2;
   13044           0 :     ST(argvi) = sv_newmortal();
   13045             :     
   13046             :     
   13047           0 :     XSRETURN(argvi);
   13048             :   fail:
   13049             :     
   13050             :     
   13051           0 :     SWIG_croak_null();
   13052             :   }
   13053             : }
   13054             : 
   13055             : 
   13056           0 : XS(_wrap_labelObj_offsety_get) {
   13057             :   {
   13058             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   13059           0 :     void *argp1 = 0 ;
   13060             :     int res1 = 0 ;
   13061             :     int argvi = 0;
   13062             :     int result;
   13063           0 :     dXSARGS;
   13064             :     
   13065           0 :     if ((items < 1) || (items > 1)) {
   13066           0 :       SWIG_croak("Usage: labelObj_offsety_get(self);");
   13067             :     }
   13068           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   13069           0 :     if (!SWIG_IsOK(res1)) {
   13070           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_offsety_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   13071             :     }
   13072           0 :     arg1 = (struct labelObj *)(argp1);
   13073           0 :     result = (int) ((arg1)->offsety);
   13074           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   13075             :     
   13076           0 :     XSRETURN(argvi);
   13077             :   fail:
   13078             :     
   13079           0 :     SWIG_croak_null();
   13080             :   }
   13081             : }
   13082             : 
   13083             : 
   13084           0 : XS(_wrap_labelObj_angle_set) {
   13085             :   {
   13086             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   13087             :     double arg2 ;
   13088           0 :     void *argp1 = 0 ;
   13089             :     int res1 = 0 ;
   13090             :     double val2 ;
   13091             :     int ecode2 = 0 ;
   13092             :     int argvi = 0;
   13093           0 :     dXSARGS;
   13094             :     
   13095           0 :     if ((items < 2) || (items > 2)) {
   13096           0 :       SWIG_croak("Usage: labelObj_angle_set(self,angle);");
   13097             :     }
   13098           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   13099           0 :     if (!SWIG_IsOK(res1)) {
   13100           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_angle_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   13101             :     }
   13102           0 :     arg1 = (struct labelObj *)(argp1);
   13103           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   13104           0 :     if (!SWIG_IsOK(ecode2)) {
   13105           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_angle_set" "', argument " "2"" of type '" "double""'");
   13106             :     } 
   13107           0 :     arg2 = (double)(val2);
   13108           0 :     if (arg1) (arg1)->angle = arg2;
   13109           0 :     ST(argvi) = sv_newmortal();
   13110             :     
   13111             :     
   13112           0 :     XSRETURN(argvi);
   13113             :   fail:
   13114             :     
   13115             :     
   13116           0 :     SWIG_croak_null();
   13117             :   }
   13118             : }
   13119             : 
   13120             : 
   13121           0 : XS(_wrap_labelObj_angle_get) {
   13122             :   {
   13123             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   13124           0 :     void *argp1 = 0 ;
   13125             :     int res1 = 0 ;
   13126             :     int argvi = 0;
   13127             :     double result;
   13128           0 :     dXSARGS;
   13129             :     
   13130           0 :     if ((items < 1) || (items > 1)) {
   13131           0 :       SWIG_croak("Usage: labelObj_angle_get(self);");
   13132             :     }
   13133           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   13134           0 :     if (!SWIG_IsOK(res1)) {
   13135           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_angle_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   13136             :     }
   13137           0 :     arg1 = (struct labelObj *)(argp1);
   13138           0 :     result = (double) ((arg1)->angle);
   13139           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   13140             :     
   13141           0 :     XSRETURN(argvi);
   13142             :   fail:
   13143             :     
   13144           0 :     SWIG_croak_null();
   13145             :   }
   13146             : }
   13147             : 
   13148             : 
   13149           0 : XS(_wrap_labelObj_anglemode_set) {
   13150             :   {
   13151             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   13152             :     enum MS_POSITIONS_ENUM arg2 ;
   13153           0 :     void *argp1 = 0 ;
   13154             :     int res1 = 0 ;
   13155             :     int val2 ;
   13156             :     int ecode2 = 0 ;
   13157             :     int argvi = 0;
   13158           0 :     dXSARGS;
   13159             :     
   13160           0 :     if ((items < 2) || (items > 2)) {
   13161           0 :       SWIG_croak("Usage: labelObj_anglemode_set(self,anglemode);");
   13162             :     }
   13163           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   13164           0 :     if (!SWIG_IsOK(res1)) {
   13165           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_anglemode_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   13166             :     }
   13167           0 :     arg1 = (struct labelObj *)(argp1);
   13168           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   13169           0 :     if (!SWIG_IsOK(ecode2)) {
   13170           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_anglemode_set" "', argument " "2"" of type '" "enum MS_POSITIONS_ENUM""'");
   13171             :     } 
   13172           0 :     arg2 = (enum MS_POSITIONS_ENUM)(val2);
   13173           0 :     if (arg1) (arg1)->anglemode = arg2;
   13174           0 :     ST(argvi) = sv_newmortal();
   13175             :     
   13176             :     
   13177           0 :     XSRETURN(argvi);
   13178             :   fail:
   13179             :     
   13180             :     
   13181           0 :     SWIG_croak_null();
   13182             :   }
   13183             : }
   13184             : 
   13185             : 
   13186           0 : XS(_wrap_labelObj_anglemode_get) {
   13187             :   {
   13188             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   13189           0 :     void *argp1 = 0 ;
   13190             :     int res1 = 0 ;
   13191             :     int argvi = 0;
   13192             :     enum MS_POSITIONS_ENUM result;
   13193           0 :     dXSARGS;
   13194             :     
   13195           0 :     if ((items < 1) || (items > 1)) {
   13196           0 :       SWIG_croak("Usage: labelObj_anglemode_get(self);");
   13197             :     }
   13198           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   13199           0 :     if (!SWIG_IsOK(res1)) {
   13200           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_anglemode_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   13201             :     }
   13202           0 :     arg1 = (struct labelObj *)(argp1);
   13203           0 :     result = (enum MS_POSITIONS_ENUM) ((arg1)->anglemode);
   13204           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   13205             :     
   13206           0 :     XSRETURN(argvi);
   13207             :   fail:
   13208             :     
   13209           0 :     SWIG_croak_null();
   13210             :   }
   13211             : }
   13212             : 
   13213             : 
   13214           0 : XS(_wrap_labelObj_buffer_set) {
   13215             :   {
   13216             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   13217             :     int arg2 ;
   13218           0 :     void *argp1 = 0 ;
   13219             :     int res1 = 0 ;
   13220             :     int val2 ;
   13221             :     int ecode2 = 0 ;
   13222             :     int argvi = 0;
   13223           0 :     dXSARGS;
   13224             :     
   13225           0 :     if ((items < 2) || (items > 2)) {
   13226           0 :       SWIG_croak("Usage: labelObj_buffer_set(self,buffer);");
   13227             :     }
   13228           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   13229           0 :     if (!SWIG_IsOK(res1)) {
   13230           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_buffer_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   13231             :     }
   13232           0 :     arg1 = (struct labelObj *)(argp1);
   13233           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   13234           0 :     if (!SWIG_IsOK(ecode2)) {
   13235           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_buffer_set" "', argument " "2"" of type '" "int""'");
   13236             :     } 
   13237           0 :     arg2 = (int)(val2);
   13238           0 :     if (arg1) (arg1)->buffer = arg2;
   13239           0 :     ST(argvi) = sv_newmortal();
   13240             :     
   13241             :     
   13242           0 :     XSRETURN(argvi);
   13243             :   fail:
   13244             :     
   13245             :     
   13246           0 :     SWIG_croak_null();
   13247             :   }
   13248             : }
   13249             : 
   13250             : 
   13251           0 : XS(_wrap_labelObj_buffer_get) {
   13252             :   {
   13253             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   13254           0 :     void *argp1 = 0 ;
   13255             :     int res1 = 0 ;
   13256             :     int argvi = 0;
   13257             :     int result;
   13258           0 :     dXSARGS;
   13259             :     
   13260           0 :     if ((items < 1) || (items > 1)) {
   13261           0 :       SWIG_croak("Usage: labelObj_buffer_get(self);");
   13262             :     }
   13263           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   13264           0 :     if (!SWIG_IsOK(res1)) {
   13265           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_buffer_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   13266             :     }
   13267           0 :     arg1 = (struct labelObj *)(argp1);
   13268           0 :     result = (int) ((arg1)->buffer);
   13269           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   13270             :     
   13271           0 :     XSRETURN(argvi);
   13272             :   fail:
   13273             :     
   13274           0 :     SWIG_croak_null();
   13275             :   }
   13276             : }
   13277             : 
   13278             : 
   13279           0 : XS(_wrap_labelObj_align_set) {
   13280             :   {
   13281             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   13282             :     int arg2 ;
   13283           0 :     void *argp1 = 0 ;
   13284             :     int res1 = 0 ;
   13285             :     int val2 ;
   13286             :     int ecode2 = 0 ;
   13287             :     int argvi = 0;
   13288           0 :     dXSARGS;
   13289             :     
   13290           0 :     if ((items < 2) || (items > 2)) {
   13291           0 :       SWIG_croak("Usage: labelObj_align_set(self,align);");
   13292             :     }
   13293           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   13294           0 :     if (!SWIG_IsOK(res1)) {
   13295           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_align_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   13296             :     }
   13297           0 :     arg1 = (struct labelObj *)(argp1);
   13298           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   13299           0 :     if (!SWIG_IsOK(ecode2)) {
   13300           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_align_set" "', argument " "2"" of type '" "int""'");
   13301             :     } 
   13302           0 :     arg2 = (int)(val2);
   13303           0 :     if (arg1) (arg1)->align = arg2;
   13304           0 :     ST(argvi) = sv_newmortal();
   13305             :     
   13306             :     
   13307           0 :     XSRETURN(argvi);
   13308             :   fail:
   13309             :     
   13310             :     
   13311           0 :     SWIG_croak_null();
   13312             :   }
   13313             : }
   13314             : 
   13315             : 
   13316           0 : XS(_wrap_labelObj_align_get) {
   13317             :   {
   13318             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   13319           0 :     void *argp1 = 0 ;
   13320             :     int res1 = 0 ;
   13321             :     int argvi = 0;
   13322             :     int result;
   13323           0 :     dXSARGS;
   13324             :     
   13325           0 :     if ((items < 1) || (items > 1)) {
   13326           0 :       SWIG_croak("Usage: labelObj_align_get(self);");
   13327             :     }
   13328           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   13329           0 :     if (!SWIG_IsOK(res1)) {
   13330           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_align_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   13331             :     }
   13332           0 :     arg1 = (struct labelObj *)(argp1);
   13333           0 :     result = (int) ((arg1)->align);
   13334           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   13335             :     
   13336           0 :     XSRETURN(argvi);
   13337             :   fail:
   13338             :     
   13339           0 :     SWIG_croak_null();
   13340             :   }
   13341             : }
   13342             : 
   13343             : 
   13344           0 : XS(_wrap_labelObj_wrap_set) {
   13345             :   {
   13346             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   13347             :     char arg2 ;
   13348           0 :     void *argp1 = 0 ;
   13349             :     int res1 = 0 ;
   13350             :     char val2 ;
   13351             :     int ecode2 = 0 ;
   13352             :     int argvi = 0;
   13353           0 :     dXSARGS;
   13354             :     
   13355           0 :     if ((items < 2) || (items > 2)) {
   13356           0 :       SWIG_croak("Usage: labelObj_wrap_set(self,wrap);");
   13357             :     }
   13358           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   13359           0 :     if (!SWIG_IsOK(res1)) {
   13360           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_wrap_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   13361             :     }
   13362           0 :     arg1 = (struct labelObj *)(argp1);
   13363           0 :     ecode2 = SWIG_AsVal_char SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   13364           0 :     if (!SWIG_IsOK(ecode2)) {
   13365           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_wrap_set" "', argument " "2"" of type '" "char""'");
   13366             :     } 
   13367           0 :     arg2 = (char)(val2);
   13368           0 :     if (arg1) (arg1)->wrap = arg2;
   13369           0 :     ST(argvi) = sv_newmortal();
   13370             :     
   13371             :     
   13372           0 :     XSRETURN(argvi);
   13373             :   fail:
   13374             :     
   13375             :     
   13376           0 :     SWIG_croak_null();
   13377             :   }
   13378             : }
   13379             : 
   13380             : 
   13381           0 : XS(_wrap_labelObj_wrap_get) {
   13382             :   {
   13383             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   13384           0 :     void *argp1 = 0 ;
   13385             :     int res1 = 0 ;
   13386             :     int argvi = 0;
   13387             :     char result;
   13388           0 :     dXSARGS;
   13389             :     
   13390           0 :     if ((items < 1) || (items > 1)) {
   13391           0 :       SWIG_croak("Usage: labelObj_wrap_get(self);");
   13392             :     }
   13393           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   13394           0 :     if (!SWIG_IsOK(res1)) {
   13395           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_wrap_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   13396             :     }
   13397           0 :     arg1 = (struct labelObj *)(argp1);
   13398           0 :     result = (char) ((arg1)->wrap);
   13399           0 :     ST(argvi) = SWIG_From_char  SWIG_PERL_CALL_ARGS_1((char)(result)); argvi++ ;
   13400             :     
   13401           0 :     XSRETURN(argvi);
   13402             :   fail:
   13403             :     
   13404           0 :     SWIG_croak_null();
   13405             :   }
   13406             : }
   13407             : 
   13408             : 
   13409           0 : XS(_wrap_labelObj_maxlength_set) {
   13410             :   {
   13411             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   13412             :     int arg2 ;
   13413           0 :     void *argp1 = 0 ;
   13414             :     int res1 = 0 ;
   13415             :     int val2 ;
   13416             :     int ecode2 = 0 ;
   13417             :     int argvi = 0;
   13418           0 :     dXSARGS;
   13419             :     
   13420           0 :     if ((items < 2) || (items > 2)) {
   13421           0 :       SWIG_croak("Usage: labelObj_maxlength_set(self,maxlength);");
   13422             :     }
   13423           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   13424           0 :     if (!SWIG_IsOK(res1)) {
   13425           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_maxlength_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   13426             :     }
   13427           0 :     arg1 = (struct labelObj *)(argp1);
   13428           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   13429           0 :     if (!SWIG_IsOK(ecode2)) {
   13430           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_maxlength_set" "', argument " "2"" of type '" "int""'");
   13431             :     } 
   13432           0 :     arg2 = (int)(val2);
   13433           0 :     if (arg1) (arg1)->maxlength = arg2;
   13434           0 :     ST(argvi) = sv_newmortal();
   13435             :     
   13436             :     
   13437           0 :     XSRETURN(argvi);
   13438             :   fail:
   13439             :     
   13440             :     
   13441           0 :     SWIG_croak_null();
   13442             :   }
   13443             : }
   13444             : 
   13445             : 
   13446           0 : XS(_wrap_labelObj_maxlength_get) {
   13447             :   {
   13448             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   13449           0 :     void *argp1 = 0 ;
   13450             :     int res1 = 0 ;
   13451             :     int argvi = 0;
   13452             :     int result;
   13453           0 :     dXSARGS;
   13454             :     
   13455           0 :     if ((items < 1) || (items > 1)) {
   13456           0 :       SWIG_croak("Usage: labelObj_maxlength_get(self);");
   13457             :     }
   13458           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   13459           0 :     if (!SWIG_IsOK(res1)) {
   13460           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_maxlength_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   13461             :     }
   13462           0 :     arg1 = (struct labelObj *)(argp1);
   13463           0 :     result = (int) ((arg1)->maxlength);
   13464           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   13465             :     
   13466           0 :     XSRETURN(argvi);
   13467             :   fail:
   13468             :     
   13469           0 :     SWIG_croak_null();
   13470             :   }
   13471             : }
   13472             : 
   13473             : 
   13474           0 : XS(_wrap_labelObj_minlength_set) {
   13475             :   {
   13476             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   13477             :     int arg2 ;
   13478           0 :     void *argp1 = 0 ;
   13479             :     int res1 = 0 ;
   13480             :     int val2 ;
   13481             :     int ecode2 = 0 ;
   13482             :     int argvi = 0;
   13483           0 :     dXSARGS;
   13484             :     
   13485           0 :     if ((items < 2) || (items > 2)) {
   13486           0 :       SWIG_croak("Usage: labelObj_minlength_set(self,minlength);");
   13487             :     }
   13488           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   13489           0 :     if (!SWIG_IsOK(res1)) {
   13490           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_minlength_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   13491             :     }
   13492           0 :     arg1 = (struct labelObj *)(argp1);
   13493           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   13494           0 :     if (!SWIG_IsOK(ecode2)) {
   13495           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_minlength_set" "', argument " "2"" of type '" "int""'");
   13496             :     } 
   13497           0 :     arg2 = (int)(val2);
   13498           0 :     if (arg1) (arg1)->minlength = arg2;
   13499           0 :     ST(argvi) = sv_newmortal();
   13500             :     
   13501             :     
   13502           0 :     XSRETURN(argvi);
   13503             :   fail:
   13504             :     
   13505             :     
   13506           0 :     SWIG_croak_null();
   13507             :   }
   13508             : }
   13509             : 
   13510             : 
   13511           0 : XS(_wrap_labelObj_minlength_get) {
   13512             :   {
   13513             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   13514           0 :     void *argp1 = 0 ;
   13515             :     int res1 = 0 ;
   13516             :     int argvi = 0;
   13517             :     int result;
   13518           0 :     dXSARGS;
   13519             :     
   13520           0 :     if ((items < 1) || (items > 1)) {
   13521           0 :       SWIG_croak("Usage: labelObj_minlength_get(self);");
   13522             :     }
   13523           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   13524           0 :     if (!SWIG_IsOK(res1)) {
   13525           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_minlength_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   13526             :     }
   13527           0 :     arg1 = (struct labelObj *)(argp1);
   13528           0 :     result = (int) ((arg1)->minlength);
   13529           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   13530             :     
   13531           0 :     XSRETURN(argvi);
   13532             :   fail:
   13533             :     
   13534           0 :     SWIG_croak_null();
   13535             :   }
   13536             : }
   13537             : 
   13538             : 
   13539           0 : XS(_wrap_labelObj_space_size_10_set) {
   13540             :   {
   13541             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   13542             :     double arg2 ;
   13543           0 :     void *argp1 = 0 ;
   13544             :     int res1 = 0 ;
   13545             :     double val2 ;
   13546             :     int ecode2 = 0 ;
   13547             :     int argvi = 0;
   13548           0 :     dXSARGS;
   13549             :     
   13550           0 :     if ((items < 2) || (items > 2)) {
   13551           0 :       SWIG_croak("Usage: labelObj_space_size_10_set(self,space_size_10);");
   13552             :     }
   13553           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   13554           0 :     if (!SWIG_IsOK(res1)) {
   13555           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_space_size_10_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   13556             :     }
   13557           0 :     arg1 = (struct labelObj *)(argp1);
   13558           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   13559           0 :     if (!SWIG_IsOK(ecode2)) {
   13560           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_space_size_10_set" "', argument " "2"" of type '" "double""'");
   13561             :     } 
   13562           0 :     arg2 = (double)(val2);
   13563           0 :     if (arg1) (arg1)->space_size_10 = arg2;
   13564           0 :     ST(argvi) = sv_newmortal();
   13565             :     
   13566             :     
   13567           0 :     XSRETURN(argvi);
   13568             :   fail:
   13569             :     
   13570             :     
   13571           0 :     SWIG_croak_null();
   13572             :   }
   13573             : }
   13574             : 
   13575             : 
   13576           0 : XS(_wrap_labelObj_space_size_10_get) {
   13577             :   {
   13578             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   13579           0 :     void *argp1 = 0 ;
   13580             :     int res1 = 0 ;
   13581             :     int argvi = 0;
   13582             :     double result;
   13583           0 :     dXSARGS;
   13584             :     
   13585           0 :     if ((items < 1) || (items > 1)) {
   13586           0 :       SWIG_croak("Usage: labelObj_space_size_10_get(self);");
   13587             :     }
   13588           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   13589           0 :     if (!SWIG_IsOK(res1)) {
   13590           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_space_size_10_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   13591             :     }
   13592           0 :     arg1 = (struct labelObj *)(argp1);
   13593           0 :     result = (double) ((arg1)->space_size_10);
   13594           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   13595             :     
   13596           0 :     XSRETURN(argvi);
   13597             :   fail:
   13598             :     
   13599           0 :     SWIG_croak_null();
   13600             :   }
   13601             : }
   13602             : 
   13603             : 
   13604           0 : XS(_wrap_labelObj_minfeaturesize_set) {
   13605             :   {
   13606             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   13607             :     int arg2 ;
   13608           0 :     void *argp1 = 0 ;
   13609             :     int res1 = 0 ;
   13610             :     int val2 ;
   13611             :     int ecode2 = 0 ;
   13612             :     int argvi = 0;
   13613           0 :     dXSARGS;
   13614             :     
   13615           0 :     if ((items < 2) || (items > 2)) {
   13616           0 :       SWIG_croak("Usage: labelObj_minfeaturesize_set(self,minfeaturesize);");
   13617             :     }
   13618           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   13619           0 :     if (!SWIG_IsOK(res1)) {
   13620           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_minfeaturesize_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   13621             :     }
   13622           0 :     arg1 = (struct labelObj *)(argp1);
   13623           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   13624           0 :     if (!SWIG_IsOK(ecode2)) {
   13625           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_minfeaturesize_set" "', argument " "2"" of type '" "int""'");
   13626             :     } 
   13627           0 :     arg2 = (int)(val2);
   13628           0 :     if (arg1) (arg1)->minfeaturesize = arg2;
   13629           0 :     ST(argvi) = sv_newmortal();
   13630             :     
   13631             :     
   13632           0 :     XSRETURN(argvi);
   13633             :   fail:
   13634             :     
   13635             :     
   13636           0 :     SWIG_croak_null();
   13637             :   }
   13638             : }
   13639             : 
   13640             : 
   13641           0 : XS(_wrap_labelObj_minfeaturesize_get) {
   13642             :   {
   13643             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   13644           0 :     void *argp1 = 0 ;
   13645             :     int res1 = 0 ;
   13646             :     int argvi = 0;
   13647             :     int result;
   13648           0 :     dXSARGS;
   13649             :     
   13650           0 :     if ((items < 1) || (items > 1)) {
   13651           0 :       SWIG_croak("Usage: labelObj_minfeaturesize_get(self);");
   13652             :     }
   13653           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   13654           0 :     if (!SWIG_IsOK(res1)) {
   13655           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_minfeaturesize_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   13656             :     }
   13657           0 :     arg1 = (struct labelObj *)(argp1);
   13658           0 :     result = (int) ((arg1)->minfeaturesize);
   13659           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   13660             :     
   13661           0 :     XSRETURN(argvi);
   13662             :   fail:
   13663             :     
   13664           0 :     SWIG_croak_null();
   13665             :   }
   13666             : }
   13667             : 
   13668             : 
   13669           0 : XS(_wrap_labelObj_autominfeaturesize_set) {
   13670             :   {
   13671             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   13672             :     int arg2 ;
   13673           0 :     void *argp1 = 0 ;
   13674             :     int res1 = 0 ;
   13675             :     int val2 ;
   13676             :     int ecode2 = 0 ;
   13677             :     int argvi = 0;
   13678           0 :     dXSARGS;
   13679             :     
   13680           0 :     if ((items < 2) || (items > 2)) {
   13681           0 :       SWIG_croak("Usage: labelObj_autominfeaturesize_set(self,autominfeaturesize);");
   13682             :     }
   13683           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   13684           0 :     if (!SWIG_IsOK(res1)) {
   13685           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_autominfeaturesize_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   13686             :     }
   13687           0 :     arg1 = (struct labelObj *)(argp1);
   13688           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   13689           0 :     if (!SWIG_IsOK(ecode2)) {
   13690           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_autominfeaturesize_set" "', argument " "2"" of type '" "int""'");
   13691             :     } 
   13692           0 :     arg2 = (int)(val2);
   13693           0 :     if (arg1) (arg1)->autominfeaturesize = arg2;
   13694           0 :     ST(argvi) = sv_newmortal();
   13695             :     
   13696             :     
   13697           0 :     XSRETURN(argvi);
   13698             :   fail:
   13699             :     
   13700             :     
   13701           0 :     SWIG_croak_null();
   13702             :   }
   13703             : }
   13704             : 
   13705             : 
   13706           0 : XS(_wrap_labelObj_autominfeaturesize_get) {
   13707             :   {
   13708             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   13709           0 :     void *argp1 = 0 ;
   13710             :     int res1 = 0 ;
   13711             :     int argvi = 0;
   13712             :     int result;
   13713           0 :     dXSARGS;
   13714             :     
   13715           0 :     if ((items < 1) || (items > 1)) {
   13716           0 :       SWIG_croak("Usage: labelObj_autominfeaturesize_get(self);");
   13717             :     }
   13718           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   13719           0 :     if (!SWIG_IsOK(res1)) {
   13720           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_autominfeaturesize_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   13721             :     }
   13722           0 :     arg1 = (struct labelObj *)(argp1);
   13723           0 :     result = (int) ((arg1)->autominfeaturesize);
   13724           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   13725             :     
   13726           0 :     XSRETURN(argvi);
   13727             :   fail:
   13728             :     
   13729           0 :     SWIG_croak_null();
   13730             :   }
   13731             : }
   13732             : 
   13733             : 
   13734           0 : XS(_wrap_labelObj_minscaledenom_set) {
   13735             :   {
   13736             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   13737             :     double arg2 ;
   13738           0 :     void *argp1 = 0 ;
   13739             :     int res1 = 0 ;
   13740             :     double val2 ;
   13741             :     int ecode2 = 0 ;
   13742             :     int argvi = 0;
   13743           0 :     dXSARGS;
   13744             :     
   13745           0 :     if ((items < 2) || (items > 2)) {
   13746           0 :       SWIG_croak("Usage: labelObj_minscaledenom_set(self,minscaledenom);");
   13747             :     }
   13748           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   13749           0 :     if (!SWIG_IsOK(res1)) {
   13750           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_minscaledenom_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   13751             :     }
   13752           0 :     arg1 = (struct labelObj *)(argp1);
   13753           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   13754           0 :     if (!SWIG_IsOK(ecode2)) {
   13755           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_minscaledenom_set" "', argument " "2"" of type '" "double""'");
   13756             :     } 
   13757           0 :     arg2 = (double)(val2);
   13758           0 :     if (arg1) (arg1)->minscaledenom = arg2;
   13759           0 :     ST(argvi) = sv_newmortal();
   13760             :     
   13761             :     
   13762           0 :     XSRETURN(argvi);
   13763             :   fail:
   13764             :     
   13765             :     
   13766           0 :     SWIG_croak_null();
   13767             :   }
   13768             : }
   13769             : 
   13770             : 
   13771           0 : XS(_wrap_labelObj_minscaledenom_get) {
   13772             :   {
   13773             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   13774           0 :     void *argp1 = 0 ;
   13775             :     int res1 = 0 ;
   13776             :     int argvi = 0;
   13777             :     double result;
   13778           0 :     dXSARGS;
   13779             :     
   13780           0 :     if ((items < 1) || (items > 1)) {
   13781           0 :       SWIG_croak("Usage: labelObj_minscaledenom_get(self);");
   13782             :     }
   13783           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   13784           0 :     if (!SWIG_IsOK(res1)) {
   13785           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_minscaledenom_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   13786             :     }
   13787           0 :     arg1 = (struct labelObj *)(argp1);
   13788           0 :     result = (double) ((arg1)->minscaledenom);
   13789           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   13790             :     
   13791           0 :     XSRETURN(argvi);
   13792             :   fail:
   13793             :     
   13794           0 :     SWIG_croak_null();
   13795             :   }
   13796             : }
   13797             : 
   13798             : 
   13799           0 : XS(_wrap_labelObj_maxscaledenom_set) {
   13800             :   {
   13801             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   13802             :     double arg2 ;
   13803           0 :     void *argp1 = 0 ;
   13804             :     int res1 = 0 ;
   13805             :     double val2 ;
   13806             :     int ecode2 = 0 ;
   13807             :     int argvi = 0;
   13808           0 :     dXSARGS;
   13809             :     
   13810           0 :     if ((items < 2) || (items > 2)) {
   13811           0 :       SWIG_croak("Usage: labelObj_maxscaledenom_set(self,maxscaledenom);");
   13812             :     }
   13813           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   13814           0 :     if (!SWIG_IsOK(res1)) {
   13815           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_maxscaledenom_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   13816             :     }
   13817           0 :     arg1 = (struct labelObj *)(argp1);
   13818           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   13819           0 :     if (!SWIG_IsOK(ecode2)) {
   13820           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_maxscaledenom_set" "', argument " "2"" of type '" "double""'");
   13821             :     } 
   13822           0 :     arg2 = (double)(val2);
   13823           0 :     if (arg1) (arg1)->maxscaledenom = arg2;
   13824           0 :     ST(argvi) = sv_newmortal();
   13825             :     
   13826             :     
   13827           0 :     XSRETURN(argvi);
   13828             :   fail:
   13829             :     
   13830             :     
   13831           0 :     SWIG_croak_null();
   13832             :   }
   13833             : }
   13834             : 
   13835             : 
   13836           0 : XS(_wrap_labelObj_maxscaledenom_get) {
   13837             :   {
   13838             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   13839           0 :     void *argp1 = 0 ;
   13840             :     int res1 = 0 ;
   13841             :     int argvi = 0;
   13842             :     double result;
   13843           0 :     dXSARGS;
   13844             :     
   13845           0 :     if ((items < 1) || (items > 1)) {
   13846           0 :       SWIG_croak("Usage: labelObj_maxscaledenom_get(self);");
   13847             :     }
   13848           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   13849           0 :     if (!SWIG_IsOK(res1)) {
   13850           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_maxscaledenom_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   13851             :     }
   13852           0 :     arg1 = (struct labelObj *)(argp1);
   13853           0 :     result = (double) ((arg1)->maxscaledenom);
   13854           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   13855             :     
   13856           0 :     XSRETURN(argvi);
   13857             :   fail:
   13858             :     
   13859           0 :     SWIG_croak_null();
   13860             :   }
   13861             : }
   13862             : 
   13863             : 
   13864           0 : XS(_wrap_labelObj_mindistance_set) {
   13865             :   {
   13866             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   13867             :     int arg2 ;
   13868           0 :     void *argp1 = 0 ;
   13869             :     int res1 = 0 ;
   13870             :     int val2 ;
   13871             :     int ecode2 = 0 ;
   13872             :     int argvi = 0;
   13873           0 :     dXSARGS;
   13874             :     
   13875           0 :     if ((items < 2) || (items > 2)) {
   13876           0 :       SWIG_croak("Usage: labelObj_mindistance_set(self,mindistance);");
   13877             :     }
   13878           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   13879           0 :     if (!SWIG_IsOK(res1)) {
   13880           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_mindistance_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   13881             :     }
   13882           0 :     arg1 = (struct labelObj *)(argp1);
   13883           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   13884           0 :     if (!SWIG_IsOK(ecode2)) {
   13885           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_mindistance_set" "', argument " "2"" of type '" "int""'");
   13886             :     } 
   13887           0 :     arg2 = (int)(val2);
   13888           0 :     if (arg1) (arg1)->mindistance = arg2;
   13889           0 :     ST(argvi) = sv_newmortal();
   13890             :     
   13891             :     
   13892           0 :     XSRETURN(argvi);
   13893             :   fail:
   13894             :     
   13895             :     
   13896           0 :     SWIG_croak_null();
   13897             :   }
   13898             : }
   13899             : 
   13900             : 
   13901           0 : XS(_wrap_labelObj_mindistance_get) {
   13902             :   {
   13903             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   13904           0 :     void *argp1 = 0 ;
   13905             :     int res1 = 0 ;
   13906             :     int argvi = 0;
   13907             :     int result;
   13908           0 :     dXSARGS;
   13909             :     
   13910           0 :     if ((items < 1) || (items > 1)) {
   13911           0 :       SWIG_croak("Usage: labelObj_mindistance_get(self);");
   13912             :     }
   13913           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   13914           0 :     if (!SWIG_IsOK(res1)) {
   13915           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_mindistance_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   13916             :     }
   13917           0 :     arg1 = (struct labelObj *)(argp1);
   13918           0 :     result = (int) ((arg1)->mindistance);
   13919           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   13920             :     
   13921           0 :     XSRETURN(argvi);
   13922             :   fail:
   13923             :     
   13924           0 :     SWIG_croak_null();
   13925             :   }
   13926             : }
   13927             : 
   13928             : 
   13929           0 : XS(_wrap_labelObj_repeatdistance_set) {
   13930             :   {
   13931             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   13932             :     int arg2 ;
   13933           0 :     void *argp1 = 0 ;
   13934             :     int res1 = 0 ;
   13935             :     int val2 ;
   13936             :     int ecode2 = 0 ;
   13937             :     int argvi = 0;
   13938           0 :     dXSARGS;
   13939             :     
   13940           0 :     if ((items < 2) || (items > 2)) {
   13941           0 :       SWIG_croak("Usage: labelObj_repeatdistance_set(self,repeatdistance);");
   13942             :     }
   13943           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   13944           0 :     if (!SWIG_IsOK(res1)) {
   13945           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_repeatdistance_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   13946             :     }
   13947           0 :     arg1 = (struct labelObj *)(argp1);
   13948           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   13949           0 :     if (!SWIG_IsOK(ecode2)) {
   13950           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_repeatdistance_set" "', argument " "2"" of type '" "int""'");
   13951             :     } 
   13952           0 :     arg2 = (int)(val2);
   13953           0 :     if (arg1) (arg1)->repeatdistance = arg2;
   13954           0 :     ST(argvi) = sv_newmortal();
   13955             :     
   13956             :     
   13957           0 :     XSRETURN(argvi);
   13958             :   fail:
   13959             :     
   13960             :     
   13961           0 :     SWIG_croak_null();
   13962             :   }
   13963             : }
   13964             : 
   13965             : 
   13966           0 : XS(_wrap_labelObj_repeatdistance_get) {
   13967             :   {
   13968             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   13969           0 :     void *argp1 = 0 ;
   13970             :     int res1 = 0 ;
   13971             :     int argvi = 0;
   13972             :     int result;
   13973           0 :     dXSARGS;
   13974             :     
   13975           0 :     if ((items < 1) || (items > 1)) {
   13976           0 :       SWIG_croak("Usage: labelObj_repeatdistance_get(self);");
   13977             :     }
   13978           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   13979           0 :     if (!SWIG_IsOK(res1)) {
   13980           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_repeatdistance_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   13981             :     }
   13982           0 :     arg1 = (struct labelObj *)(argp1);
   13983           0 :     result = (int) ((arg1)->repeatdistance);
   13984           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   13985             :     
   13986           0 :     XSRETURN(argvi);
   13987             :   fail:
   13988             :     
   13989           0 :     SWIG_croak_null();
   13990             :   }
   13991             : }
   13992             : 
   13993             : 
   13994           0 : XS(_wrap_labelObj_maxoverlapangle_set) {
   13995             :   {
   13996             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   13997             :     double arg2 ;
   13998           0 :     void *argp1 = 0 ;
   13999             :     int res1 = 0 ;
   14000             :     double val2 ;
   14001             :     int ecode2 = 0 ;
   14002             :     int argvi = 0;
   14003           0 :     dXSARGS;
   14004             :     
   14005           0 :     if ((items < 2) || (items > 2)) {
   14006           0 :       SWIG_croak("Usage: labelObj_maxoverlapangle_set(self,maxoverlapangle);");
   14007             :     }
   14008           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   14009           0 :     if (!SWIG_IsOK(res1)) {
   14010           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_maxoverlapangle_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   14011             :     }
   14012           0 :     arg1 = (struct labelObj *)(argp1);
   14013           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   14014           0 :     if (!SWIG_IsOK(ecode2)) {
   14015           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_maxoverlapangle_set" "', argument " "2"" of type '" "double""'");
   14016             :     } 
   14017           0 :     arg2 = (double)(val2);
   14018           0 :     if (arg1) (arg1)->maxoverlapangle = arg2;
   14019           0 :     ST(argvi) = sv_newmortal();
   14020             :     
   14021             :     
   14022           0 :     XSRETURN(argvi);
   14023             :   fail:
   14024             :     
   14025             :     
   14026           0 :     SWIG_croak_null();
   14027             :   }
   14028             : }
   14029             : 
   14030             : 
   14031           0 : XS(_wrap_labelObj_maxoverlapangle_get) {
   14032             :   {
   14033             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   14034           0 :     void *argp1 = 0 ;
   14035             :     int res1 = 0 ;
   14036             :     int argvi = 0;
   14037             :     double result;
   14038           0 :     dXSARGS;
   14039             :     
   14040           0 :     if ((items < 1) || (items > 1)) {
   14041           0 :       SWIG_croak("Usage: labelObj_maxoverlapangle_get(self);");
   14042             :     }
   14043           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   14044           0 :     if (!SWIG_IsOK(res1)) {
   14045           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_maxoverlapangle_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   14046             :     }
   14047           0 :     arg1 = (struct labelObj *)(argp1);
   14048           0 :     result = (double) ((arg1)->maxoverlapangle);
   14049           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   14050             :     
   14051           0 :     XSRETURN(argvi);
   14052             :   fail:
   14053             :     
   14054           0 :     SWIG_croak_null();
   14055             :   }
   14056             : }
   14057             : 
   14058             : 
   14059           0 : XS(_wrap_labelObj_partials_set) {
   14060             :   {
   14061             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   14062             :     int arg2 ;
   14063           0 :     void *argp1 = 0 ;
   14064             :     int res1 = 0 ;
   14065             :     int val2 ;
   14066             :     int ecode2 = 0 ;
   14067             :     int argvi = 0;
   14068           0 :     dXSARGS;
   14069             :     
   14070           0 :     if ((items < 2) || (items > 2)) {
   14071           0 :       SWIG_croak("Usage: labelObj_partials_set(self,partials);");
   14072             :     }
   14073           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   14074           0 :     if (!SWIG_IsOK(res1)) {
   14075           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_partials_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   14076             :     }
   14077           0 :     arg1 = (struct labelObj *)(argp1);
   14078           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   14079           0 :     if (!SWIG_IsOK(ecode2)) {
   14080           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_partials_set" "', argument " "2"" of type '" "int""'");
   14081             :     } 
   14082           0 :     arg2 = (int)(val2);
   14083           0 :     if (arg1) (arg1)->partials = arg2;
   14084           0 :     ST(argvi) = sv_newmortal();
   14085             :     
   14086             :     
   14087           0 :     XSRETURN(argvi);
   14088             :   fail:
   14089             :     
   14090             :     
   14091           0 :     SWIG_croak_null();
   14092             :   }
   14093             : }
   14094             : 
   14095             : 
   14096           0 : XS(_wrap_labelObj_partials_get) {
   14097             :   {
   14098             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   14099           0 :     void *argp1 = 0 ;
   14100             :     int res1 = 0 ;
   14101             :     int argvi = 0;
   14102             :     int result;
   14103           0 :     dXSARGS;
   14104             :     
   14105           0 :     if ((items < 1) || (items > 1)) {
   14106           0 :       SWIG_croak("Usage: labelObj_partials_get(self);");
   14107             :     }
   14108           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   14109           0 :     if (!SWIG_IsOK(res1)) {
   14110           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_partials_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   14111             :     }
   14112           0 :     arg1 = (struct labelObj *)(argp1);
   14113           0 :     result = (int) ((arg1)->partials);
   14114           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   14115             :     
   14116           0 :     XSRETURN(argvi);
   14117             :   fail:
   14118             :     
   14119           0 :     SWIG_croak_null();
   14120             :   }
   14121             : }
   14122             : 
   14123             : 
   14124           0 : XS(_wrap_labelObj_force_set) {
   14125             :   {
   14126             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   14127             :     int arg2 ;
   14128           0 :     void *argp1 = 0 ;
   14129             :     int res1 = 0 ;
   14130             :     int val2 ;
   14131             :     int ecode2 = 0 ;
   14132             :     int argvi = 0;
   14133           0 :     dXSARGS;
   14134             :     
   14135           0 :     if ((items < 2) || (items > 2)) {
   14136           0 :       SWIG_croak("Usage: labelObj_force_set(self,force);");
   14137             :     }
   14138           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   14139           0 :     if (!SWIG_IsOK(res1)) {
   14140           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_force_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   14141             :     }
   14142           0 :     arg1 = (struct labelObj *)(argp1);
   14143           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   14144           0 :     if (!SWIG_IsOK(ecode2)) {
   14145           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_force_set" "', argument " "2"" of type '" "int""'");
   14146             :     } 
   14147           0 :     arg2 = (int)(val2);
   14148           0 :     if (arg1) (arg1)->force = arg2;
   14149           0 :     ST(argvi) = sv_newmortal();
   14150             :     
   14151             :     
   14152           0 :     XSRETURN(argvi);
   14153             :   fail:
   14154             :     
   14155             :     
   14156           0 :     SWIG_croak_null();
   14157             :   }
   14158             : }
   14159             : 
   14160             : 
   14161           0 : XS(_wrap_labelObj_force_get) {
   14162             :   {
   14163             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   14164           0 :     void *argp1 = 0 ;
   14165             :     int res1 = 0 ;
   14166             :     int argvi = 0;
   14167             :     int result;
   14168           0 :     dXSARGS;
   14169             :     
   14170           0 :     if ((items < 1) || (items > 1)) {
   14171           0 :       SWIG_croak("Usage: labelObj_force_get(self);");
   14172             :     }
   14173           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   14174           0 :     if (!SWIG_IsOK(res1)) {
   14175           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_force_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   14176             :     }
   14177           0 :     arg1 = (struct labelObj *)(argp1);
   14178           0 :     result = (int) ((arg1)->force);
   14179           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   14180             :     
   14181           0 :     XSRETURN(argvi);
   14182             :   fail:
   14183             :     
   14184           0 :     SWIG_croak_null();
   14185             :   }
   14186             : }
   14187             : 
   14188             : 
   14189           0 : XS(_wrap_labelObj_encoding_set) {
   14190             :   {
   14191             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   14192             :     char *arg2 = (char *) 0 ;
   14193           0 :     void *argp1 = 0 ;
   14194             :     int res1 = 0 ;
   14195             :     int res2 ;
   14196           0 :     char *buf2 = 0 ;
   14197           0 :     int alloc2 = 0 ;
   14198             :     int argvi = 0;
   14199           0 :     dXSARGS;
   14200             :     
   14201           0 :     if ((items < 2) || (items > 2)) {
   14202           0 :       SWIG_croak("Usage: labelObj_encoding_set(self,encoding);");
   14203             :     }
   14204           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   14205           0 :     if (!SWIG_IsOK(res1)) {
   14206           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_encoding_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   14207             :     }
   14208           0 :     arg1 = (struct labelObj *)(argp1);
   14209           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   14210           0 :     if (!SWIG_IsOK(res2)) {
   14211           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "labelObj_encoding_set" "', argument " "2"" of type '" "char *""'");
   14212             :     }
   14213           0 :     arg2 = (char *)(buf2);
   14214             :     {
   14215           0 :       if (arg1->encoding) free((char*)arg1->encoding);
   14216           0 :       if (arg2) {
   14217           0 :         arg1->encoding = (char *) malloc(strlen(arg2)+1);
   14218             :         strcpy((char*)arg1->encoding,arg2);
   14219             :       } else {
   14220           0 :         arg1->encoding = 0;
   14221             :       }
   14222             :     }
   14223           0 :     ST(argvi) = sv_newmortal();
   14224             :     
   14225           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   14226           0 :     XSRETURN(argvi);
   14227             :   fail:
   14228             :     
   14229           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   14230           0 :     SWIG_croak_null();
   14231             :   }
   14232             : }
   14233             : 
   14234             : 
   14235           0 : XS(_wrap_labelObj_encoding_get) {
   14236             :   {
   14237             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   14238           0 :     void *argp1 = 0 ;
   14239             :     int res1 = 0 ;
   14240             :     int argvi = 0;
   14241             :     char *result = 0 ;
   14242           0 :     dXSARGS;
   14243             :     
   14244           0 :     if ((items < 1) || (items > 1)) {
   14245           0 :       SWIG_croak("Usage: labelObj_encoding_get(self);");
   14246             :     }
   14247           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   14248           0 :     if (!SWIG_IsOK(res1)) {
   14249           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_encoding_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   14250             :     }
   14251           0 :     arg1 = (struct labelObj *)(argp1);
   14252           0 :     result = (char *) ((arg1)->encoding);
   14253           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   14254             :     
   14255           0 :     XSRETURN(argvi);
   14256             :   fail:
   14257             :     
   14258           0 :     SWIG_croak_null();
   14259             :   }
   14260             : }
   14261             : 
   14262             : 
   14263           0 : XS(_wrap_labelObj_priority_set) {
   14264             :   {
   14265             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   14266             :     int arg2 ;
   14267           0 :     void *argp1 = 0 ;
   14268             :     int res1 = 0 ;
   14269             :     int val2 ;
   14270             :     int ecode2 = 0 ;
   14271             :     int argvi = 0;
   14272           0 :     dXSARGS;
   14273             :     
   14274           0 :     if ((items < 2) || (items > 2)) {
   14275           0 :       SWIG_croak("Usage: labelObj_priority_set(self,priority);");
   14276             :     }
   14277           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   14278           0 :     if (!SWIG_IsOK(res1)) {
   14279           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_priority_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   14280             :     }
   14281           0 :     arg1 = (struct labelObj *)(argp1);
   14282           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   14283           0 :     if (!SWIG_IsOK(ecode2)) {
   14284           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_priority_set" "', argument " "2"" of type '" "int""'");
   14285             :     } 
   14286           0 :     arg2 = (int)(val2);
   14287           0 :     if (arg1) (arg1)->priority = arg2;
   14288           0 :     ST(argvi) = sv_newmortal();
   14289             :     
   14290             :     
   14291           0 :     XSRETURN(argvi);
   14292             :   fail:
   14293             :     
   14294             :     
   14295           0 :     SWIG_croak_null();
   14296             :   }
   14297             : }
   14298             : 
   14299             : 
   14300           0 : XS(_wrap_labelObj_priority_get) {
   14301             :   {
   14302             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   14303           0 :     void *argp1 = 0 ;
   14304             :     int res1 = 0 ;
   14305             :     int argvi = 0;
   14306             :     int result;
   14307           0 :     dXSARGS;
   14308             :     
   14309           0 :     if ((items < 1) || (items > 1)) {
   14310           0 :       SWIG_croak("Usage: labelObj_priority_get(self);");
   14311             :     }
   14312           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   14313           0 :     if (!SWIG_IsOK(res1)) {
   14314           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_priority_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   14315             :     }
   14316           0 :     arg1 = (struct labelObj *)(argp1);
   14317           0 :     result = (int) ((arg1)->priority);
   14318           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   14319             :     
   14320           0 :     XSRETURN(argvi);
   14321             :   fail:
   14322             :     
   14323           0 :     SWIG_croak_null();
   14324             :   }
   14325             : }
   14326             : 
   14327             : 
   14328           0 : XS(_wrap_labelObj_numstyles_set) {
   14329             :   {
   14330             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   14331             :     int arg2 ;
   14332           0 :     void *argp1 = 0 ;
   14333             :     int res1 = 0 ;
   14334             :     int val2 ;
   14335             :     int ecode2 = 0 ;
   14336             :     int argvi = 0;
   14337           0 :     dXSARGS;
   14338             :     
   14339           0 :     if ((items < 2) || (items > 2)) {
   14340           0 :       SWIG_croak("Usage: labelObj_numstyles_set(self,numstyles);");
   14341             :     }
   14342           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   14343           0 :     if (!SWIG_IsOK(res1)) {
   14344           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_numstyles_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   14345             :     }
   14346           0 :     arg1 = (struct labelObj *)(argp1);
   14347           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   14348           0 :     if (!SWIG_IsOK(ecode2)) {
   14349           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_numstyles_set" "', argument " "2"" of type '" "int""'");
   14350             :     } 
   14351           0 :     arg2 = (int)(val2);
   14352           0 :     if (arg1) (arg1)->numstyles = arg2;
   14353           0 :     ST(argvi) = sv_newmortal();
   14354             :     
   14355             :     
   14356           0 :     XSRETURN(argvi);
   14357             :   fail:
   14358             :     
   14359             :     
   14360           0 :     SWIG_croak_null();
   14361             :   }
   14362             : }
   14363             : 
   14364             : 
   14365           0 : XS(_wrap_labelObj_numstyles_get) {
   14366             :   {
   14367             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   14368           0 :     void *argp1 = 0 ;
   14369             :     int res1 = 0 ;
   14370             :     int argvi = 0;
   14371             :     int result;
   14372           0 :     dXSARGS;
   14373             :     
   14374           0 :     if ((items < 1) || (items > 1)) {
   14375           0 :       SWIG_croak("Usage: labelObj_numstyles_get(self);");
   14376             :     }
   14377           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   14378           0 :     if (!SWIG_IsOK(res1)) {
   14379           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_numstyles_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   14380             :     }
   14381           0 :     arg1 = (struct labelObj *)(argp1);
   14382           0 :     result = (int) ((arg1)->numstyles);
   14383           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   14384             :     
   14385           0 :     XSRETURN(argvi);
   14386             :   fail:
   14387             :     
   14388           0 :     SWIG_croak_null();
   14389             :   }
   14390             : }
   14391             : 
   14392             : 
   14393           0 : XS(_wrap_labelObj_leader_set) {
   14394             :   {
   14395             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   14396             :     labelLeaderObj *arg2 = (labelLeaderObj *) 0 ;
   14397           0 :     void *argp1 = 0 ;
   14398             :     int res1 = 0 ;
   14399           0 :     void *argp2 = 0 ;
   14400             :     int res2 = 0 ;
   14401             :     int argvi = 0;
   14402           0 :     dXSARGS;
   14403             :     
   14404           0 :     if ((items < 2) || (items > 2)) {
   14405           0 :       SWIG_croak("Usage: labelObj_leader_set(self,leader);");
   14406             :     }
   14407           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   14408           0 :     if (!SWIG_IsOK(res1)) {
   14409           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_leader_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   14410             :     }
   14411           0 :     arg1 = (struct labelObj *)(argp1);
   14412           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_labelLeaderObj, SWIG_POINTER_DISOWN |  0 );
   14413           0 :     if (!SWIG_IsOK(res2)) {
   14414           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "labelObj_leader_set" "', argument " "2"" of type '" "labelLeaderObj *""'"); 
   14415             :     }
   14416           0 :     arg2 = (labelLeaderObj *)(argp2);
   14417           0 :     if (arg1) (arg1)->leader = arg2;
   14418           0 :     ST(argvi) = sv_newmortal();
   14419             :     
   14420             :     
   14421           0 :     XSRETURN(argvi);
   14422             :   fail:
   14423             :     
   14424             :     
   14425           0 :     SWIG_croak_null();
   14426             :   }
   14427             : }
   14428             : 
   14429             : 
   14430           0 : XS(_wrap_labelObj_leader_get) {
   14431             :   {
   14432             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   14433           0 :     void *argp1 = 0 ;
   14434             :     int res1 = 0 ;
   14435             :     int argvi = 0;
   14436             :     labelLeaderObj *result = 0 ;
   14437           0 :     dXSARGS;
   14438             :     
   14439           0 :     if ((items < 1) || (items > 1)) {
   14440           0 :       SWIG_croak("Usage: labelObj_leader_get(self);");
   14441             :     }
   14442           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   14443           0 :     if (!SWIG_IsOK(res1)) {
   14444           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_leader_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   14445             :     }
   14446           0 :     arg1 = (struct labelObj *)(argp1);
   14447           0 :     result = (labelLeaderObj *) ((arg1)->leader);
   14448           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelLeaderObj, 0 | SWIG_SHADOW); argvi++ ;
   14449             :     
   14450           0 :     XSRETURN(argvi);
   14451             :   fail:
   14452             :     
   14453           0 :     SWIG_croak_null();
   14454             :   }
   14455             : }
   14456             : 
   14457             : 
   14458           0 : XS(_wrap_new_labelObj) {
   14459             :   {
   14460             :     int argvi = 0;
   14461             :     struct labelObj *result = 0 ;
   14462           0 :     dXSARGS;
   14463             :     
   14464           0 :     if ((items < 0) || (items > 0)) {
   14465           0 :       SWIG_croak("Usage: new_labelObj();");
   14466             :     }
   14467           0 :     result = (struct labelObj *)new_labelObj();
   14468           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   14469           0 :     XSRETURN(argvi);
   14470             :   fail:
   14471           0 :     SWIG_croak_null();
   14472             :   }
   14473             : }
   14474             : 
   14475             : 
   14476           0 : XS(_wrap_delete_labelObj) {
   14477             :   {
   14478             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   14479           0 :     void *argp1 = 0 ;
   14480             :     int res1 = 0 ;
   14481             :     int argvi = 0;
   14482           0 :     dXSARGS;
   14483             :     
   14484           0 :     if ((items < 1) || (items > 1)) {
   14485           0 :       SWIG_croak("Usage: delete_labelObj(self);");
   14486             :     }
   14487           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, SWIG_POINTER_DISOWN |  0 );
   14488           0 :     if (!SWIG_IsOK(res1)) {
   14489           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_labelObj" "', argument " "1"" of type '" "struct labelObj *""'"); 
   14490             :     }
   14491           0 :     arg1 = (struct labelObj *)(argp1);
   14492             :     delete_labelObj(arg1);
   14493           0 :     ST(argvi) = sv_newmortal();
   14494             :     
   14495           0 :     XSRETURN(argvi);
   14496             :   fail:
   14497             :     
   14498           0 :     SWIG_croak_null();
   14499             :   }
   14500             : }
   14501             : 
   14502             : 
   14503           0 : XS(_wrap_labelObj_updateFromString) {
   14504             :   {
   14505             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   14506             :     char *arg2 = (char *) 0 ;
   14507           0 :     void *argp1 = 0 ;
   14508             :     int res1 = 0 ;
   14509             :     int res2 ;
   14510           0 :     char *buf2 = 0 ;
   14511           0 :     int alloc2 = 0 ;
   14512             :     int argvi = 0;
   14513             :     int result;
   14514           0 :     dXSARGS;
   14515             :     
   14516           0 :     if ((items < 2) || (items > 2)) {
   14517           0 :       SWIG_croak("Usage: labelObj_updateFromString(self,snippet);");
   14518             :     }
   14519           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   14520           0 :     if (!SWIG_IsOK(res1)) {
   14521           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_updateFromString" "', argument " "1"" of type '" "struct labelObj *""'"); 
   14522             :     }
   14523           0 :     arg1 = (struct labelObj *)(argp1);
   14524           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   14525           0 :     if (!SWIG_IsOK(res2)) {
   14526           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "labelObj_updateFromString" "', argument " "2"" of type '" "char *""'");
   14527             :     }
   14528           0 :     arg2 = (char *)(buf2);
   14529             :     result = (int)labelObj_updateFromString(arg1,arg2);
   14530           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   14531             :     
   14532           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   14533           0 :     XSRETURN(argvi);
   14534             :   fail:
   14535             :     
   14536           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   14537           0 :     SWIG_croak_null();
   14538             :   }
   14539             : }
   14540             : 
   14541             : 
   14542           0 : XS(_wrap_labelObj_convertToString) {
   14543             :   {
   14544             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   14545           0 :     void *argp1 = 0 ;
   14546             :     int res1 = 0 ;
   14547             :     int argvi = 0;
   14548             :     char *result = 0 ;
   14549           0 :     dXSARGS;
   14550             :     
   14551           0 :     if ((items < 1) || (items > 1)) {
   14552           0 :       SWIG_croak("Usage: labelObj_convertToString(self);");
   14553             :     }
   14554           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   14555           0 :     if (!SWIG_IsOK(res1)) {
   14556           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_convertToString" "', argument " "1"" of type '" "struct labelObj *""'"); 
   14557             :     }
   14558           0 :     arg1 = (struct labelObj *)(argp1);
   14559             :     result = (char *)labelObj_convertToString(arg1);
   14560           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   14561             :     
   14562           0 :     free((char*)result);
   14563           0 :     XSRETURN(argvi);
   14564             :   fail:
   14565             :     
   14566           0 :     SWIG_croak_null();
   14567             :   }
   14568             : }
   14569             : 
   14570             : 
   14571           0 : XS(_wrap_labelObj_removeBinding) {
   14572             :   {
   14573             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   14574             :     int arg2 ;
   14575           0 :     void *argp1 = 0 ;
   14576             :     int res1 = 0 ;
   14577             :     int val2 ;
   14578             :     int ecode2 = 0 ;
   14579             :     int argvi = 0;
   14580             :     int result;
   14581           0 :     dXSARGS;
   14582             :     
   14583           0 :     if ((items < 2) || (items > 2)) {
   14584           0 :       SWIG_croak("Usage: labelObj_removeBinding(self,binding);");
   14585             :     }
   14586           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   14587           0 :     if (!SWIG_IsOK(res1)) {
   14588           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_removeBinding" "', argument " "1"" of type '" "struct labelObj *""'"); 
   14589             :     }
   14590           0 :     arg1 = (struct labelObj *)(argp1);
   14591           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   14592           0 :     if (!SWIG_IsOK(ecode2)) {
   14593           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_removeBinding" "', argument " "2"" of type '" "int""'");
   14594             :     } 
   14595           0 :     arg2 = (int)(val2);
   14596           0 :     result = (int)labelObj_removeBinding(arg1,arg2);
   14597           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   14598             :     
   14599             :     
   14600           0 :     XSRETURN(argvi);
   14601             :   fail:
   14602             :     
   14603             :     
   14604           0 :     SWIG_croak_null();
   14605             :   }
   14606             : }
   14607             : 
   14608             : 
   14609           0 : XS(_wrap_labelObj_getBinding) {
   14610             :   {
   14611             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   14612             :     int arg2 ;
   14613           0 :     void *argp1 = 0 ;
   14614             :     int res1 = 0 ;
   14615             :     int val2 ;
   14616             :     int ecode2 = 0 ;
   14617             :     int argvi = 0;
   14618             :     char *result = 0 ;
   14619           0 :     dXSARGS;
   14620             :     
   14621           0 :     if ((items < 2) || (items > 2)) {
   14622           0 :       SWIG_croak("Usage: labelObj_getBinding(self,binding);");
   14623             :     }
   14624           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   14625           0 :     if (!SWIG_IsOK(res1)) {
   14626           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_getBinding" "', argument " "1"" of type '" "struct labelObj *""'"); 
   14627             :     }
   14628           0 :     arg1 = (struct labelObj *)(argp1);
   14629           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   14630           0 :     if (!SWIG_IsOK(ecode2)) {
   14631           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_getBinding" "', argument " "2"" of type '" "int""'");
   14632             :     } 
   14633           0 :     arg2 = (int)(val2);
   14634             :     result = (char *)labelObj_getBinding(arg1,arg2);
   14635           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   14636             :     
   14637             :     
   14638           0 :     XSRETURN(argvi);
   14639             :   fail:
   14640             :     
   14641             :     
   14642           0 :     SWIG_croak_null();
   14643             :   }
   14644             : }
   14645             : 
   14646             : 
   14647           0 : XS(_wrap_labelObj_setBinding) {
   14648             :   {
   14649             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   14650             :     int arg2 ;
   14651             :     char *arg3 = (char *) 0 ;
   14652           0 :     void *argp1 = 0 ;
   14653             :     int res1 = 0 ;
   14654             :     int val2 ;
   14655             :     int ecode2 = 0 ;
   14656             :     int res3 ;
   14657           0 :     char *buf3 = 0 ;
   14658           0 :     int alloc3 = 0 ;
   14659             :     int argvi = 0;
   14660             :     int result;
   14661           0 :     dXSARGS;
   14662             :     
   14663           0 :     if ((items < 3) || (items > 3)) {
   14664           0 :       SWIG_croak("Usage: labelObj_setBinding(self,binding,item);");
   14665             :     }
   14666           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   14667           0 :     if (!SWIG_IsOK(res1)) {
   14668           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_setBinding" "', argument " "1"" of type '" "struct labelObj *""'"); 
   14669             :     }
   14670           0 :     arg1 = (struct labelObj *)(argp1);
   14671           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   14672           0 :     if (!SWIG_IsOK(ecode2)) {
   14673           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_setBinding" "', argument " "2"" of type '" "int""'");
   14674             :     } 
   14675           0 :     arg2 = (int)(val2);
   14676           0 :     res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
   14677           0 :     if (!SWIG_IsOK(res3)) {
   14678           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "labelObj_setBinding" "', argument " "3"" of type '" "char *""'");
   14679             :     }
   14680           0 :     arg3 = (char *)(buf3);
   14681           0 :     result = (int)labelObj_setBinding(arg1,arg2,arg3);
   14682           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   14683             :     
   14684             :     
   14685           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   14686           0 :     XSRETURN(argvi);
   14687             :   fail:
   14688             :     
   14689             :     
   14690           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   14691           0 :     SWIG_croak_null();
   14692             :   }
   14693             : }
   14694             : 
   14695             : 
   14696           0 : XS(_wrap_labelObj_setExpression) {
   14697             :   {
   14698             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   14699             :     char *arg2 = (char *) 0 ;
   14700           0 :     void *argp1 = 0 ;
   14701             :     int res1 = 0 ;
   14702             :     int res2 ;
   14703           0 :     char *buf2 = 0 ;
   14704           0 :     int alloc2 = 0 ;
   14705             :     int argvi = 0;
   14706             :     int result;
   14707           0 :     dXSARGS;
   14708             :     
   14709           0 :     if ((items < 2) || (items > 2)) {
   14710           0 :       SWIG_croak("Usage: labelObj_setExpression(self,expression);");
   14711             :     }
   14712           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   14713           0 :     if (!SWIG_IsOK(res1)) {
   14714           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_setExpression" "', argument " "1"" of type '" "struct labelObj *""'"); 
   14715             :     }
   14716           0 :     arg1 = (struct labelObj *)(argp1);
   14717           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   14718           0 :     if (!SWIG_IsOK(res2)) {
   14719           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "labelObj_setExpression" "', argument " "2"" of type '" "char *""'");
   14720             :     }
   14721           0 :     arg2 = (char *)(buf2);
   14722           0 :     result = (int)labelObj_setExpression(arg1,arg2);
   14723           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   14724             :     
   14725           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   14726           0 :     XSRETURN(argvi);
   14727             :   fail:
   14728             :     
   14729           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   14730           0 :     SWIG_croak_null();
   14731             :   }
   14732             : }
   14733             : 
   14734             : 
   14735           0 : XS(_wrap_labelObj_getExpressionString) {
   14736             :   {
   14737             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   14738           0 :     void *argp1 = 0 ;
   14739             :     int res1 = 0 ;
   14740             :     int argvi = 0;
   14741             :     char *result = 0 ;
   14742           0 :     dXSARGS;
   14743             :     
   14744           0 :     if ((items < 1) || (items > 1)) {
   14745           0 :       SWIG_croak("Usage: labelObj_getExpressionString(self);");
   14746             :     }
   14747           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   14748           0 :     if (!SWIG_IsOK(res1)) {
   14749           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_getExpressionString" "', argument " "1"" of type '" "struct labelObj *""'"); 
   14750             :     }
   14751           0 :     arg1 = (struct labelObj *)(argp1);
   14752             :     result = (char *)labelObj_getExpressionString(arg1);
   14753           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   14754             :     
   14755           0 :     free((char*)result);
   14756           0 :     XSRETURN(argvi);
   14757             :   fail:
   14758             :     
   14759           0 :     SWIG_croak_null();
   14760             :   }
   14761             : }
   14762             : 
   14763             : 
   14764           0 : XS(_wrap_labelObj_setText) {
   14765             :   {
   14766             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   14767             :     char *arg2 = (char *) 0 ;
   14768           0 :     void *argp1 = 0 ;
   14769             :     int res1 = 0 ;
   14770             :     int res2 ;
   14771           0 :     char *buf2 = 0 ;
   14772           0 :     int alloc2 = 0 ;
   14773             :     int argvi = 0;
   14774             :     int result;
   14775           0 :     dXSARGS;
   14776             :     
   14777           0 :     if ((items < 2) || (items > 2)) {
   14778           0 :       SWIG_croak("Usage: labelObj_setText(self,text);");
   14779             :     }
   14780           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   14781           0 :     if (!SWIG_IsOK(res1)) {
   14782           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_setText" "', argument " "1"" of type '" "struct labelObj *""'"); 
   14783             :     }
   14784           0 :     arg1 = (struct labelObj *)(argp1);
   14785           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   14786           0 :     if (!SWIG_IsOK(res2)) {
   14787           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "labelObj_setText" "', argument " "2"" of type '" "char *""'");
   14788             :     }
   14789           0 :     arg2 = (char *)(buf2);
   14790           0 :     result = (int)labelObj_setText(arg1,arg2);
   14791           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   14792             :     
   14793           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   14794           0 :     XSRETURN(argvi);
   14795             :   fail:
   14796             :     
   14797           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   14798           0 :     SWIG_croak_null();
   14799             :   }
   14800             : }
   14801             : 
   14802             : 
   14803           0 : XS(_wrap_labelObj_getTextString) {
   14804             :   {
   14805             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   14806           0 :     void *argp1 = 0 ;
   14807             :     int res1 = 0 ;
   14808             :     int argvi = 0;
   14809             :     char *result = 0 ;
   14810           0 :     dXSARGS;
   14811             :     
   14812           0 :     if ((items < 1) || (items > 1)) {
   14813           0 :       SWIG_croak("Usage: labelObj_getTextString(self);");
   14814             :     }
   14815           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   14816           0 :     if (!SWIG_IsOK(res1)) {
   14817           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_getTextString" "', argument " "1"" of type '" "struct labelObj *""'"); 
   14818             :     }
   14819           0 :     arg1 = (struct labelObj *)(argp1);
   14820             :     result = (char *)labelObj_getTextString(arg1);
   14821           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   14822             :     
   14823           0 :     free((char*)result);
   14824           0 :     XSRETURN(argvi);
   14825             :   fail:
   14826             :     
   14827           0 :     SWIG_croak_null();
   14828             :   }
   14829             : }
   14830             : 
   14831             : 
   14832           0 : XS(_wrap_labelObj_getStyle) {
   14833             :   {
   14834             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   14835             :     int arg2 ;
   14836           0 :     void *argp1 = 0 ;
   14837             :     int res1 = 0 ;
   14838             :     int val2 ;
   14839             :     int ecode2 = 0 ;
   14840             :     int argvi = 0;
   14841             :     styleObj *result = 0 ;
   14842           0 :     dXSARGS;
   14843             :     
   14844           0 :     if ((items < 2) || (items > 2)) {
   14845           0 :       SWIG_croak("Usage: labelObj_getStyle(self,i);");
   14846             :     }
   14847           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   14848           0 :     if (!SWIG_IsOK(res1)) {
   14849           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_getStyle" "', argument " "1"" of type '" "struct labelObj *""'"); 
   14850             :     }
   14851           0 :     arg1 = (struct labelObj *)(argp1);
   14852           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   14853           0 :     if (!SWIG_IsOK(ecode2)) {
   14854           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_getStyle" "', argument " "2"" of type '" "int""'");
   14855             :     } 
   14856           0 :     arg2 = (int)(val2);
   14857           0 :     result = (styleObj *)labelObj_getStyle(arg1,arg2);
   14858           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_styleObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   14859             :     
   14860             :     
   14861           0 :     XSRETURN(argvi);
   14862             :   fail:
   14863             :     
   14864             :     
   14865           0 :     SWIG_croak_null();
   14866             :   }
   14867             : }
   14868             : 
   14869             : 
   14870           0 : XS(_wrap_labelObj_insertStyle) {
   14871             :   {
   14872             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   14873             :     styleObj *arg2 = (styleObj *) 0 ;
   14874             :     int arg3 = (int) -1 ;
   14875           0 :     void *argp1 = 0 ;
   14876             :     int res1 = 0 ;
   14877           0 :     void *argp2 = 0 ;
   14878             :     int res2 = 0 ;
   14879             :     int val3 ;
   14880             :     int ecode3 = 0 ;
   14881             :     int argvi = 0;
   14882             :     int result;
   14883           0 :     dXSARGS;
   14884             :     
   14885           0 :     if ((items < 2) || (items > 3)) {
   14886           0 :       SWIG_croak("Usage: labelObj_insertStyle(self,style,index);");
   14887             :     }
   14888           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   14889           0 :     if (!SWIG_IsOK(res1)) {
   14890           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_insertStyle" "', argument " "1"" of type '" "struct labelObj *""'"); 
   14891             :     }
   14892           0 :     arg1 = (struct labelObj *)(argp1);
   14893           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_styleObj, 0 |  0 );
   14894           0 :     if (!SWIG_IsOK(res2)) {
   14895           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "labelObj_insertStyle" "', argument " "2"" of type '" "styleObj *""'"); 
   14896             :     }
   14897           0 :     arg2 = (styleObj *)(argp2);
   14898           0 :     if (items > 2) {
   14899           0 :       ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
   14900           0 :       if (!SWIG_IsOK(ecode3)) {
   14901           0 :         SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "labelObj_insertStyle" "', argument " "3"" of type '" "int""'");
   14902             :       } 
   14903           0 :       arg3 = (int)(val3);
   14904             :     }
   14905             :     result = (int)labelObj_insertStyle(arg1,arg2,arg3);
   14906           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   14907             :     
   14908             :     
   14909             :     
   14910           0 :     XSRETURN(argvi);
   14911             :   fail:
   14912             :     
   14913             :     
   14914             :     
   14915           0 :     SWIG_croak_null();
   14916             :   }
   14917             : }
   14918             : 
   14919             : 
   14920           0 : XS(_wrap_labelObj_removeStyle) {
   14921             :   {
   14922             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   14923             :     int arg2 ;
   14924           0 :     void *argp1 = 0 ;
   14925             :     int res1 = 0 ;
   14926             :     int val2 ;
   14927             :     int ecode2 = 0 ;
   14928             :     int argvi = 0;
   14929             :     styleObj *result = 0 ;
   14930           0 :     dXSARGS;
   14931             :     
   14932           0 :     if ((items < 2) || (items > 2)) {
   14933           0 :       SWIG_croak("Usage: labelObj_removeStyle(self,index);");
   14934             :     }
   14935           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   14936           0 :     if (!SWIG_IsOK(res1)) {
   14937           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_removeStyle" "', argument " "1"" of type '" "struct labelObj *""'"); 
   14938             :     }
   14939           0 :     arg1 = (struct labelObj *)(argp1);
   14940           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   14941           0 :     if (!SWIG_IsOK(ecode2)) {
   14942           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_removeStyle" "', argument " "2"" of type '" "int""'");
   14943             :     } 
   14944           0 :     arg2 = (int)(val2);
   14945           0 :     result = (styleObj *)labelObj_removeStyle(arg1,arg2);
   14946           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_styleObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   14947             :     
   14948             :     
   14949           0 :     XSRETURN(argvi);
   14950             :   fail:
   14951             :     
   14952             :     
   14953           0 :     SWIG_croak_null();
   14954             :   }
   14955             : }
   14956             : 
   14957             : 
   14958           0 : XS(_wrap_labelObj_moveStyleUp) {
   14959             :   {
   14960             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   14961             :     int arg2 ;
   14962           0 :     void *argp1 = 0 ;
   14963             :     int res1 = 0 ;
   14964             :     int val2 ;
   14965             :     int ecode2 = 0 ;
   14966             :     int argvi = 0;
   14967             :     int result;
   14968           0 :     dXSARGS;
   14969             :     
   14970           0 :     if ((items < 2) || (items > 2)) {
   14971           0 :       SWIG_croak("Usage: labelObj_moveStyleUp(self,index);");
   14972             :     }
   14973           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   14974           0 :     if (!SWIG_IsOK(res1)) {
   14975           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_moveStyleUp" "', argument " "1"" of type '" "struct labelObj *""'"); 
   14976             :     }
   14977           0 :     arg1 = (struct labelObj *)(argp1);
   14978           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   14979           0 :     if (!SWIG_IsOK(ecode2)) {
   14980           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_moveStyleUp" "', argument " "2"" of type '" "int""'");
   14981             :     } 
   14982           0 :     arg2 = (int)(val2);
   14983             :     result = (int)labelObj_moveStyleUp(arg1,arg2);
   14984           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   14985             :     
   14986             :     
   14987           0 :     XSRETURN(argvi);
   14988             :   fail:
   14989             :     
   14990             :     
   14991           0 :     SWIG_croak_null();
   14992             :   }
   14993             : }
   14994             : 
   14995             : 
   14996           0 : XS(_wrap_labelObj_moveStyleDown) {
   14997             :   {
   14998             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   14999             :     int arg2 ;
   15000           0 :     void *argp1 = 0 ;
   15001             :     int res1 = 0 ;
   15002             :     int val2 ;
   15003             :     int ecode2 = 0 ;
   15004             :     int argvi = 0;
   15005             :     int result;
   15006           0 :     dXSARGS;
   15007             :     
   15008           0 :     if ((items < 2) || (items > 2)) {
   15009           0 :       SWIG_croak("Usage: labelObj_moveStyleDown(self,index);");
   15010             :     }
   15011           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   15012           0 :     if (!SWIG_IsOK(res1)) {
   15013           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_moveStyleDown" "', argument " "1"" of type '" "struct labelObj *""'"); 
   15014             :     }
   15015           0 :     arg1 = (struct labelObj *)(argp1);
   15016           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   15017           0 :     if (!SWIG_IsOK(ecode2)) {
   15018           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_moveStyleDown" "', argument " "2"" of type '" "int""'");
   15019             :     } 
   15020           0 :     arg2 = (int)(val2);
   15021             :     result = (int)labelObj_moveStyleDown(arg1,arg2);
   15022           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   15023             :     
   15024             :     
   15025           0 :     XSRETURN(argvi);
   15026             :   fail:
   15027             :     
   15028             :     
   15029           0 :     SWIG_croak_null();
   15030             :   }
   15031             : }
   15032             : 
   15033             : 
   15034           0 : XS(_wrap_classObj_status_set) {
   15035             :   {
   15036             :     struct classObj *arg1 = (struct classObj *) 0 ;
   15037             :     int arg2 ;
   15038           0 :     void *argp1 = 0 ;
   15039             :     int res1 = 0 ;
   15040             :     int val2 ;
   15041             :     int ecode2 = 0 ;
   15042             :     int argvi = 0;
   15043           0 :     dXSARGS;
   15044             :     
   15045           0 :     if ((items < 2) || (items > 2)) {
   15046           0 :       SWIG_croak("Usage: classObj_status_set(self,status);");
   15047             :     }
   15048           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   15049           0 :     if (!SWIG_IsOK(res1)) {
   15050           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_status_set" "', argument " "1"" of type '" "struct classObj *""'"); 
   15051             :     }
   15052           0 :     arg1 = (struct classObj *)(argp1);
   15053           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   15054           0 :     if (!SWIG_IsOK(ecode2)) {
   15055           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "classObj_status_set" "', argument " "2"" of type '" "int""'");
   15056             :     } 
   15057           0 :     arg2 = (int)(val2);
   15058           0 :     if (arg1) (arg1)->status = arg2;
   15059           0 :     ST(argvi) = sv_newmortal();
   15060             :     
   15061             :     
   15062           0 :     XSRETURN(argvi);
   15063             :   fail:
   15064             :     
   15065             :     
   15066           0 :     SWIG_croak_null();
   15067             :   }
   15068             : }
   15069             : 
   15070             : 
   15071           0 : XS(_wrap_classObj_status_get) {
   15072             :   {
   15073             :     struct classObj *arg1 = (struct classObj *) 0 ;
   15074           0 :     void *argp1 = 0 ;
   15075             :     int res1 = 0 ;
   15076             :     int argvi = 0;
   15077             :     int result;
   15078           0 :     dXSARGS;
   15079             :     
   15080           0 :     if ((items < 1) || (items > 1)) {
   15081           0 :       SWIG_croak("Usage: classObj_status_get(self);");
   15082             :     }
   15083           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   15084           0 :     if (!SWIG_IsOK(res1)) {
   15085           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_status_get" "', argument " "1"" of type '" "struct classObj *""'"); 
   15086             :     }
   15087           0 :     arg1 = (struct classObj *)(argp1);
   15088           0 :     result = (int) ((arg1)->status);
   15089           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   15090             :     
   15091           0 :     XSRETURN(argvi);
   15092             :   fail:
   15093             :     
   15094           0 :     SWIG_croak_null();
   15095             :   }
   15096             : }
   15097             : 
   15098             : 
   15099           0 : XS(_wrap_classObj_numstyles_get) {
   15100             :   {
   15101             :     struct classObj *arg1 = (struct classObj *) 0 ;
   15102           0 :     void *argp1 = 0 ;
   15103             :     int res1 = 0 ;
   15104             :     int argvi = 0;
   15105             :     int result;
   15106           0 :     dXSARGS;
   15107             :     
   15108           0 :     if ((items < 1) || (items > 1)) {
   15109           0 :       SWIG_croak("Usage: classObj_numstyles_get(self);");
   15110             :     }
   15111           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   15112           0 :     if (!SWIG_IsOK(res1)) {
   15113           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_numstyles_get" "', argument " "1"" of type '" "struct classObj *""'"); 
   15114             :     }
   15115           0 :     arg1 = (struct classObj *)(argp1);
   15116           0 :     result = (int) ((arg1)->numstyles);
   15117           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   15118             :     
   15119           0 :     XSRETURN(argvi);
   15120             :   fail:
   15121             :     
   15122           0 :     SWIG_croak_null();
   15123             :   }
   15124             : }
   15125             : 
   15126             : 
   15127           0 : XS(_wrap_classObj_numlabels_set) {
   15128             :   {
   15129             :     struct classObj *arg1 = (struct classObj *) 0 ;
   15130             :     int arg2 ;
   15131           0 :     void *argp1 = 0 ;
   15132             :     int res1 = 0 ;
   15133             :     int val2 ;
   15134             :     int ecode2 = 0 ;
   15135             :     int argvi = 0;
   15136           0 :     dXSARGS;
   15137             :     
   15138           0 :     if ((items < 2) || (items > 2)) {
   15139           0 :       SWIG_croak("Usage: classObj_numlabels_set(self,numlabels);");
   15140             :     }
   15141           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   15142           0 :     if (!SWIG_IsOK(res1)) {
   15143           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_numlabels_set" "', argument " "1"" of type '" "struct classObj *""'"); 
   15144             :     }
   15145           0 :     arg1 = (struct classObj *)(argp1);
   15146           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   15147           0 :     if (!SWIG_IsOK(ecode2)) {
   15148           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "classObj_numlabels_set" "', argument " "2"" of type '" "int""'");
   15149             :     } 
   15150           0 :     arg2 = (int)(val2);
   15151           0 :     if (arg1) (arg1)->numlabels = arg2;
   15152           0 :     ST(argvi) = sv_newmortal();
   15153             :     
   15154             :     
   15155           0 :     XSRETURN(argvi);
   15156             :   fail:
   15157             :     
   15158             :     
   15159           0 :     SWIG_croak_null();
   15160             :   }
   15161             : }
   15162             : 
   15163             : 
   15164           0 : XS(_wrap_classObj_numlabels_get) {
   15165             :   {
   15166             :     struct classObj *arg1 = (struct classObj *) 0 ;
   15167           0 :     void *argp1 = 0 ;
   15168             :     int res1 = 0 ;
   15169             :     int argvi = 0;
   15170             :     int result;
   15171           0 :     dXSARGS;
   15172             :     
   15173           0 :     if ((items < 1) || (items > 1)) {
   15174           0 :       SWIG_croak("Usage: classObj_numlabels_get(self);");
   15175             :     }
   15176           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   15177           0 :     if (!SWIG_IsOK(res1)) {
   15178           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_numlabels_get" "', argument " "1"" of type '" "struct classObj *""'"); 
   15179             :     }
   15180           0 :     arg1 = (struct classObj *)(argp1);
   15181           0 :     result = (int) ((arg1)->numlabels);
   15182           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   15183             :     
   15184           0 :     XSRETURN(argvi);
   15185             :   fail:
   15186             :     
   15187           0 :     SWIG_croak_null();
   15188             :   }
   15189             : }
   15190             : 
   15191             : 
   15192           0 : XS(_wrap_classObj_name_set) {
   15193             :   {
   15194             :     struct classObj *arg1 = (struct classObj *) 0 ;
   15195             :     char *arg2 = (char *) 0 ;
   15196           0 :     void *argp1 = 0 ;
   15197             :     int res1 = 0 ;
   15198             :     int res2 ;
   15199           0 :     char *buf2 = 0 ;
   15200           0 :     int alloc2 = 0 ;
   15201             :     int argvi = 0;
   15202           0 :     dXSARGS;
   15203             :     
   15204           0 :     if ((items < 2) || (items > 2)) {
   15205           0 :       SWIG_croak("Usage: classObj_name_set(self,name);");
   15206             :     }
   15207           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   15208           0 :     if (!SWIG_IsOK(res1)) {
   15209           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_name_set" "', argument " "1"" of type '" "struct classObj *""'"); 
   15210             :     }
   15211           0 :     arg1 = (struct classObj *)(argp1);
   15212           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   15213           0 :     if (!SWIG_IsOK(res2)) {
   15214           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_name_set" "', argument " "2"" of type '" "char *""'");
   15215             :     }
   15216           0 :     arg2 = (char *)(buf2);
   15217             :     {
   15218           0 :       if (arg1->name) free((char*)arg1->name);
   15219           0 :       if (arg2) {
   15220           0 :         arg1->name = (char *) malloc(strlen(arg2)+1);
   15221             :         strcpy((char*)arg1->name,arg2);
   15222             :       } else {
   15223           0 :         arg1->name = 0;
   15224             :       }
   15225             :     }
   15226           0 :     ST(argvi) = sv_newmortal();
   15227             :     
   15228           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   15229           0 :     XSRETURN(argvi);
   15230             :   fail:
   15231             :     
   15232           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   15233           0 :     SWIG_croak_null();
   15234             :   }
   15235             : }
   15236             : 
   15237             : 
   15238           0 : XS(_wrap_classObj_name_get) {
   15239             :   {
   15240             :     struct classObj *arg1 = (struct classObj *) 0 ;
   15241           0 :     void *argp1 = 0 ;
   15242             :     int res1 = 0 ;
   15243             :     int argvi = 0;
   15244             :     char *result = 0 ;
   15245           0 :     dXSARGS;
   15246             :     
   15247           0 :     if ((items < 1) || (items > 1)) {
   15248           0 :       SWIG_croak("Usage: classObj_name_get(self);");
   15249             :     }
   15250           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   15251           0 :     if (!SWIG_IsOK(res1)) {
   15252           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_name_get" "', argument " "1"" of type '" "struct classObj *""'"); 
   15253             :     }
   15254           0 :     arg1 = (struct classObj *)(argp1);
   15255           0 :     result = (char *) ((arg1)->name);
   15256           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   15257             :     
   15258           0 :     XSRETURN(argvi);
   15259             :   fail:
   15260             :     
   15261           0 :     SWIG_croak_null();
   15262             :   }
   15263             : }
   15264             : 
   15265             : 
   15266           0 : XS(_wrap_classObj_title_set) {
   15267             :   {
   15268             :     struct classObj *arg1 = (struct classObj *) 0 ;
   15269             :     char *arg2 = (char *) 0 ;
   15270           0 :     void *argp1 = 0 ;
   15271             :     int res1 = 0 ;
   15272             :     int res2 ;
   15273           0 :     char *buf2 = 0 ;
   15274           0 :     int alloc2 = 0 ;
   15275             :     int argvi = 0;
   15276           0 :     dXSARGS;
   15277             :     
   15278           0 :     if ((items < 2) || (items > 2)) {
   15279           0 :       SWIG_croak("Usage: classObj_title_set(self,title);");
   15280             :     }
   15281           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   15282           0 :     if (!SWIG_IsOK(res1)) {
   15283           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_title_set" "', argument " "1"" of type '" "struct classObj *""'"); 
   15284             :     }
   15285           0 :     arg1 = (struct classObj *)(argp1);
   15286           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   15287           0 :     if (!SWIG_IsOK(res2)) {
   15288           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_title_set" "', argument " "2"" of type '" "char *""'");
   15289             :     }
   15290           0 :     arg2 = (char *)(buf2);
   15291             :     {
   15292           0 :       if (arg1->title) free((char*)arg1->title);
   15293           0 :       if (arg2) {
   15294           0 :         arg1->title = (char *) malloc(strlen(arg2)+1);
   15295             :         strcpy((char*)arg1->title,arg2);
   15296             :       } else {
   15297           0 :         arg1->title = 0;
   15298             :       }
   15299             :     }
   15300           0 :     ST(argvi) = sv_newmortal();
   15301             :     
   15302           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   15303           0 :     XSRETURN(argvi);
   15304             :   fail:
   15305             :     
   15306           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   15307           0 :     SWIG_croak_null();
   15308             :   }
   15309             : }
   15310             : 
   15311             : 
   15312           0 : XS(_wrap_classObj_title_get) {
   15313             :   {
   15314             :     struct classObj *arg1 = (struct classObj *) 0 ;
   15315           0 :     void *argp1 = 0 ;
   15316             :     int res1 = 0 ;
   15317             :     int argvi = 0;
   15318             :     char *result = 0 ;
   15319           0 :     dXSARGS;
   15320             :     
   15321           0 :     if ((items < 1) || (items > 1)) {
   15322           0 :       SWIG_croak("Usage: classObj_title_get(self);");
   15323             :     }
   15324           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   15325           0 :     if (!SWIG_IsOK(res1)) {
   15326           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_title_get" "', argument " "1"" of type '" "struct classObj *""'"); 
   15327             :     }
   15328           0 :     arg1 = (struct classObj *)(argp1);
   15329           0 :     result = (char *) ((arg1)->title);
   15330           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   15331             :     
   15332           0 :     XSRETURN(argvi);
   15333             :   fail:
   15334             :     
   15335           0 :     SWIG_croak_null();
   15336             :   }
   15337             : }
   15338             : 
   15339             : 
   15340           0 : XS(_wrap_classObj_template_set) {
   15341             :   {
   15342             :     struct classObj *arg1 = (struct classObj *) 0 ;
   15343             :     char *arg2 = (char *) 0 ;
   15344           0 :     void *argp1 = 0 ;
   15345             :     int res1 = 0 ;
   15346             :     int res2 ;
   15347           0 :     char *buf2 = 0 ;
   15348           0 :     int alloc2 = 0 ;
   15349             :     int argvi = 0;
   15350           0 :     dXSARGS;
   15351             :     
   15352           0 :     if ((items < 2) || (items > 2)) {
   15353           0 :       SWIG_croak("Usage: classObj_template_set(self,template);");
   15354             :     }
   15355           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   15356           0 :     if (!SWIG_IsOK(res1)) {
   15357           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_template_set" "', argument " "1"" of type '" "struct classObj *""'"); 
   15358             :     }
   15359           0 :     arg1 = (struct classObj *)(argp1);
   15360           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   15361           0 :     if (!SWIG_IsOK(res2)) {
   15362           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_template_set" "', argument " "2"" of type '" "char *""'");
   15363             :     }
   15364           0 :     arg2 = (char *)(buf2);
   15365             :     {
   15366           0 :       if (arg1->template) free((char*)arg1->template);
   15367           0 :       if (arg2) {
   15368           0 :         arg1->template = (char *) malloc(strlen(arg2)+1);
   15369             :         strcpy((char*)arg1->template,arg2);
   15370             :       } else {
   15371           0 :         arg1->template = 0;
   15372             :       }
   15373             :     }
   15374           0 :     ST(argvi) = sv_newmortal();
   15375             :     
   15376           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   15377           0 :     XSRETURN(argvi);
   15378             :   fail:
   15379             :     
   15380           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   15381           0 :     SWIG_croak_null();
   15382             :   }
   15383             : }
   15384             : 
   15385             : 
   15386           0 : XS(_wrap_classObj_template_get) {
   15387             :   {
   15388             :     struct classObj *arg1 = (struct classObj *) 0 ;
   15389           0 :     void *argp1 = 0 ;
   15390             :     int res1 = 0 ;
   15391             :     int argvi = 0;
   15392             :     char *result = 0 ;
   15393           0 :     dXSARGS;
   15394             :     
   15395           0 :     if ((items < 1) || (items > 1)) {
   15396           0 :       SWIG_croak("Usage: classObj_template_get(self);");
   15397             :     }
   15398           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   15399           0 :     if (!SWIG_IsOK(res1)) {
   15400           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_template_get" "', argument " "1"" of type '" "struct classObj *""'"); 
   15401             :     }
   15402           0 :     arg1 = (struct classObj *)(argp1);
   15403           0 :     result = (char *) ((arg1)->template);
   15404           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   15405             :     
   15406           0 :     XSRETURN(argvi);
   15407             :   fail:
   15408             :     
   15409           0 :     SWIG_croak_null();
   15410             :   }
   15411             : }
   15412             : 
   15413             : 
   15414           0 : XS(_wrap_classObj_metadata_get) {
   15415             :   {
   15416             :     struct classObj *arg1 = (struct classObj *) 0 ;
   15417           0 :     void *argp1 = 0 ;
   15418             :     int res1 = 0 ;
   15419             :     int argvi = 0;
   15420             :     hashTableObj *result = 0 ;
   15421           0 :     dXSARGS;
   15422             :     
   15423           0 :     if ((items < 1) || (items > 1)) {
   15424           0 :       SWIG_croak("Usage: classObj_metadata_get(self);");
   15425             :     }
   15426           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   15427           0 :     if (!SWIG_IsOK(res1)) {
   15428           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_metadata_get" "', argument " "1"" of type '" "struct classObj *""'"); 
   15429             :     }
   15430           0 :     arg1 = (struct classObj *)(argp1);
   15431           0 :     result = (hashTableObj *)& ((arg1)->metadata);
   15432           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_hashTableObj, 0 | SWIG_SHADOW); argvi++ ;
   15433             :     
   15434           0 :     XSRETURN(argvi);
   15435             :   fail:
   15436             :     
   15437           0 :     SWIG_croak_null();
   15438             :   }
   15439             : }
   15440             : 
   15441             : 
   15442           0 : XS(_wrap_classObj_validation_get) {
   15443             :   {
   15444             :     struct classObj *arg1 = (struct classObj *) 0 ;
   15445           0 :     void *argp1 = 0 ;
   15446             :     int res1 = 0 ;
   15447             :     int argvi = 0;
   15448             :     hashTableObj *result = 0 ;
   15449           0 :     dXSARGS;
   15450             :     
   15451           0 :     if ((items < 1) || (items > 1)) {
   15452           0 :       SWIG_croak("Usage: classObj_validation_get(self);");
   15453             :     }
   15454           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   15455           0 :     if (!SWIG_IsOK(res1)) {
   15456           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_validation_get" "', argument " "1"" of type '" "struct classObj *""'"); 
   15457             :     }
   15458           0 :     arg1 = (struct classObj *)(argp1);
   15459           0 :     result = (hashTableObj *)& ((arg1)->validation);
   15460           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_hashTableObj, 0 | SWIG_SHADOW); argvi++ ;
   15461             :     
   15462           0 :     XSRETURN(argvi);
   15463             :   fail:
   15464             :     
   15465           0 :     SWIG_croak_null();
   15466             :   }
   15467             : }
   15468             : 
   15469             : 
   15470           0 : XS(_wrap_classObj_minscaledenom_set) {
   15471             :   {
   15472             :     struct classObj *arg1 = (struct classObj *) 0 ;
   15473             :     double arg2 ;
   15474           0 :     void *argp1 = 0 ;
   15475             :     int res1 = 0 ;
   15476             :     double val2 ;
   15477             :     int ecode2 = 0 ;
   15478             :     int argvi = 0;
   15479           0 :     dXSARGS;
   15480             :     
   15481           0 :     if ((items < 2) || (items > 2)) {
   15482           0 :       SWIG_croak("Usage: classObj_minscaledenom_set(self,minscaledenom);");
   15483             :     }
   15484           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   15485           0 :     if (!SWIG_IsOK(res1)) {
   15486           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_minscaledenom_set" "', argument " "1"" of type '" "struct classObj *""'"); 
   15487             :     }
   15488           0 :     arg1 = (struct classObj *)(argp1);
   15489           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   15490           0 :     if (!SWIG_IsOK(ecode2)) {
   15491           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "classObj_minscaledenom_set" "', argument " "2"" of type '" "double""'");
   15492             :     } 
   15493           0 :     arg2 = (double)(val2);
   15494           0 :     if (arg1) (arg1)->minscaledenom = arg2;
   15495           0 :     ST(argvi) = sv_newmortal();
   15496             :     
   15497             :     
   15498           0 :     XSRETURN(argvi);
   15499             :   fail:
   15500             :     
   15501             :     
   15502           0 :     SWIG_croak_null();
   15503             :   }
   15504             : }
   15505             : 
   15506             : 
   15507           0 : XS(_wrap_classObj_minscaledenom_get) {
   15508             :   {
   15509             :     struct classObj *arg1 = (struct classObj *) 0 ;
   15510           0 :     void *argp1 = 0 ;
   15511             :     int res1 = 0 ;
   15512             :     int argvi = 0;
   15513             :     double result;
   15514           0 :     dXSARGS;
   15515             :     
   15516           0 :     if ((items < 1) || (items > 1)) {
   15517           0 :       SWIG_croak("Usage: classObj_minscaledenom_get(self);");
   15518             :     }
   15519           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   15520           0 :     if (!SWIG_IsOK(res1)) {
   15521           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_minscaledenom_get" "', argument " "1"" of type '" "struct classObj *""'"); 
   15522             :     }
   15523           0 :     arg1 = (struct classObj *)(argp1);
   15524           0 :     result = (double) ((arg1)->minscaledenom);
   15525           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   15526             :     
   15527           0 :     XSRETURN(argvi);
   15528             :   fail:
   15529             :     
   15530           0 :     SWIG_croak_null();
   15531             :   }
   15532             : }
   15533             : 
   15534             : 
   15535           0 : XS(_wrap_classObj_maxscaledenom_set) {
   15536             :   {
   15537             :     struct classObj *arg1 = (struct classObj *) 0 ;
   15538             :     double arg2 ;
   15539           0 :     void *argp1 = 0 ;
   15540             :     int res1 = 0 ;
   15541             :     double val2 ;
   15542             :     int ecode2 = 0 ;
   15543             :     int argvi = 0;
   15544           0 :     dXSARGS;
   15545             :     
   15546           0 :     if ((items < 2) || (items > 2)) {
   15547           0 :       SWIG_croak("Usage: classObj_maxscaledenom_set(self,maxscaledenom);");
   15548             :     }
   15549           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   15550           0 :     if (!SWIG_IsOK(res1)) {
   15551           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_maxscaledenom_set" "', argument " "1"" of type '" "struct classObj *""'"); 
   15552             :     }
   15553           0 :     arg1 = (struct classObj *)(argp1);
   15554           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   15555           0 :     if (!SWIG_IsOK(ecode2)) {
   15556           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "classObj_maxscaledenom_set" "', argument " "2"" of type '" "double""'");
   15557             :     } 
   15558           0 :     arg2 = (double)(val2);
   15559           0 :     if (arg1) (arg1)->maxscaledenom = arg2;
   15560           0 :     ST(argvi) = sv_newmortal();
   15561             :     
   15562             :     
   15563           0 :     XSRETURN(argvi);
   15564             :   fail:
   15565             :     
   15566             :     
   15567           0 :     SWIG_croak_null();
   15568             :   }
   15569             : }
   15570             : 
   15571             : 
   15572           0 : XS(_wrap_classObj_maxscaledenom_get) {
   15573             :   {
   15574             :     struct classObj *arg1 = (struct classObj *) 0 ;
   15575           0 :     void *argp1 = 0 ;
   15576             :     int res1 = 0 ;
   15577             :     int argvi = 0;
   15578             :     double result;
   15579           0 :     dXSARGS;
   15580             :     
   15581           0 :     if ((items < 1) || (items > 1)) {
   15582           0 :       SWIG_croak("Usage: classObj_maxscaledenom_get(self);");
   15583             :     }
   15584           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   15585           0 :     if (!SWIG_IsOK(res1)) {
   15586           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_maxscaledenom_get" "', argument " "1"" of type '" "struct classObj *""'"); 
   15587             :     }
   15588           0 :     arg1 = (struct classObj *)(argp1);
   15589           0 :     result = (double) ((arg1)->maxscaledenom);
   15590           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   15591             :     
   15592           0 :     XSRETURN(argvi);
   15593             :   fail:
   15594             :     
   15595           0 :     SWIG_croak_null();
   15596             :   }
   15597             : }
   15598             : 
   15599             : 
   15600           0 : XS(_wrap_classObj_minfeaturesize_set) {
   15601             :   {
   15602             :     struct classObj *arg1 = (struct classObj *) 0 ;
   15603             :     int arg2 ;
   15604           0 :     void *argp1 = 0 ;
   15605             :     int res1 = 0 ;
   15606             :     int val2 ;
   15607             :     int ecode2 = 0 ;
   15608             :     int argvi = 0;
   15609           0 :     dXSARGS;
   15610             :     
   15611           0 :     if ((items < 2) || (items > 2)) {
   15612           0 :       SWIG_croak("Usage: classObj_minfeaturesize_set(self,minfeaturesize);");
   15613             :     }
   15614           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   15615           0 :     if (!SWIG_IsOK(res1)) {
   15616           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_minfeaturesize_set" "', argument " "1"" of type '" "struct classObj *""'"); 
   15617             :     }
   15618           0 :     arg1 = (struct classObj *)(argp1);
   15619           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   15620           0 :     if (!SWIG_IsOK(ecode2)) {
   15621           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "classObj_minfeaturesize_set" "', argument " "2"" of type '" "int""'");
   15622             :     } 
   15623           0 :     arg2 = (int)(val2);
   15624           0 :     if (arg1) (arg1)->minfeaturesize = arg2;
   15625           0 :     ST(argvi) = sv_newmortal();
   15626             :     
   15627             :     
   15628           0 :     XSRETURN(argvi);
   15629             :   fail:
   15630             :     
   15631             :     
   15632           0 :     SWIG_croak_null();
   15633             :   }
   15634             : }
   15635             : 
   15636             : 
   15637           0 : XS(_wrap_classObj_minfeaturesize_get) {
   15638             :   {
   15639             :     struct classObj *arg1 = (struct classObj *) 0 ;
   15640           0 :     void *argp1 = 0 ;
   15641             :     int res1 = 0 ;
   15642             :     int argvi = 0;
   15643             :     int result;
   15644           0 :     dXSARGS;
   15645             :     
   15646           0 :     if ((items < 1) || (items > 1)) {
   15647           0 :       SWIG_croak("Usage: classObj_minfeaturesize_get(self);");
   15648             :     }
   15649           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   15650           0 :     if (!SWIG_IsOK(res1)) {
   15651           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_minfeaturesize_get" "', argument " "1"" of type '" "struct classObj *""'"); 
   15652             :     }
   15653           0 :     arg1 = (struct classObj *)(argp1);
   15654           0 :     result = (int) ((arg1)->minfeaturesize);
   15655           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   15656             :     
   15657           0 :     XSRETURN(argvi);
   15658             :   fail:
   15659             :     
   15660           0 :     SWIG_croak_null();
   15661             :   }
   15662             : }
   15663             : 
   15664             : 
   15665           0 : XS(_wrap_classObj_refcount_get) {
   15666             :   {
   15667             :     struct classObj *arg1 = (struct classObj *) 0 ;
   15668           0 :     void *argp1 = 0 ;
   15669             :     int res1 = 0 ;
   15670             :     int argvi = 0;
   15671             :     int result;
   15672           0 :     dXSARGS;
   15673             :     
   15674           0 :     if ((items < 1) || (items > 1)) {
   15675           0 :       SWIG_croak("Usage: classObj_refcount_get(self);");
   15676             :     }
   15677           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   15678           0 :     if (!SWIG_IsOK(res1)) {
   15679           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_refcount_get" "', argument " "1"" of type '" "struct classObj *""'"); 
   15680             :     }
   15681           0 :     arg1 = (struct classObj *)(argp1);
   15682           0 :     result = (int) ((arg1)->refcount);
   15683           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   15684             :     
   15685           0 :     XSRETURN(argvi);
   15686             :   fail:
   15687             :     
   15688           0 :     SWIG_croak_null();
   15689             :   }
   15690             : }
   15691             : 
   15692             : 
   15693           1 : XS(_wrap_classObj_layer_get) {
   15694             :   {
   15695             :     struct classObj *arg1 = (struct classObj *) 0 ;
   15696           1 :     void *argp1 = 0 ;
   15697             :     int res1 = 0 ;
   15698             :     int argvi = 0;
   15699             :     struct layerObj *result = 0 ;
   15700           1 :     dXSARGS;
   15701             :     
   15702           1 :     if ((items < 1) || (items > 1)) {
   15703           0 :       SWIG_croak("Usage: classObj_layer_get(self);");
   15704             :     }
   15705           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   15706           1 :     if (!SWIG_IsOK(res1)) {
   15707           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_layer_get" "', argument " "1"" of type '" "struct classObj *""'"); 
   15708             :     }
   15709           1 :     arg1 = (struct classObj *)(argp1);
   15710             :     {
   15711             :       /* Accessing layer */
   15712           1 :       result = (struct layerObj *) ((arg1)->layer);;
   15713           1 :       MS_REFCNT_INCR(result);
   15714             :     }
   15715           1 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_layerObj, 0 | SWIG_SHADOW); argvi++ ;
   15716             :     
   15717           1 :     XSRETURN(argvi);
   15718             :   fail:
   15719             :     
   15720           0 :     SWIG_croak_null();
   15721             :   }
   15722             : }
   15723             : 
   15724             : 
   15725           0 : XS(_wrap_classObj_debug_set) {
   15726             :   {
   15727             :     struct classObj *arg1 = (struct classObj *) 0 ;
   15728             :     int arg2 ;
   15729           0 :     void *argp1 = 0 ;
   15730             :     int res1 = 0 ;
   15731             :     int val2 ;
   15732             :     int ecode2 = 0 ;
   15733             :     int argvi = 0;
   15734           0 :     dXSARGS;
   15735             :     
   15736           0 :     if ((items < 2) || (items > 2)) {
   15737           0 :       SWIG_croak("Usage: classObj_debug_set(self,debug);");
   15738             :     }
   15739           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   15740           0 :     if (!SWIG_IsOK(res1)) {
   15741           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_debug_set" "', argument " "1"" of type '" "struct classObj *""'"); 
   15742             :     }
   15743           0 :     arg1 = (struct classObj *)(argp1);
   15744           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   15745           0 :     if (!SWIG_IsOK(ecode2)) {
   15746           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "classObj_debug_set" "', argument " "2"" of type '" "int""'");
   15747             :     } 
   15748           0 :     arg2 = (int)(val2);
   15749           0 :     if (arg1) (arg1)->debug = arg2;
   15750           0 :     ST(argvi) = sv_newmortal();
   15751             :     
   15752             :     
   15753           0 :     XSRETURN(argvi);
   15754             :   fail:
   15755             :     
   15756             :     
   15757           0 :     SWIG_croak_null();
   15758             :   }
   15759             : }
   15760             : 
   15761             : 
   15762           0 : XS(_wrap_classObj_debug_get) {
   15763             :   {
   15764             :     struct classObj *arg1 = (struct classObj *) 0 ;
   15765           0 :     void *argp1 = 0 ;
   15766             :     int res1 = 0 ;
   15767             :     int argvi = 0;
   15768             :     int result;
   15769           0 :     dXSARGS;
   15770             :     
   15771           0 :     if ((items < 1) || (items > 1)) {
   15772           0 :       SWIG_croak("Usage: classObj_debug_get(self);");
   15773             :     }
   15774           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   15775           0 :     if (!SWIG_IsOK(res1)) {
   15776           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_debug_get" "', argument " "1"" of type '" "struct classObj *""'"); 
   15777             :     }
   15778           0 :     arg1 = (struct classObj *)(argp1);
   15779           0 :     result = (int) ((arg1)->debug);
   15780           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   15781             :     
   15782           0 :     XSRETURN(argvi);
   15783             :   fail:
   15784             :     
   15785           0 :     SWIG_croak_null();
   15786             :   }
   15787             : }
   15788             : 
   15789             : 
   15790           0 : XS(_wrap_classObj_keyimage_set) {
   15791             :   {
   15792             :     struct classObj *arg1 = (struct classObj *) 0 ;
   15793             :     char *arg2 = (char *) 0 ;
   15794           0 :     void *argp1 = 0 ;
   15795             :     int res1 = 0 ;
   15796             :     int res2 ;
   15797           0 :     char *buf2 = 0 ;
   15798           0 :     int alloc2 = 0 ;
   15799             :     int argvi = 0;
   15800           0 :     dXSARGS;
   15801             :     
   15802           0 :     if ((items < 2) || (items > 2)) {
   15803           0 :       SWIG_croak("Usage: classObj_keyimage_set(self,keyimage);");
   15804             :     }
   15805           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   15806           0 :     if (!SWIG_IsOK(res1)) {
   15807           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_keyimage_set" "', argument " "1"" of type '" "struct classObj *""'"); 
   15808             :     }
   15809           0 :     arg1 = (struct classObj *)(argp1);
   15810           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   15811           0 :     if (!SWIG_IsOK(res2)) {
   15812           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_keyimage_set" "', argument " "2"" of type '" "char *""'");
   15813             :     }
   15814           0 :     arg2 = (char *)(buf2);
   15815             :     {
   15816           0 :       if (arg1->keyimage) free((char*)arg1->keyimage);
   15817           0 :       if (arg2) {
   15818           0 :         arg1->keyimage = (char *) malloc(strlen(arg2)+1);
   15819             :         strcpy((char*)arg1->keyimage,arg2);
   15820             :       } else {
   15821           0 :         arg1->keyimage = 0;
   15822             :       }
   15823             :     }
   15824           0 :     ST(argvi) = sv_newmortal();
   15825             :     
   15826           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   15827           0 :     XSRETURN(argvi);
   15828             :   fail:
   15829             :     
   15830           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   15831           0 :     SWIG_croak_null();
   15832             :   }
   15833             : }
   15834             : 
   15835             : 
   15836           0 : XS(_wrap_classObj_keyimage_get) {
   15837             :   {
   15838             :     struct classObj *arg1 = (struct classObj *) 0 ;
   15839           0 :     void *argp1 = 0 ;
   15840             :     int res1 = 0 ;
   15841             :     int argvi = 0;
   15842             :     char *result = 0 ;
   15843           0 :     dXSARGS;
   15844             :     
   15845           0 :     if ((items < 1) || (items > 1)) {
   15846           0 :       SWIG_croak("Usage: classObj_keyimage_get(self);");
   15847             :     }
   15848           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   15849           0 :     if (!SWIG_IsOK(res1)) {
   15850           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_keyimage_get" "', argument " "1"" of type '" "struct classObj *""'"); 
   15851             :     }
   15852           0 :     arg1 = (struct classObj *)(argp1);
   15853           0 :     result = (char *) ((arg1)->keyimage);
   15854           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   15855             :     
   15856           0 :     XSRETURN(argvi);
   15857             :   fail:
   15858             :     
   15859           0 :     SWIG_croak_null();
   15860             :   }
   15861             : }
   15862             : 
   15863             : 
   15864           0 : XS(_wrap_classObj_group_set) {
   15865             :   {
   15866             :     struct classObj *arg1 = (struct classObj *) 0 ;
   15867             :     char *arg2 = (char *) 0 ;
   15868           0 :     void *argp1 = 0 ;
   15869             :     int res1 = 0 ;
   15870             :     int res2 ;
   15871           0 :     char *buf2 = 0 ;
   15872           0 :     int alloc2 = 0 ;
   15873             :     int argvi = 0;
   15874           0 :     dXSARGS;
   15875             :     
   15876           0 :     if ((items < 2) || (items > 2)) {
   15877           0 :       SWIG_croak("Usage: classObj_group_set(self,group);");
   15878             :     }
   15879           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   15880           0 :     if (!SWIG_IsOK(res1)) {
   15881           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_group_set" "', argument " "1"" of type '" "struct classObj *""'"); 
   15882             :     }
   15883           0 :     arg1 = (struct classObj *)(argp1);
   15884           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   15885           0 :     if (!SWIG_IsOK(res2)) {
   15886           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_group_set" "', argument " "2"" of type '" "char *""'");
   15887             :     }
   15888           0 :     arg2 = (char *)(buf2);
   15889             :     {
   15890           0 :       if (arg1->group) free((char*)arg1->group);
   15891           0 :       if (arg2) {
   15892           0 :         arg1->group = (char *) malloc(strlen(arg2)+1);
   15893             :         strcpy((char*)arg1->group,arg2);
   15894             :       } else {
   15895           0 :         arg1->group = 0;
   15896             :       }
   15897             :     }
   15898           0 :     ST(argvi) = sv_newmortal();
   15899             :     
   15900           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   15901           0 :     XSRETURN(argvi);
   15902             :   fail:
   15903             :     
   15904           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   15905           0 :     SWIG_croak_null();
   15906             :   }
   15907             : }
   15908             : 
   15909             : 
   15910           0 : XS(_wrap_classObj_group_get) {
   15911             :   {
   15912             :     struct classObj *arg1 = (struct classObj *) 0 ;
   15913           0 :     void *argp1 = 0 ;
   15914             :     int res1 = 0 ;
   15915             :     int argvi = 0;
   15916             :     char *result = 0 ;
   15917           0 :     dXSARGS;
   15918             :     
   15919           0 :     if ((items < 1) || (items > 1)) {
   15920           0 :       SWIG_croak("Usage: classObj_group_get(self);");
   15921             :     }
   15922           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   15923           0 :     if (!SWIG_IsOK(res1)) {
   15924           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_group_get" "', argument " "1"" of type '" "struct classObj *""'"); 
   15925             :     }
   15926           0 :     arg1 = (struct classObj *)(argp1);
   15927           0 :     result = (char *) ((arg1)->group);
   15928           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   15929             :     
   15930           0 :     XSRETURN(argvi);
   15931             :   fail:
   15932             :     
   15933           0 :     SWIG_croak_null();
   15934             :   }
   15935             : }
   15936             : 
   15937             : 
   15938           0 : XS(_wrap_classObj_leader_set) {
   15939             :   {
   15940             :     struct classObj *arg1 = (struct classObj *) 0 ;
   15941             :     labelLeaderObj *arg2 = (labelLeaderObj *) 0 ;
   15942           0 :     void *argp1 = 0 ;
   15943             :     int res1 = 0 ;
   15944           0 :     void *argp2 = 0 ;
   15945             :     int res2 = 0 ;
   15946             :     int argvi = 0;
   15947           0 :     dXSARGS;
   15948             :     
   15949           0 :     if ((items < 2) || (items > 2)) {
   15950           0 :       SWIG_croak("Usage: classObj_leader_set(self,leader);");
   15951             :     }
   15952           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   15953           0 :     if (!SWIG_IsOK(res1)) {
   15954           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_leader_set" "', argument " "1"" of type '" "struct classObj *""'"); 
   15955             :     }
   15956           0 :     arg1 = (struct classObj *)(argp1);
   15957           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_labelLeaderObj, SWIG_POINTER_DISOWN |  0 );
   15958           0 :     if (!SWIG_IsOK(res2)) {
   15959           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_leader_set" "', argument " "2"" of type '" "labelLeaderObj *""'"); 
   15960             :     }
   15961           0 :     arg2 = (labelLeaderObj *)(argp2);
   15962           0 :     if (arg1) (arg1)->leader = arg2;
   15963           0 :     ST(argvi) = sv_newmortal();
   15964             :     
   15965             :     
   15966           0 :     XSRETURN(argvi);
   15967             :   fail:
   15968             :     
   15969             :     
   15970           0 :     SWIG_croak_null();
   15971             :   }
   15972             : }
   15973             : 
   15974             : 
   15975           0 : XS(_wrap_classObj_leader_get) {
   15976             :   {
   15977             :     struct classObj *arg1 = (struct classObj *) 0 ;
   15978           0 :     void *argp1 = 0 ;
   15979             :     int res1 = 0 ;
   15980             :     int argvi = 0;
   15981             :     labelLeaderObj *result = 0 ;
   15982           0 :     dXSARGS;
   15983             :     
   15984           0 :     if ((items < 1) || (items > 1)) {
   15985           0 :       SWIG_croak("Usage: classObj_leader_get(self);");
   15986             :     }
   15987           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   15988           0 :     if (!SWIG_IsOK(res1)) {
   15989           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_leader_get" "', argument " "1"" of type '" "struct classObj *""'"); 
   15990             :     }
   15991           0 :     arg1 = (struct classObj *)(argp1);
   15992           0 :     result = (labelLeaderObj *) ((arg1)->leader);
   15993           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelLeaderObj, 0 | SWIG_SHADOW); argvi++ ;
   15994             :     
   15995           0 :     XSRETURN(argvi);
   15996             :   fail:
   15997             :     
   15998           0 :     SWIG_croak_null();
   15999             :   }
   16000             : }
   16001             : 
   16002             : 
   16003           1 : XS(_wrap_new_classObj) {
   16004             :   {
   16005             :     layerObj *arg1 = (layerObj *) NULL ;
   16006           1 :     void *argp1 = 0 ;
   16007             :     int res1 = 0 ;
   16008             :     int argvi = 0;
   16009             :     struct classObj *result = 0 ;
   16010           1 :     dXSARGS;
   16011             :     
   16012           1 :     if ((items < 0) || (items > 1)) {
   16013           0 :       SWIG_croak("Usage: new_classObj(layer);");
   16014             :     }
   16015           1 :     if (items > 0) {
   16016           1 :       res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   16017           1 :       if (!SWIG_IsOK(res1)) {
   16018           0 :         SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_classObj" "', argument " "1"" of type '" "layerObj *""'"); 
   16019             :       }
   16020           1 :       arg1 = (layerObj *)(argp1);
   16021             :     }
   16022           1 :     result = (struct classObj *)new_classObj(arg1);
   16023           1 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_classObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   16024             :     
   16025           1 :     XSRETURN(argvi);
   16026             :   fail:
   16027             :     
   16028           0 :     SWIG_croak_null();
   16029             :   }
   16030             : }
   16031             : 
   16032             : 
   16033           1 : XS(_wrap_delete_classObj) {
   16034             :   {
   16035             :     struct classObj *arg1 = (struct classObj *) 0 ;
   16036           1 :     void *argp1 = 0 ;
   16037             :     int res1 = 0 ;
   16038             :     int argvi = 0;
   16039           1 :     dXSARGS;
   16040             :     
   16041           1 :     if ((items < 1) || (items > 1)) {
   16042           0 :       SWIG_croak("Usage: delete_classObj(self);");
   16043             :     }
   16044           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, SWIG_POINTER_DISOWN |  0 );
   16045           1 :     if (!SWIG_IsOK(res1)) {
   16046           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_classObj" "', argument " "1"" of type '" "struct classObj *""'"); 
   16047             :     }
   16048           1 :     arg1 = (struct classObj *)(argp1);
   16049           1 :     delete_classObj(arg1);
   16050           1 :     ST(argvi) = sv_newmortal();
   16051             :     
   16052           1 :     XSRETURN(argvi);
   16053             :   fail:
   16054             :     
   16055           0 :     SWIG_croak_null();
   16056             :   }
   16057             : }
   16058             : 
   16059             : 
   16060           0 : XS(_wrap_classObj_updateFromString) {
   16061             :   {
   16062             :     struct classObj *arg1 = (struct classObj *) 0 ;
   16063             :     char *arg2 = (char *) 0 ;
   16064           0 :     void *argp1 = 0 ;
   16065             :     int res1 = 0 ;
   16066             :     int res2 ;
   16067           0 :     char *buf2 = 0 ;
   16068           0 :     int alloc2 = 0 ;
   16069             :     int argvi = 0;
   16070             :     int result;
   16071           0 :     dXSARGS;
   16072             :     
   16073           0 :     if ((items < 2) || (items > 2)) {
   16074           0 :       SWIG_croak("Usage: classObj_updateFromString(self,snippet);");
   16075             :     }
   16076           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   16077           0 :     if (!SWIG_IsOK(res1)) {
   16078           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_updateFromString" "', argument " "1"" of type '" "struct classObj *""'"); 
   16079             :     }
   16080           0 :     arg1 = (struct classObj *)(argp1);
   16081           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   16082           0 :     if (!SWIG_IsOK(res2)) {
   16083           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_updateFromString" "', argument " "2"" of type '" "char *""'");
   16084             :     }
   16085           0 :     arg2 = (char *)(buf2);
   16086             :     result = (int)classObj_updateFromString(arg1,arg2);
   16087           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   16088             :     
   16089           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   16090           0 :     XSRETURN(argvi);
   16091             :   fail:
   16092             :     
   16093           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   16094           0 :     SWIG_croak_null();
   16095             :   }
   16096             : }
   16097             : 
   16098             : 
   16099           0 : XS(_wrap_classObj_convertToString) {
   16100             :   {
   16101             :     struct classObj *arg1 = (struct classObj *) 0 ;
   16102           0 :     void *argp1 = 0 ;
   16103             :     int res1 = 0 ;
   16104             :     int argvi = 0;
   16105             :     char *result = 0 ;
   16106           0 :     dXSARGS;
   16107             :     
   16108           0 :     if ((items < 1) || (items > 1)) {
   16109           0 :       SWIG_croak("Usage: classObj_convertToString(self);");
   16110             :     }
   16111           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   16112           0 :     if (!SWIG_IsOK(res1)) {
   16113           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_convertToString" "', argument " "1"" of type '" "struct classObj *""'"); 
   16114             :     }
   16115           0 :     arg1 = (struct classObj *)(argp1);
   16116             :     result = (char *)classObj_convertToString(arg1);
   16117           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   16118             :     
   16119           0 :     free((char*)result);
   16120           0 :     XSRETURN(argvi);
   16121             :   fail:
   16122             :     
   16123           0 :     SWIG_croak_null();
   16124             :   }
   16125             : }
   16126             : 
   16127             : 
   16128           0 : XS(_wrap_classObj_clone) {
   16129             :   {
   16130             :     struct classObj *arg1 = (struct classObj *) 0 ;
   16131           0 :     void *argp1 = 0 ;
   16132             :     int res1 = 0 ;
   16133             :     int argvi = 0;
   16134             :     classObj *result = 0 ;
   16135           0 :     dXSARGS;
   16136             :     
   16137           0 :     if ((items < 1) || (items > 1)) {
   16138           0 :       SWIG_croak("Usage: classObj_clone(self);");
   16139             :     }
   16140           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   16141           0 :     if (!SWIG_IsOK(res1)) {
   16142           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_clone" "', argument " "1"" of type '" "struct classObj *""'"); 
   16143             :     }
   16144           0 :     arg1 = (struct classObj *)(argp1);
   16145           0 :     result = (classObj *)classObj_clone(arg1);
   16146           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_classObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   16147             :     
   16148           0 :     XSRETURN(argvi);
   16149             :   fail:
   16150             :     
   16151           0 :     SWIG_croak_null();
   16152             :   }
   16153             : }
   16154             : 
   16155             : 
   16156           0 : XS(_wrap_classObj_setExpression) {
   16157             :   {
   16158             :     struct classObj *arg1 = (struct classObj *) 0 ;
   16159             :     char *arg2 = (char *) 0 ;
   16160           0 :     void *argp1 = 0 ;
   16161             :     int res1 = 0 ;
   16162             :     int res2 ;
   16163           0 :     char *buf2 = 0 ;
   16164           0 :     int alloc2 = 0 ;
   16165             :     int argvi = 0;
   16166             :     int result;
   16167           0 :     dXSARGS;
   16168             :     
   16169           0 :     if ((items < 2) || (items > 2)) {
   16170           0 :       SWIG_croak("Usage: classObj_setExpression(self,expression);");
   16171             :     }
   16172           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   16173           0 :     if (!SWIG_IsOK(res1)) {
   16174           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_setExpression" "', argument " "1"" of type '" "struct classObj *""'"); 
   16175             :     }
   16176           0 :     arg1 = (struct classObj *)(argp1);
   16177           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   16178           0 :     if (!SWIG_IsOK(res2)) {
   16179           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_setExpression" "', argument " "2"" of type '" "char *""'");
   16180             :     }
   16181           0 :     arg2 = (char *)(buf2);
   16182           0 :     result = (int)classObj_setExpression(arg1,arg2);
   16183           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   16184             :     
   16185           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   16186           0 :     XSRETURN(argvi);
   16187             :   fail:
   16188             :     
   16189           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   16190           0 :     SWIG_croak_null();
   16191             :   }
   16192             : }
   16193             : 
   16194             : 
   16195           0 : XS(_wrap_classObj_getExpressionString) {
   16196             :   {
   16197             :     struct classObj *arg1 = (struct classObj *) 0 ;
   16198           0 :     void *argp1 = 0 ;
   16199             :     int res1 = 0 ;
   16200             :     int argvi = 0;
   16201             :     char *result = 0 ;
   16202           0 :     dXSARGS;
   16203             :     
   16204           0 :     if ((items < 1) || (items > 1)) {
   16205           0 :       SWIG_croak("Usage: classObj_getExpressionString(self);");
   16206             :     }
   16207           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   16208           0 :     if (!SWIG_IsOK(res1)) {
   16209           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_getExpressionString" "', argument " "1"" of type '" "struct classObj *""'"); 
   16210             :     }
   16211           0 :     arg1 = (struct classObj *)(argp1);
   16212             :     result = (char *)classObj_getExpressionString(arg1);
   16213           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   16214             :     
   16215           0 :     free((char*)result);
   16216           0 :     XSRETURN(argvi);
   16217             :   fail:
   16218             :     
   16219           0 :     SWIG_croak_null();
   16220             :   }
   16221             : }
   16222             : 
   16223             : 
   16224           0 : XS(_wrap_classObj_setText) {
   16225             :   {
   16226             :     struct classObj *arg1 = (struct classObj *) 0 ;
   16227             :     char *arg2 = (char *) 0 ;
   16228           0 :     void *argp1 = 0 ;
   16229             :     int res1 = 0 ;
   16230             :     int res2 ;
   16231           0 :     char *buf2 = 0 ;
   16232           0 :     int alloc2 = 0 ;
   16233             :     int argvi = 0;
   16234             :     int result;
   16235           0 :     dXSARGS;
   16236             :     
   16237           0 :     if ((items < 2) || (items > 2)) {
   16238           0 :       SWIG_croak("Usage: classObj_setText(self,text);");
   16239             :     }
   16240           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   16241           0 :     if (!SWIG_IsOK(res1)) {
   16242           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_setText" "', argument " "1"" of type '" "struct classObj *""'"); 
   16243             :     }
   16244           0 :     arg1 = (struct classObj *)(argp1);
   16245           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   16246           0 :     if (!SWIG_IsOK(res2)) {
   16247           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_setText" "', argument " "2"" of type '" "char *""'");
   16248             :     }
   16249           0 :     arg2 = (char *)(buf2);
   16250           0 :     result = (int)classObj_setText(arg1,arg2);
   16251           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   16252             :     
   16253           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   16254           0 :     XSRETURN(argvi);
   16255             :   fail:
   16256             :     
   16257           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   16258           0 :     SWIG_croak_null();
   16259             :   }
   16260             : }
   16261             : 
   16262             : 
   16263           0 : XS(_wrap_classObj_getTextString) {
   16264             :   {
   16265             :     struct classObj *arg1 = (struct classObj *) 0 ;
   16266           0 :     void *argp1 = 0 ;
   16267             :     int res1 = 0 ;
   16268             :     int argvi = 0;
   16269             :     char *result = 0 ;
   16270           0 :     dXSARGS;
   16271             :     
   16272           0 :     if ((items < 1) || (items > 1)) {
   16273           0 :       SWIG_croak("Usage: classObj_getTextString(self);");
   16274             :     }
   16275           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   16276           0 :     if (!SWIG_IsOK(res1)) {
   16277           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_getTextString" "', argument " "1"" of type '" "struct classObj *""'"); 
   16278             :     }
   16279           0 :     arg1 = (struct classObj *)(argp1);
   16280             :     result = (char *)classObj_getTextString(arg1);
   16281           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   16282             :     
   16283           0 :     free((char*)result);
   16284           0 :     XSRETURN(argvi);
   16285             :   fail:
   16286             :     
   16287           0 :     SWIG_croak_null();
   16288             :   }
   16289             : }
   16290             : 
   16291             : 
   16292           0 : XS(_wrap_classObj_getMetaData) {
   16293             :   {
   16294             :     struct classObj *arg1 = (struct classObj *) 0 ;
   16295             :     char *arg2 = (char *) 0 ;
   16296           0 :     void *argp1 = 0 ;
   16297             :     int res1 = 0 ;
   16298             :     int res2 ;
   16299           0 :     char *buf2 = 0 ;
   16300           0 :     int alloc2 = 0 ;
   16301             :     int argvi = 0;
   16302             :     char *result = 0 ;
   16303           0 :     dXSARGS;
   16304             :     
   16305           0 :     if ((items < 2) || (items > 2)) {
   16306           0 :       SWIG_croak("Usage: classObj_getMetaData(self,name);");
   16307             :     }
   16308           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   16309           0 :     if (!SWIG_IsOK(res1)) {
   16310           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_getMetaData" "', argument " "1"" of type '" "struct classObj *""'"); 
   16311             :     }
   16312           0 :     arg1 = (struct classObj *)(argp1);
   16313           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   16314           0 :     if (!SWIG_IsOK(res2)) {
   16315           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_getMetaData" "', argument " "2"" of type '" "char *""'");
   16316             :     }
   16317           0 :     arg2 = (char *)(buf2);
   16318           0 :     result = (char *)classObj_getMetaData(arg1,arg2);
   16319           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   16320             :     
   16321           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   16322           0 :     XSRETURN(argvi);
   16323             :   fail:
   16324             :     
   16325           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   16326           0 :     SWIG_croak_null();
   16327             :   }
   16328             : }
   16329             : 
   16330             : 
   16331           0 : XS(_wrap_classObj_setMetaData) {
   16332             :   {
   16333             :     struct classObj *arg1 = (struct classObj *) 0 ;
   16334             :     char *arg2 = (char *) 0 ;
   16335             :     char *arg3 = (char *) 0 ;
   16336           0 :     void *argp1 = 0 ;
   16337             :     int res1 = 0 ;
   16338             :     int res2 ;
   16339           0 :     char *buf2 = 0 ;
   16340           0 :     int alloc2 = 0 ;
   16341             :     int res3 ;
   16342           0 :     char *buf3 = 0 ;
   16343           0 :     int alloc3 = 0 ;
   16344             :     int argvi = 0;
   16345             :     int result;
   16346           0 :     dXSARGS;
   16347             :     
   16348           0 :     if ((items < 3) || (items > 3)) {
   16349           0 :       SWIG_croak("Usage: classObj_setMetaData(self,name,value);");
   16350             :     }
   16351           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   16352           0 :     if (!SWIG_IsOK(res1)) {
   16353           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_setMetaData" "', argument " "1"" of type '" "struct classObj *""'"); 
   16354             :     }
   16355           0 :     arg1 = (struct classObj *)(argp1);
   16356           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   16357           0 :     if (!SWIG_IsOK(res2)) {
   16358           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_setMetaData" "', argument " "2"" of type '" "char *""'");
   16359             :     }
   16360           0 :     arg2 = (char *)(buf2);
   16361           0 :     res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
   16362           0 :     if (!SWIG_IsOK(res3)) {
   16363           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "classObj_setMetaData" "', argument " "3"" of type '" "char *""'");
   16364             :     }
   16365           0 :     arg3 = (char *)(buf3);
   16366             :     result = (int)classObj_setMetaData(arg1,arg2,arg3);
   16367           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   16368             :     
   16369           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   16370           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   16371           0 :     XSRETURN(argvi);
   16372             :   fail:
   16373             :     
   16374           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   16375           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   16376           0 :     SWIG_croak_null();
   16377             :   }
   16378             : }
   16379             : 
   16380             : 
   16381           0 : XS(_wrap_classObj_getFirstMetaDataKey) {
   16382             :   {
   16383             :     struct classObj *arg1 = (struct classObj *) 0 ;
   16384           0 :     void *argp1 = 0 ;
   16385             :     int res1 = 0 ;
   16386             :     int argvi = 0;
   16387             :     char *result = 0 ;
   16388           0 :     dXSARGS;
   16389             :     
   16390           0 :     if ((items < 1) || (items > 1)) {
   16391           0 :       SWIG_croak("Usage: classObj_getFirstMetaDataKey(self);");
   16392             :     }
   16393           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   16394           0 :     if (!SWIG_IsOK(res1)) {
   16395           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_getFirstMetaDataKey" "', argument " "1"" of type '" "struct classObj *""'"); 
   16396             :     }
   16397           0 :     arg1 = (struct classObj *)(argp1);
   16398             :     result = (char *)classObj_getFirstMetaDataKey(arg1);
   16399           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   16400             :     
   16401           0 :     XSRETURN(argvi);
   16402             :   fail:
   16403             :     
   16404           0 :     SWIG_croak_null();
   16405             :   }
   16406             : }
   16407             : 
   16408             : 
   16409           0 : XS(_wrap_classObj_getNextMetaDataKey) {
   16410             :   {
   16411             :     struct classObj *arg1 = (struct classObj *) 0 ;
   16412             :     char *arg2 = (char *) 0 ;
   16413           0 :     void *argp1 = 0 ;
   16414             :     int res1 = 0 ;
   16415             :     int res2 ;
   16416           0 :     char *buf2 = 0 ;
   16417           0 :     int alloc2 = 0 ;
   16418             :     int argvi = 0;
   16419             :     char *result = 0 ;
   16420           0 :     dXSARGS;
   16421             :     
   16422           0 :     if ((items < 2) || (items > 2)) {
   16423           0 :       SWIG_croak("Usage: classObj_getNextMetaDataKey(self,lastkey);");
   16424             :     }
   16425           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   16426           0 :     if (!SWIG_IsOK(res1)) {
   16427           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_getNextMetaDataKey" "', argument " "1"" of type '" "struct classObj *""'"); 
   16428             :     }
   16429           0 :     arg1 = (struct classObj *)(argp1);
   16430           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   16431           0 :     if (!SWIG_IsOK(res2)) {
   16432           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_getNextMetaDataKey" "', argument " "2"" of type '" "char *""'");
   16433             :     }
   16434           0 :     arg2 = (char *)(buf2);
   16435             :     result = (char *)classObj_getNextMetaDataKey(arg1,arg2);
   16436           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   16437             :     
   16438           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   16439           0 :     XSRETURN(argvi);
   16440             :   fail:
   16441             :     
   16442           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   16443           0 :     SWIG_croak_null();
   16444             :   }
   16445             : }
   16446             : 
   16447             : 
   16448           0 : XS(_wrap_classObj_drawLegendIcon) {
   16449             :   {
   16450             :     struct classObj *arg1 = (struct classObj *) 0 ;
   16451             :     mapObj *arg2 = (mapObj *) 0 ;
   16452             :     layerObj *arg3 = (layerObj *) 0 ;
   16453             :     int arg4 ;
   16454             :     int arg5 ;
   16455             :     imageObj *arg6 = (imageObj *) 0 ;
   16456             :     int arg7 ;
   16457             :     int arg8 ;
   16458           0 :     void *argp1 = 0 ;
   16459             :     int res1 = 0 ;
   16460           0 :     void *argp2 = 0 ;
   16461             :     int res2 = 0 ;
   16462           0 :     void *argp3 = 0 ;
   16463             :     int res3 = 0 ;
   16464             :     int val4 ;
   16465             :     int ecode4 = 0 ;
   16466             :     int val5 ;
   16467             :     int ecode5 = 0 ;
   16468           0 :     void *argp6 = 0 ;
   16469             :     int res6 = 0 ;
   16470             :     int val7 ;
   16471             :     int ecode7 = 0 ;
   16472             :     int val8 ;
   16473             :     int ecode8 = 0 ;
   16474             :     int argvi = 0;
   16475             :     int result;
   16476           0 :     dXSARGS;
   16477             :     
   16478           0 :     if ((items < 8) || (items > 8)) {
   16479           0 :       SWIG_croak("Usage: classObj_drawLegendIcon(self,map,layer,width,height,dstImage,dstX,dstY);");
   16480             :     }
   16481           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   16482           0 :     if (!SWIG_IsOK(res1)) {
   16483           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_drawLegendIcon" "', argument " "1"" of type '" "struct classObj *""'"); 
   16484             :     }
   16485           0 :     arg1 = (struct classObj *)(argp1);
   16486           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 |  0 );
   16487           0 :     if (!SWIG_IsOK(res2)) {
   16488           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_drawLegendIcon" "', argument " "2"" of type '" "mapObj *""'"); 
   16489             :     }
   16490           0 :     arg2 = (mapObj *)(argp2);
   16491           0 :     res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_layerObj, 0 |  0 );
   16492           0 :     if (!SWIG_IsOK(res3)) {
   16493           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "classObj_drawLegendIcon" "', argument " "3"" of type '" "layerObj *""'"); 
   16494             :     }
   16495           0 :     arg3 = (layerObj *)(argp3);
   16496           0 :     ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
   16497           0 :     if (!SWIG_IsOK(ecode4)) {
   16498           0 :       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "classObj_drawLegendIcon" "', argument " "4"" of type '" "int""'");
   16499             :     } 
   16500           0 :     arg4 = (int)(val4);
   16501           0 :     ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
   16502           0 :     if (!SWIG_IsOK(ecode5)) {
   16503           0 :       SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "classObj_drawLegendIcon" "', argument " "5"" of type '" "int""'");
   16504             :     } 
   16505           0 :     arg5 = (int)(val5);
   16506           0 :     res6 = SWIG_ConvertPtr(ST(5), &argp6,SWIGTYPE_p_imageObj, 0 |  0 );
   16507           0 :     if (!SWIG_IsOK(res6)) {
   16508           0 :       SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "classObj_drawLegendIcon" "', argument " "6"" of type '" "imageObj *""'"); 
   16509             :     }
   16510           0 :     arg6 = (imageObj *)(argp6);
   16511           0 :     ecode7 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(6), &val7);
   16512           0 :     if (!SWIG_IsOK(ecode7)) {
   16513           0 :       SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "classObj_drawLegendIcon" "', argument " "7"" of type '" "int""'");
   16514             :     } 
   16515           0 :     arg7 = (int)(val7);
   16516           0 :     ecode8 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(7), &val8);
   16517           0 :     if (!SWIG_IsOK(ecode8)) {
   16518           0 :       SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "classObj_drawLegendIcon" "', argument " "8"" of type '" "int""'");
   16519             :     } 
   16520           0 :     arg8 = (int)(val8);
   16521           0 :     result = (int)classObj_drawLegendIcon(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
   16522           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   16523             :     
   16524             :     
   16525             :     
   16526             :     
   16527             :     
   16528             :     
   16529             :     
   16530             :     
   16531           0 :     XSRETURN(argvi);
   16532             :   fail:
   16533             :     
   16534             :     
   16535             :     
   16536             :     
   16537             :     
   16538             :     
   16539             :     
   16540             :     
   16541           0 :     SWIG_croak_null();
   16542             :   }
   16543             : }
   16544             : 
   16545             : 
   16546           0 : XS(_wrap_classObj_createLegendIcon) {
   16547             :   {
   16548             :     struct classObj *arg1 = (struct classObj *) 0 ;
   16549             :     mapObj *arg2 = (mapObj *) 0 ;
   16550             :     layerObj *arg3 = (layerObj *) 0 ;
   16551             :     int arg4 ;
   16552             :     int arg5 ;
   16553           0 :     void *argp1 = 0 ;
   16554             :     int res1 = 0 ;
   16555           0 :     void *argp2 = 0 ;
   16556             :     int res2 = 0 ;
   16557           0 :     void *argp3 = 0 ;
   16558             :     int res3 = 0 ;
   16559             :     int val4 ;
   16560             :     int ecode4 = 0 ;
   16561             :     int val5 ;
   16562             :     int ecode5 = 0 ;
   16563             :     int argvi = 0;
   16564             :     imageObj *result = 0 ;
   16565           0 :     dXSARGS;
   16566             :     
   16567           0 :     if ((items < 5) || (items > 5)) {
   16568           0 :       SWIG_croak("Usage: classObj_createLegendIcon(self,map,layer,width,height);");
   16569             :     }
   16570           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   16571           0 :     if (!SWIG_IsOK(res1)) {
   16572           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_createLegendIcon" "', argument " "1"" of type '" "struct classObj *""'"); 
   16573             :     }
   16574           0 :     arg1 = (struct classObj *)(argp1);
   16575           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 |  0 );
   16576           0 :     if (!SWIG_IsOK(res2)) {
   16577           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_createLegendIcon" "', argument " "2"" of type '" "mapObj *""'"); 
   16578             :     }
   16579           0 :     arg2 = (mapObj *)(argp2);
   16580           0 :     res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_layerObj, 0 |  0 );
   16581           0 :     if (!SWIG_IsOK(res3)) {
   16582           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "classObj_createLegendIcon" "', argument " "3"" of type '" "layerObj *""'"); 
   16583             :     }
   16584           0 :     arg3 = (layerObj *)(argp3);
   16585           0 :     ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
   16586           0 :     if (!SWIG_IsOK(ecode4)) {
   16587           0 :       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "classObj_createLegendIcon" "', argument " "4"" of type '" "int""'");
   16588             :     } 
   16589           0 :     arg4 = (int)(val4);
   16590           0 :     ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
   16591           0 :     if (!SWIG_IsOK(ecode5)) {
   16592           0 :       SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "classObj_createLegendIcon" "', argument " "5"" of type '" "int""'");
   16593             :     } 
   16594           0 :     arg5 = (int)(val5);
   16595             :     result = (imageObj *)classObj_createLegendIcon(arg1,arg2,arg3,arg4,arg5);
   16596           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_imageObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   16597             :     
   16598             :     
   16599             :     
   16600             :     
   16601             :     
   16602           0 :     XSRETURN(argvi);
   16603             :   fail:
   16604             :     
   16605             :     
   16606             :     
   16607             :     
   16608             :     
   16609           0 :     SWIG_croak_null();
   16610             :   }
   16611             : }
   16612             : 
   16613             : 
   16614           0 : XS(_wrap_classObj_getLabel) {
   16615             :   {
   16616             :     struct classObj *arg1 = (struct classObj *) 0 ;
   16617             :     int arg2 ;
   16618           0 :     void *argp1 = 0 ;
   16619             :     int res1 = 0 ;
   16620             :     int val2 ;
   16621             :     int ecode2 = 0 ;
   16622             :     int argvi = 0;
   16623             :     labelObj *result = 0 ;
   16624           0 :     dXSARGS;
   16625             :     
   16626           0 :     if ((items < 2) || (items > 2)) {
   16627           0 :       SWIG_croak("Usage: classObj_getLabel(self,i);");
   16628             :     }
   16629           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   16630           0 :     if (!SWIG_IsOK(res1)) {
   16631           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_getLabel" "', argument " "1"" of type '" "struct classObj *""'"); 
   16632             :     }
   16633           0 :     arg1 = (struct classObj *)(argp1);
   16634           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   16635           0 :     if (!SWIG_IsOK(ecode2)) {
   16636           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "classObj_getLabel" "', argument " "2"" of type '" "int""'");
   16637             :     } 
   16638           0 :     arg2 = (int)(val2);
   16639           0 :     result = (labelObj *)classObj_getLabel(arg1,arg2);
   16640           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   16641             :     
   16642             :     
   16643           0 :     XSRETURN(argvi);
   16644             :   fail:
   16645             :     
   16646             :     
   16647           0 :     SWIG_croak_null();
   16648             :   }
   16649             : }
   16650             : 
   16651             : 
   16652           0 : XS(_wrap_classObj_addLabel) {
   16653             :   {
   16654             :     struct classObj *arg1 = (struct classObj *) 0 ;
   16655             :     labelObj *arg2 = (labelObj *) 0 ;
   16656           0 :     void *argp1 = 0 ;
   16657             :     int res1 = 0 ;
   16658           0 :     void *argp2 = 0 ;
   16659             :     int res2 = 0 ;
   16660             :     int argvi = 0;
   16661             :     int result;
   16662           0 :     dXSARGS;
   16663             :     
   16664           0 :     if ((items < 2) || (items > 2)) {
   16665           0 :       SWIG_croak("Usage: classObj_addLabel(self,label);");
   16666             :     }
   16667           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   16668           0 :     if (!SWIG_IsOK(res1)) {
   16669           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_addLabel" "', argument " "1"" of type '" "struct classObj *""'"); 
   16670             :     }
   16671           0 :     arg1 = (struct classObj *)(argp1);
   16672           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_labelObj, 0 |  0 );
   16673           0 :     if (!SWIG_IsOK(res2)) {
   16674           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_addLabel" "', argument " "2"" of type '" "labelObj *""'"); 
   16675             :     }
   16676           0 :     arg2 = (labelObj *)(argp2);
   16677             :     result = (int)classObj_addLabel(arg1,arg2);
   16678           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   16679             :     
   16680             :     
   16681           0 :     XSRETURN(argvi);
   16682             :   fail:
   16683             :     
   16684             :     
   16685           0 :     SWIG_croak_null();
   16686             :   }
   16687             : }
   16688             : 
   16689             : 
   16690           0 : XS(_wrap_classObj_removeLabel) {
   16691             :   {
   16692             :     struct classObj *arg1 = (struct classObj *) 0 ;
   16693             :     int arg2 ;
   16694           0 :     void *argp1 = 0 ;
   16695             :     int res1 = 0 ;
   16696             :     int val2 ;
   16697             :     int ecode2 = 0 ;
   16698             :     int argvi = 0;
   16699             :     labelObj *result = 0 ;
   16700           0 :     dXSARGS;
   16701             :     
   16702           0 :     if ((items < 2) || (items > 2)) {
   16703           0 :       SWIG_croak("Usage: classObj_removeLabel(self,index);");
   16704             :     }
   16705           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   16706           0 :     if (!SWIG_IsOK(res1)) {
   16707           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_removeLabel" "', argument " "1"" of type '" "struct classObj *""'"); 
   16708             :     }
   16709           0 :     arg1 = (struct classObj *)(argp1);
   16710           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   16711           0 :     if (!SWIG_IsOK(ecode2)) {
   16712           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "classObj_removeLabel" "', argument " "2"" of type '" "int""'");
   16713             :     } 
   16714           0 :     arg2 = (int)(val2);
   16715           0 :     result = (labelObj *)classObj_removeLabel(arg1,arg2);
   16716           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   16717             :     
   16718             :     
   16719           0 :     XSRETURN(argvi);
   16720             :   fail:
   16721             :     
   16722             :     
   16723           0 :     SWIG_croak_null();
   16724             :   }
   16725             : }
   16726             : 
   16727             : 
   16728           0 : XS(_wrap_classObj_getStyle) {
   16729             :   {
   16730             :     struct classObj *arg1 = (struct classObj *) 0 ;
   16731             :     int arg2 ;
   16732           0 :     void *argp1 = 0 ;
   16733             :     int res1 = 0 ;
   16734             :     int val2 ;
   16735             :     int ecode2 = 0 ;
   16736             :     int argvi = 0;
   16737             :     styleObj *result = 0 ;
   16738           0 :     dXSARGS;
   16739             :     
   16740           0 :     if ((items < 2) || (items > 2)) {
   16741           0 :       SWIG_croak("Usage: classObj_getStyle(self,i);");
   16742             :     }
   16743           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   16744           0 :     if (!SWIG_IsOK(res1)) {
   16745           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_getStyle" "', argument " "1"" of type '" "struct classObj *""'"); 
   16746             :     }
   16747           0 :     arg1 = (struct classObj *)(argp1);
   16748           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   16749           0 :     if (!SWIG_IsOK(ecode2)) {
   16750           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "classObj_getStyle" "', argument " "2"" of type '" "int""'");
   16751             :     } 
   16752           0 :     arg2 = (int)(val2);
   16753           0 :     result = (styleObj *)classObj_getStyle(arg1,arg2);
   16754           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_styleObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   16755             :     
   16756             :     
   16757           0 :     XSRETURN(argvi);
   16758             :   fail:
   16759             :     
   16760             :     
   16761           0 :     SWIG_croak_null();
   16762             :   }
   16763             : }
   16764             : 
   16765             : 
   16766           0 : XS(_wrap_classObj_insertStyle) {
   16767             :   {
   16768             :     struct classObj *arg1 = (struct classObj *) 0 ;
   16769             :     styleObj *arg2 = (styleObj *) 0 ;
   16770             :     int arg3 = (int) -1 ;
   16771           0 :     void *argp1 = 0 ;
   16772             :     int res1 = 0 ;
   16773           0 :     void *argp2 = 0 ;
   16774             :     int res2 = 0 ;
   16775             :     int val3 ;
   16776             :     int ecode3 = 0 ;
   16777             :     int argvi = 0;
   16778             :     int result;
   16779           0 :     dXSARGS;
   16780             :     
   16781           0 :     if ((items < 2) || (items > 3)) {
   16782           0 :       SWIG_croak("Usage: classObj_insertStyle(self,style,index);");
   16783             :     }
   16784           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   16785           0 :     if (!SWIG_IsOK(res1)) {
   16786           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_insertStyle" "', argument " "1"" of type '" "struct classObj *""'"); 
   16787             :     }
   16788           0 :     arg1 = (struct classObj *)(argp1);
   16789           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_styleObj, 0 |  0 );
   16790           0 :     if (!SWIG_IsOK(res2)) {
   16791           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_insertStyle" "', argument " "2"" of type '" "styleObj *""'"); 
   16792             :     }
   16793           0 :     arg2 = (styleObj *)(argp2);
   16794           0 :     if (items > 2) {
   16795           0 :       ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
   16796           0 :       if (!SWIG_IsOK(ecode3)) {
   16797           0 :         SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "classObj_insertStyle" "', argument " "3"" of type '" "int""'");
   16798             :       } 
   16799           0 :       arg3 = (int)(val3);
   16800             :     }
   16801             :     result = (int)classObj_insertStyle(arg1,arg2,arg3);
   16802           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   16803             :     
   16804             :     
   16805             :     
   16806           0 :     XSRETURN(argvi);
   16807             :   fail:
   16808             :     
   16809             :     
   16810             :     
   16811           0 :     SWIG_croak_null();
   16812             :   }
   16813             : }
   16814             : 
   16815             : 
   16816           0 : XS(_wrap_classObj_removeStyle) {
   16817             :   {
   16818             :     struct classObj *arg1 = (struct classObj *) 0 ;
   16819             :     int arg2 ;
   16820           0 :     void *argp1 = 0 ;
   16821             :     int res1 = 0 ;
   16822             :     int val2 ;
   16823             :     int ecode2 = 0 ;
   16824             :     int argvi = 0;
   16825             :     styleObj *result = 0 ;
   16826           0 :     dXSARGS;
   16827             :     
   16828           0 :     if ((items < 2) || (items > 2)) {
   16829           0 :       SWIG_croak("Usage: classObj_removeStyle(self,index);");
   16830             :     }
   16831           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   16832           0 :     if (!SWIG_IsOK(res1)) {
   16833           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_removeStyle" "', argument " "1"" of type '" "struct classObj *""'"); 
   16834             :     }
   16835           0 :     arg1 = (struct classObj *)(argp1);
   16836           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   16837           0 :     if (!SWIG_IsOK(ecode2)) {
   16838           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "classObj_removeStyle" "', argument " "2"" of type '" "int""'");
   16839             :     } 
   16840           0 :     arg2 = (int)(val2);
   16841           0 :     result = (styleObj *)classObj_removeStyle(arg1,arg2);
   16842           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_styleObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   16843             :     
   16844             :     
   16845           0 :     XSRETURN(argvi);
   16846             :   fail:
   16847             :     
   16848             :     
   16849           0 :     SWIG_croak_null();
   16850             :   }
   16851             : }
   16852             : 
   16853             : 
   16854           0 : XS(_wrap_classObj_moveStyleUp) {
   16855             :   {
   16856             :     struct classObj *arg1 = (struct classObj *) 0 ;
   16857             :     int arg2 ;
   16858           0 :     void *argp1 = 0 ;
   16859             :     int res1 = 0 ;
   16860             :     int val2 ;
   16861             :     int ecode2 = 0 ;
   16862             :     int argvi = 0;
   16863             :     int result;
   16864           0 :     dXSARGS;
   16865             :     
   16866           0 :     if ((items < 2) || (items > 2)) {
   16867           0 :       SWIG_croak("Usage: classObj_moveStyleUp(self,index);");
   16868             :     }
   16869           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   16870           0 :     if (!SWIG_IsOK(res1)) {
   16871           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_moveStyleUp" "', argument " "1"" of type '" "struct classObj *""'"); 
   16872             :     }
   16873           0 :     arg1 = (struct classObj *)(argp1);
   16874           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   16875           0 :     if (!SWIG_IsOK(ecode2)) {
   16876           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "classObj_moveStyleUp" "', argument " "2"" of type '" "int""'");
   16877             :     } 
   16878           0 :     arg2 = (int)(val2);
   16879             :     result = (int)classObj_moveStyleUp(arg1,arg2);
   16880           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   16881             :     
   16882             :     
   16883           0 :     XSRETURN(argvi);
   16884             :   fail:
   16885             :     
   16886             :     
   16887           0 :     SWIG_croak_null();
   16888             :   }
   16889             : }
   16890             : 
   16891             : 
   16892           0 : XS(_wrap_classObj_moveStyleDown) {
   16893             :   {
   16894             :     struct classObj *arg1 = (struct classObj *) 0 ;
   16895             :     int arg2 ;
   16896           0 :     void *argp1 = 0 ;
   16897             :     int res1 = 0 ;
   16898             :     int val2 ;
   16899             :     int ecode2 = 0 ;
   16900             :     int argvi = 0;
   16901             :     int result;
   16902           0 :     dXSARGS;
   16903             :     
   16904           0 :     if ((items < 2) || (items > 2)) {
   16905           0 :       SWIG_croak("Usage: classObj_moveStyleDown(self,index);");
   16906             :     }
   16907           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   16908           0 :     if (!SWIG_IsOK(res1)) {
   16909           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_moveStyleDown" "', argument " "1"" of type '" "struct classObj *""'"); 
   16910             :     }
   16911           0 :     arg1 = (struct classObj *)(argp1);
   16912           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   16913           0 :     if (!SWIG_IsOK(ecode2)) {
   16914           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "classObj_moveStyleDown" "', argument " "2"" of type '" "int""'");
   16915             :     } 
   16916           0 :     arg2 = (int)(val2);
   16917             :     result = (int)classObj_moveStyleDown(arg1,arg2);
   16918           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   16919             :     
   16920             :     
   16921           0 :     XSRETURN(argvi);
   16922             :   fail:
   16923             :     
   16924             :     
   16925           0 :     SWIG_croak_null();
   16926             :   }
   16927             : }
   16928             : 
   16929             : 
   16930           0 : XS(_wrap_labelCacheMemberObj_textsymbols_get) {
   16931             :   {
   16932             :     labelCacheMemberObj *arg1 = (labelCacheMemberObj *) 0 ;
   16933           0 :     void *argp1 = 0 ;
   16934             :     int res1 = 0 ;
   16935             :     int argvi = 0;
   16936             :     textSymbolObj **result = 0 ;
   16937           0 :     dXSARGS;
   16938             :     
   16939           0 :     if ((items < 1) || (items > 1)) {
   16940           0 :       SWIG_croak("Usage: labelCacheMemberObj_textsymbols_get(self);");
   16941             :     }
   16942           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheMemberObj, 0 |  0 );
   16943           0 :     if (!SWIG_IsOK(res1)) {
   16944           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheMemberObj_textsymbols_get" "', argument " "1"" of type '" "labelCacheMemberObj *""'"); 
   16945             :     }
   16946           0 :     arg1 = (labelCacheMemberObj *)(argp1);
   16947           0 :     result = (textSymbolObj **) ((arg1)->textsymbols);
   16948           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_textSymbolObj, 0 | 0); argvi++ ;
   16949             :     
   16950           0 :     XSRETURN(argvi);
   16951             :   fail:
   16952             :     
   16953           0 :     SWIG_croak_null();
   16954             :   }
   16955             : }
   16956             : 
   16957             : 
   16958           0 : XS(_wrap_labelCacheMemberObj_numtextsymbols_get) {
   16959             :   {
   16960             :     labelCacheMemberObj *arg1 = (labelCacheMemberObj *) 0 ;
   16961           0 :     void *argp1 = 0 ;
   16962             :     int res1 = 0 ;
   16963             :     int argvi = 0;
   16964             :     int result;
   16965           0 :     dXSARGS;
   16966             :     
   16967           0 :     if ((items < 1) || (items > 1)) {
   16968           0 :       SWIG_croak("Usage: labelCacheMemberObj_numtextsymbols_get(self);");
   16969             :     }
   16970           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheMemberObj, 0 |  0 );
   16971           0 :     if (!SWIG_IsOK(res1)) {
   16972           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheMemberObj_numtextsymbols_get" "', argument " "1"" of type '" "labelCacheMemberObj *""'"); 
   16973             :     }
   16974           0 :     arg1 = (labelCacheMemberObj *)(argp1);
   16975           0 :     result = (int) ((arg1)->numtextsymbols);
   16976           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   16977             :     
   16978           0 :     XSRETURN(argvi);
   16979             :   fail:
   16980             :     
   16981           0 :     SWIG_croak_null();
   16982             :   }
   16983             : }
   16984             : 
   16985             : 
   16986           0 : XS(_wrap_labelCacheMemberObj_layerindex_get) {
   16987             :   {
   16988             :     labelCacheMemberObj *arg1 = (labelCacheMemberObj *) 0 ;
   16989           0 :     void *argp1 = 0 ;
   16990             :     int res1 = 0 ;
   16991             :     int argvi = 0;
   16992             :     int result;
   16993           0 :     dXSARGS;
   16994             :     
   16995           0 :     if ((items < 1) || (items > 1)) {
   16996           0 :       SWIG_croak("Usage: labelCacheMemberObj_layerindex_get(self);");
   16997             :     }
   16998           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheMemberObj, 0 |  0 );
   16999           0 :     if (!SWIG_IsOK(res1)) {
   17000           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheMemberObj_layerindex_get" "', argument " "1"" of type '" "labelCacheMemberObj *""'"); 
   17001             :     }
   17002           0 :     arg1 = (labelCacheMemberObj *)(argp1);
   17003           0 :     result = (int) ((arg1)->layerindex);
   17004           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   17005             :     
   17006           0 :     XSRETURN(argvi);
   17007             :   fail:
   17008             :     
   17009           0 :     SWIG_croak_null();
   17010             :   }
   17011             : }
   17012             : 
   17013             : 
   17014           0 : XS(_wrap_labelCacheMemberObj_classindex_get) {
   17015             :   {
   17016             :     labelCacheMemberObj *arg1 = (labelCacheMemberObj *) 0 ;
   17017           0 :     void *argp1 = 0 ;
   17018             :     int res1 = 0 ;
   17019             :     int argvi = 0;
   17020             :     int result;
   17021           0 :     dXSARGS;
   17022             :     
   17023           0 :     if ((items < 1) || (items > 1)) {
   17024           0 :       SWIG_croak("Usage: labelCacheMemberObj_classindex_get(self);");
   17025             :     }
   17026           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheMemberObj, 0 |  0 );
   17027           0 :     if (!SWIG_IsOK(res1)) {
   17028           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheMemberObj_classindex_get" "', argument " "1"" of type '" "labelCacheMemberObj *""'"); 
   17029             :     }
   17030           0 :     arg1 = (labelCacheMemberObj *)(argp1);
   17031           0 :     result = (int) ((arg1)->classindex);
   17032           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   17033             :     
   17034           0 :     XSRETURN(argvi);
   17035             :   fail:
   17036             :     
   17037           0 :     SWIG_croak_null();
   17038             :   }
   17039             : }
   17040             : 
   17041             : 
   17042           0 : XS(_wrap_labelCacheMemberObj_point_get) {
   17043             :   {
   17044             :     labelCacheMemberObj *arg1 = (labelCacheMemberObj *) 0 ;
   17045           0 :     void *argp1 = 0 ;
   17046             :     int res1 = 0 ;
   17047             :     int argvi = 0;
   17048             :     pointObj *result = 0 ;
   17049           0 :     dXSARGS;
   17050             :     
   17051           0 :     if ((items < 1) || (items > 1)) {
   17052           0 :       SWIG_croak("Usage: labelCacheMemberObj_point_get(self);");
   17053             :     }
   17054           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheMemberObj, 0 |  0 );
   17055           0 :     if (!SWIG_IsOK(res1)) {
   17056           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheMemberObj_point_get" "', argument " "1"" of type '" "labelCacheMemberObj *""'"); 
   17057             :     }
   17058           0 :     arg1 = (labelCacheMemberObj *)(argp1);
   17059           0 :     result = (pointObj *)& ((arg1)->point);
   17060           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pointObj, 0 | SWIG_SHADOW); argvi++ ;
   17061             :     
   17062           0 :     XSRETURN(argvi);
   17063             :   fail:
   17064             :     
   17065           0 :     SWIG_croak_null();
   17066             :   }
   17067             : }
   17068             : 
   17069             : 
   17070           0 : XS(_wrap_labelCacheMemberObj_bbox_get) {
   17071             :   {
   17072             :     labelCacheMemberObj *arg1 = (labelCacheMemberObj *) 0 ;
   17073           0 :     void *argp1 = 0 ;
   17074             :     int res1 = 0 ;
   17075             :     int argvi = 0;
   17076             :     rectObj *result = 0 ;
   17077           0 :     dXSARGS;
   17078             :     
   17079           0 :     if ((items < 1) || (items > 1)) {
   17080           0 :       SWIG_croak("Usage: labelCacheMemberObj_bbox_get(self);");
   17081             :     }
   17082           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheMemberObj, 0 |  0 );
   17083           0 :     if (!SWIG_IsOK(res1)) {
   17084           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheMemberObj_bbox_get" "', argument " "1"" of type '" "labelCacheMemberObj *""'"); 
   17085             :     }
   17086           0 :     arg1 = (labelCacheMemberObj *)(argp1);
   17087           0 :     result = (rectObj *)& ((arg1)->bbox);
   17088           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_rectObj, 0 | SWIG_SHADOW); argvi++ ;
   17089             :     
   17090           0 :     XSRETURN(argvi);
   17091             :   fail:
   17092             :     
   17093           0 :     SWIG_croak_null();
   17094             :   }
   17095             : }
   17096             : 
   17097             : 
   17098           0 : XS(_wrap_labelCacheMemberObj_status_get) {
   17099             :   {
   17100             :     labelCacheMemberObj *arg1 = (labelCacheMemberObj *) 0 ;
   17101           0 :     void *argp1 = 0 ;
   17102             :     int res1 = 0 ;
   17103             :     int argvi = 0;
   17104             :     int result;
   17105           0 :     dXSARGS;
   17106             :     
   17107           0 :     if ((items < 1) || (items > 1)) {
   17108           0 :       SWIG_croak("Usage: labelCacheMemberObj_status_get(self);");
   17109             :     }
   17110           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheMemberObj, 0 |  0 );
   17111           0 :     if (!SWIG_IsOK(res1)) {
   17112           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheMemberObj_status_get" "', argument " "1"" of type '" "labelCacheMemberObj *""'"); 
   17113             :     }
   17114           0 :     arg1 = (labelCacheMemberObj *)(argp1);
   17115           0 :     result = (int) ((arg1)->status);
   17116           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   17117             :     
   17118           0 :     XSRETURN(argvi);
   17119             :   fail:
   17120             :     
   17121           0 :     SWIG_croak_null();
   17122             :   }
   17123             : }
   17124             : 
   17125             : 
   17126           0 : XS(_wrap_labelCacheMemberObj_markerid_get) {
   17127             :   {
   17128             :     labelCacheMemberObj *arg1 = (labelCacheMemberObj *) 0 ;
   17129           0 :     void *argp1 = 0 ;
   17130             :     int res1 = 0 ;
   17131             :     int argvi = 0;
   17132             :     int result;
   17133           0 :     dXSARGS;
   17134             :     
   17135           0 :     if ((items < 1) || (items > 1)) {
   17136           0 :       SWIG_croak("Usage: labelCacheMemberObj_markerid_get(self);");
   17137             :     }
   17138           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheMemberObj, 0 |  0 );
   17139           0 :     if (!SWIG_IsOK(res1)) {
   17140           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheMemberObj_markerid_get" "', argument " "1"" of type '" "labelCacheMemberObj *""'"); 
   17141             :     }
   17142           0 :     arg1 = (labelCacheMemberObj *)(argp1);
   17143           0 :     result = (int) ((arg1)->markerid);
   17144           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   17145             :     
   17146           0 :     XSRETURN(argvi);
   17147             :   fail:
   17148             :     
   17149           0 :     SWIG_croak_null();
   17150             :   }
   17151             : }
   17152             : 
   17153             : 
   17154           0 : XS(_wrap_labelCacheMemberObj_leaderline_get) {
   17155             :   {
   17156             :     labelCacheMemberObj *arg1 = (labelCacheMemberObj *) 0 ;
   17157           0 :     void *argp1 = 0 ;
   17158             :     int res1 = 0 ;
   17159             :     int argvi = 0;
   17160             :     lineObj *result = 0 ;
   17161           0 :     dXSARGS;
   17162             :     
   17163           0 :     if ((items < 1) || (items > 1)) {
   17164           0 :       SWIG_croak("Usage: labelCacheMemberObj_leaderline_get(self);");
   17165             :     }
   17166           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheMemberObj, 0 |  0 );
   17167           0 :     if (!SWIG_IsOK(res1)) {
   17168           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheMemberObj_leaderline_get" "', argument " "1"" of type '" "labelCacheMemberObj *""'"); 
   17169             :     }
   17170           0 :     arg1 = (labelCacheMemberObj *)(argp1);
   17171           0 :     result = (lineObj *) ((arg1)->leaderline);
   17172           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_lineObj, 0 | SWIG_SHADOW); argvi++ ;
   17173             :     
   17174           0 :     XSRETURN(argvi);
   17175             :   fail:
   17176             :     
   17177           0 :     SWIG_croak_null();
   17178             :   }
   17179             : }
   17180             : 
   17181             : 
   17182           0 : XS(_wrap_labelCacheMemberObj_leaderbbox_get) {
   17183             :   {
   17184             :     labelCacheMemberObj *arg1 = (labelCacheMemberObj *) 0 ;
   17185           0 :     void *argp1 = 0 ;
   17186             :     int res1 = 0 ;
   17187             :     int argvi = 0;
   17188             :     rectObj *result = 0 ;
   17189           0 :     dXSARGS;
   17190             :     
   17191           0 :     if ((items < 1) || (items > 1)) {
   17192           0 :       SWIG_croak("Usage: labelCacheMemberObj_leaderbbox_get(self);");
   17193             :     }
   17194           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheMemberObj, 0 |  0 );
   17195           0 :     if (!SWIG_IsOK(res1)) {
   17196           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheMemberObj_leaderbbox_get" "', argument " "1"" of type '" "labelCacheMemberObj *""'"); 
   17197             :     }
   17198           0 :     arg1 = (labelCacheMemberObj *)(argp1);
   17199           0 :     result = (rectObj *) ((arg1)->leaderbbox);
   17200           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_rectObj, 0 | SWIG_SHADOW); argvi++ ;
   17201             :     
   17202           0 :     XSRETURN(argvi);
   17203             :   fail:
   17204             :     
   17205           0 :     SWIG_croak_null();
   17206             :   }
   17207             : }
   17208             : 
   17209             : 
   17210           0 : XS(_wrap_new_labelCacheMemberObj) {
   17211             :   {
   17212             :     int argvi = 0;
   17213             :     labelCacheMemberObj *result = 0 ;
   17214           0 :     dXSARGS;
   17215             :     
   17216           0 :     if ((items < 0) || (items > 0)) {
   17217           0 :       SWIG_croak("Usage: new_labelCacheMemberObj();");
   17218             :     }
   17219           0 :     result = (labelCacheMemberObj *)calloc(1, sizeof(labelCacheMemberObj));
   17220           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelCacheMemberObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   17221           0 :     XSRETURN(argvi);
   17222             :   fail:
   17223           0 :     SWIG_croak_null();
   17224             :   }
   17225             : }
   17226             : 
   17227             : 
   17228           0 : XS(_wrap_delete_labelCacheMemberObj) {
   17229             :   {
   17230             :     labelCacheMemberObj *arg1 = (labelCacheMemberObj *) 0 ;
   17231           0 :     void *argp1 = 0 ;
   17232             :     int res1 = 0 ;
   17233             :     int argvi = 0;
   17234           0 :     dXSARGS;
   17235             :     
   17236           0 :     if ((items < 1) || (items > 1)) {
   17237           0 :       SWIG_croak("Usage: delete_labelCacheMemberObj(self);");
   17238             :     }
   17239           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheMemberObj, SWIG_POINTER_DISOWN |  0 );
   17240           0 :     if (!SWIG_IsOK(res1)) {
   17241           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_labelCacheMemberObj" "', argument " "1"" of type '" "labelCacheMemberObj *""'"); 
   17242             :     }
   17243           0 :     arg1 = (labelCacheMemberObj *)(argp1);
   17244           0 :     free((char *) arg1);
   17245           0 :     ST(argvi) = sv_newmortal();
   17246             :     
   17247           0 :     XSRETURN(argvi);
   17248             :   fail:
   17249             :     
   17250           0 :     SWIG_croak_null();
   17251             :   }
   17252             : }
   17253             : 
   17254             : 
   17255           0 : XS(_wrap_markerCacheMemberObj_id_get) {
   17256             :   {
   17257             :     markerCacheMemberObj *arg1 = (markerCacheMemberObj *) 0 ;
   17258           0 :     void *argp1 = 0 ;
   17259             :     int res1 = 0 ;
   17260             :     int argvi = 0;
   17261             :     int result;
   17262           0 :     dXSARGS;
   17263             :     
   17264           0 :     if ((items < 1) || (items > 1)) {
   17265           0 :       SWIG_croak("Usage: markerCacheMemberObj_id_get(self);");
   17266             :     }
   17267           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_markerCacheMemberObj, 0 |  0 );
   17268           0 :     if (!SWIG_IsOK(res1)) {
   17269           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "markerCacheMemberObj_id_get" "', argument " "1"" of type '" "markerCacheMemberObj *""'"); 
   17270             :     }
   17271           0 :     arg1 = (markerCacheMemberObj *)(argp1);
   17272           0 :     result = (int) ((arg1)->id);
   17273           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   17274             :     
   17275           0 :     XSRETURN(argvi);
   17276             :   fail:
   17277             :     
   17278           0 :     SWIG_croak_null();
   17279             :   }
   17280             : }
   17281             : 
   17282             : 
   17283           0 : XS(_wrap_markerCacheMemberObj_bounds_get) {
   17284             :   {
   17285             :     markerCacheMemberObj *arg1 = (markerCacheMemberObj *) 0 ;
   17286           0 :     void *argp1 = 0 ;
   17287             :     int res1 = 0 ;
   17288             :     int argvi = 0;
   17289             :     rectObj *result = 0 ;
   17290           0 :     dXSARGS;
   17291             :     
   17292           0 :     if ((items < 1) || (items > 1)) {
   17293           0 :       SWIG_croak("Usage: markerCacheMemberObj_bounds_get(self);");
   17294             :     }
   17295           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_markerCacheMemberObj, 0 |  0 );
   17296           0 :     if (!SWIG_IsOK(res1)) {
   17297           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "markerCacheMemberObj_bounds_get" "', argument " "1"" of type '" "markerCacheMemberObj *""'"); 
   17298             :     }
   17299           0 :     arg1 = (markerCacheMemberObj *)(argp1);
   17300           0 :     result = (rectObj *)& ((arg1)->bounds);
   17301           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_rectObj, 0 | SWIG_SHADOW); argvi++ ;
   17302             :     
   17303           0 :     XSRETURN(argvi);
   17304             :   fail:
   17305             :     
   17306           0 :     SWIG_croak_null();
   17307             :   }
   17308             : }
   17309             : 
   17310             : 
   17311           0 : XS(_wrap_new_markerCacheMemberObj) {
   17312             :   {
   17313             :     int argvi = 0;
   17314             :     markerCacheMemberObj *result = 0 ;
   17315           0 :     dXSARGS;
   17316             :     
   17317           0 :     if ((items < 0) || (items > 0)) {
   17318           0 :       SWIG_croak("Usage: new_markerCacheMemberObj();");
   17319             :     }
   17320           0 :     result = (markerCacheMemberObj *)calloc(1, sizeof(markerCacheMemberObj));
   17321           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_markerCacheMemberObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   17322           0 :     XSRETURN(argvi);
   17323             :   fail:
   17324           0 :     SWIG_croak_null();
   17325             :   }
   17326             : }
   17327             : 
   17328             : 
   17329           0 : XS(_wrap_delete_markerCacheMemberObj) {
   17330             :   {
   17331             :     markerCacheMemberObj *arg1 = (markerCacheMemberObj *) 0 ;
   17332           0 :     void *argp1 = 0 ;
   17333             :     int res1 = 0 ;
   17334             :     int argvi = 0;
   17335           0 :     dXSARGS;
   17336             :     
   17337           0 :     if ((items < 1) || (items > 1)) {
   17338           0 :       SWIG_croak("Usage: delete_markerCacheMemberObj(self);");
   17339             :     }
   17340           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_markerCacheMemberObj, SWIG_POINTER_DISOWN |  0 );
   17341           0 :     if (!SWIG_IsOK(res1)) {
   17342           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_markerCacheMemberObj" "', argument " "1"" of type '" "markerCacheMemberObj *""'"); 
   17343             :     }
   17344           0 :     arg1 = (markerCacheMemberObj *)(argp1);
   17345           0 :     free((char *) arg1);
   17346           0 :     ST(argvi) = sv_newmortal();
   17347             :     
   17348           0 :     XSRETURN(argvi);
   17349             :   fail:
   17350             :     
   17351           0 :     SWIG_croak_null();
   17352             :   }
   17353             : }
   17354             : 
   17355             : 
   17356           0 : XS(_wrap_labelCacheSlotObj_labels_get) {
   17357             :   {
   17358             :     labelCacheSlotObj *arg1 = (labelCacheSlotObj *) 0 ;
   17359           0 :     void *argp1 = 0 ;
   17360             :     int res1 = 0 ;
   17361             :     int argvi = 0;
   17362             :     labelCacheMemberObj *result = 0 ;
   17363           0 :     dXSARGS;
   17364             :     
   17365           0 :     if ((items < 1) || (items > 1)) {
   17366           0 :       SWIG_croak("Usage: labelCacheSlotObj_labels_get(self);");
   17367             :     }
   17368           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheSlotObj, 0 |  0 );
   17369           0 :     if (!SWIG_IsOK(res1)) {
   17370           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheSlotObj_labels_get" "', argument " "1"" of type '" "labelCacheSlotObj *""'"); 
   17371             :     }
   17372           0 :     arg1 = (labelCacheSlotObj *)(argp1);
   17373           0 :     result = (labelCacheMemberObj *) ((arg1)->labels);
   17374           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelCacheMemberObj, 0 | SWIG_SHADOW); argvi++ ;
   17375             :     
   17376           0 :     XSRETURN(argvi);
   17377             :   fail:
   17378             :     
   17379           0 :     SWIG_croak_null();
   17380             :   }
   17381             : }
   17382             : 
   17383             : 
   17384           0 : XS(_wrap_labelCacheSlotObj_numlabels_get) {
   17385             :   {
   17386             :     labelCacheSlotObj *arg1 = (labelCacheSlotObj *) 0 ;
   17387           0 :     void *argp1 = 0 ;
   17388             :     int res1 = 0 ;
   17389             :     int argvi = 0;
   17390             :     int result;
   17391           0 :     dXSARGS;
   17392             :     
   17393           0 :     if ((items < 1) || (items > 1)) {
   17394           0 :       SWIG_croak("Usage: labelCacheSlotObj_numlabels_get(self);");
   17395             :     }
   17396           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheSlotObj, 0 |  0 );
   17397           0 :     if (!SWIG_IsOK(res1)) {
   17398           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheSlotObj_numlabels_get" "', argument " "1"" of type '" "labelCacheSlotObj *""'"); 
   17399             :     }
   17400           0 :     arg1 = (labelCacheSlotObj *)(argp1);
   17401           0 :     result = (int) ((arg1)->numlabels);
   17402           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   17403             :     
   17404           0 :     XSRETURN(argvi);
   17405             :   fail:
   17406             :     
   17407           0 :     SWIG_croak_null();
   17408             :   }
   17409             : }
   17410             : 
   17411             : 
   17412           0 : XS(_wrap_labelCacheSlotObj_cachesize_get) {
   17413             :   {
   17414             :     labelCacheSlotObj *arg1 = (labelCacheSlotObj *) 0 ;
   17415           0 :     void *argp1 = 0 ;
   17416             :     int res1 = 0 ;
   17417             :     int argvi = 0;
   17418             :     int result;
   17419           0 :     dXSARGS;
   17420             :     
   17421           0 :     if ((items < 1) || (items > 1)) {
   17422           0 :       SWIG_croak("Usage: labelCacheSlotObj_cachesize_get(self);");
   17423             :     }
   17424           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheSlotObj, 0 |  0 );
   17425           0 :     if (!SWIG_IsOK(res1)) {
   17426           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheSlotObj_cachesize_get" "', argument " "1"" of type '" "labelCacheSlotObj *""'"); 
   17427             :     }
   17428           0 :     arg1 = (labelCacheSlotObj *)(argp1);
   17429           0 :     result = (int) ((arg1)->cachesize);
   17430           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   17431             :     
   17432           0 :     XSRETURN(argvi);
   17433             :   fail:
   17434             :     
   17435           0 :     SWIG_croak_null();
   17436             :   }
   17437             : }
   17438             : 
   17439             : 
   17440           0 : XS(_wrap_labelCacheSlotObj_markers_get) {
   17441             :   {
   17442             :     labelCacheSlotObj *arg1 = (labelCacheSlotObj *) 0 ;
   17443           0 :     void *argp1 = 0 ;
   17444             :     int res1 = 0 ;
   17445             :     int argvi = 0;
   17446             :     markerCacheMemberObj *result = 0 ;
   17447           0 :     dXSARGS;
   17448             :     
   17449           0 :     if ((items < 1) || (items > 1)) {
   17450           0 :       SWIG_croak("Usage: labelCacheSlotObj_markers_get(self);");
   17451             :     }
   17452           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheSlotObj, 0 |  0 );
   17453           0 :     if (!SWIG_IsOK(res1)) {
   17454           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheSlotObj_markers_get" "', argument " "1"" of type '" "labelCacheSlotObj *""'"); 
   17455             :     }
   17456           0 :     arg1 = (labelCacheSlotObj *)(argp1);
   17457           0 :     result = (markerCacheMemberObj *) ((arg1)->markers);
   17458           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_markerCacheMemberObj, 0 | SWIG_SHADOW); argvi++ ;
   17459             :     
   17460           0 :     XSRETURN(argvi);
   17461             :   fail:
   17462             :     
   17463           0 :     SWIG_croak_null();
   17464             :   }
   17465             : }
   17466             : 
   17467             : 
   17468           0 : XS(_wrap_labelCacheSlotObj_nummarkers_get) {
   17469             :   {
   17470             :     labelCacheSlotObj *arg1 = (labelCacheSlotObj *) 0 ;
   17471           0 :     void *argp1 = 0 ;
   17472             :     int res1 = 0 ;
   17473             :     int argvi = 0;
   17474             :     int result;
   17475           0 :     dXSARGS;
   17476             :     
   17477           0 :     if ((items < 1) || (items > 1)) {
   17478           0 :       SWIG_croak("Usage: labelCacheSlotObj_nummarkers_get(self);");
   17479             :     }
   17480           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheSlotObj, 0 |  0 );
   17481           0 :     if (!SWIG_IsOK(res1)) {
   17482           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheSlotObj_nummarkers_get" "', argument " "1"" of type '" "labelCacheSlotObj *""'"); 
   17483             :     }
   17484           0 :     arg1 = (labelCacheSlotObj *)(argp1);
   17485           0 :     result = (int) ((arg1)->nummarkers);
   17486           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   17487             :     
   17488           0 :     XSRETURN(argvi);
   17489             :   fail:
   17490             :     
   17491           0 :     SWIG_croak_null();
   17492             :   }
   17493             : }
   17494             : 
   17495             : 
   17496           0 : XS(_wrap_labelCacheSlotObj_markercachesize_get) {
   17497             :   {
   17498             :     labelCacheSlotObj *arg1 = (labelCacheSlotObj *) 0 ;
   17499           0 :     void *argp1 = 0 ;
   17500             :     int res1 = 0 ;
   17501             :     int argvi = 0;
   17502             :     int result;
   17503           0 :     dXSARGS;
   17504             :     
   17505           0 :     if ((items < 1) || (items > 1)) {
   17506           0 :       SWIG_croak("Usage: labelCacheSlotObj_markercachesize_get(self);");
   17507             :     }
   17508           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheSlotObj, 0 |  0 );
   17509           0 :     if (!SWIG_IsOK(res1)) {
   17510           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheSlotObj_markercachesize_get" "', argument " "1"" of type '" "labelCacheSlotObj *""'"); 
   17511             :     }
   17512           0 :     arg1 = (labelCacheSlotObj *)(argp1);
   17513           0 :     result = (int) ((arg1)->markercachesize);
   17514           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   17515             :     
   17516           0 :     XSRETURN(argvi);
   17517             :   fail:
   17518             :     
   17519           0 :     SWIG_croak_null();
   17520             :   }
   17521             : }
   17522             : 
   17523             : 
   17524           0 : XS(_wrap_new_labelCacheSlotObj) {
   17525             :   {
   17526             :     int argvi = 0;
   17527             :     labelCacheSlotObj *result = 0 ;
   17528           0 :     dXSARGS;
   17529             :     
   17530           0 :     if ((items < 0) || (items > 0)) {
   17531           0 :       SWIG_croak("Usage: new_labelCacheSlotObj();");
   17532             :     }
   17533           0 :     result = (labelCacheSlotObj *)calloc(1, sizeof(labelCacheSlotObj));
   17534           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelCacheSlotObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   17535           0 :     XSRETURN(argvi);
   17536             :   fail:
   17537           0 :     SWIG_croak_null();
   17538             :   }
   17539             : }
   17540             : 
   17541             : 
   17542           0 : XS(_wrap_delete_labelCacheSlotObj) {
   17543             :   {
   17544             :     labelCacheSlotObj *arg1 = (labelCacheSlotObj *) 0 ;
   17545           0 :     void *argp1 = 0 ;
   17546             :     int res1 = 0 ;
   17547             :     int argvi = 0;
   17548           0 :     dXSARGS;
   17549             :     
   17550           0 :     if ((items < 1) || (items > 1)) {
   17551           0 :       SWIG_croak("Usage: delete_labelCacheSlotObj(self);");
   17552             :     }
   17553           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheSlotObj, SWIG_POINTER_DISOWN |  0 );
   17554           0 :     if (!SWIG_IsOK(res1)) {
   17555           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_labelCacheSlotObj" "', argument " "1"" of type '" "labelCacheSlotObj *""'"); 
   17556             :     }
   17557           0 :     arg1 = (labelCacheSlotObj *)(argp1);
   17558           0 :     free((char *) arg1);
   17559           0 :     ST(argvi) = sv_newmortal();
   17560             :     
   17561           0 :     XSRETURN(argvi);
   17562             :   fail:
   17563             :     
   17564           0 :     SWIG_croak_null();
   17565             :   }
   17566             : }
   17567             : 
   17568             : 
   17569           0 : XS(_wrap_labelCacheObj_slots_get) {
   17570             :   {
   17571             :     labelCacheObj *arg1 = (labelCacheObj *) 0 ;
   17572           0 :     void *argp1 = 0 ;
   17573             :     int res1 = 0 ;
   17574             :     int argvi = 0;
   17575             :     labelCacheSlotObj *result = 0 ;
   17576           0 :     dXSARGS;
   17577             :     
   17578           0 :     if ((items < 1) || (items > 1)) {
   17579           0 :       SWIG_croak("Usage: labelCacheObj_slots_get(self);");
   17580             :     }
   17581           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheObj, 0 |  0 );
   17582           0 :     if (!SWIG_IsOK(res1)) {
   17583           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheObj_slots_get" "', argument " "1"" of type '" "labelCacheObj *""'"); 
   17584             :     }
   17585           0 :     arg1 = (labelCacheObj *)(argp1);
   17586           0 :     result = (labelCacheSlotObj *)(labelCacheSlotObj *) ((arg1)->slots);
   17587           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelCacheSlotObj, 0 | SWIG_SHADOW); argvi++ ;
   17588             :     
   17589           0 :     XSRETURN(argvi);
   17590             :   fail:
   17591             :     
   17592           0 :     SWIG_croak_null();
   17593             :   }
   17594             : }
   17595             : 
   17596             : 
   17597           0 : XS(_wrap_labelCacheObj_gutter_get) {
   17598             :   {
   17599             :     labelCacheObj *arg1 = (labelCacheObj *) 0 ;
   17600           0 :     void *argp1 = 0 ;
   17601             :     int res1 = 0 ;
   17602             :     int argvi = 0;
   17603             :     int result;
   17604           0 :     dXSARGS;
   17605             :     
   17606           0 :     if ((items < 1) || (items > 1)) {
   17607           0 :       SWIG_croak("Usage: labelCacheObj_gutter_get(self);");
   17608             :     }
   17609           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheObj, 0 |  0 );
   17610           0 :     if (!SWIG_IsOK(res1)) {
   17611           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheObj_gutter_get" "', argument " "1"" of type '" "labelCacheObj *""'"); 
   17612             :     }
   17613           0 :     arg1 = (labelCacheObj *)(argp1);
   17614           0 :     result = (int) ((arg1)->gutter);
   17615           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   17616             :     
   17617           0 :     XSRETURN(argvi);
   17618             :   fail:
   17619             :     
   17620           0 :     SWIG_croak_null();
   17621             :   }
   17622             : }
   17623             : 
   17624             : 
   17625           0 : XS(_wrap_labelCacheObj_rendered_text_symbols_get) {
   17626             :   {
   17627             :     labelCacheObj *arg1 = (labelCacheObj *) 0 ;
   17628           0 :     void *argp1 = 0 ;
   17629             :     int res1 = 0 ;
   17630             :     int argvi = 0;
   17631             :     labelCacheMemberObj **result = 0 ;
   17632           0 :     dXSARGS;
   17633             :     
   17634           0 :     if ((items < 1) || (items > 1)) {
   17635           0 :       SWIG_croak("Usage: labelCacheObj_rendered_text_symbols_get(self);");
   17636             :     }
   17637           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheObj, 0 |  0 );
   17638           0 :     if (!SWIG_IsOK(res1)) {
   17639           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheObj_rendered_text_symbols_get" "', argument " "1"" of type '" "labelCacheObj *""'"); 
   17640             :     }
   17641           0 :     arg1 = (labelCacheObj *)(argp1);
   17642           0 :     result = (labelCacheMemberObj **) ((arg1)->rendered_text_symbols);
   17643           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_labelCacheMemberObj, 0 | 0); argvi++ ;
   17644             :     
   17645           0 :     XSRETURN(argvi);
   17646             :   fail:
   17647             :     
   17648           0 :     SWIG_croak_null();
   17649             :   }
   17650             : }
   17651             : 
   17652             : 
   17653           0 : XS(_wrap_labelCacheObj_num_allocated_rendered_members_get) {
   17654             :   {
   17655             :     labelCacheObj *arg1 = (labelCacheObj *) 0 ;
   17656           0 :     void *argp1 = 0 ;
   17657             :     int res1 = 0 ;
   17658             :     int argvi = 0;
   17659             :     int result;
   17660           0 :     dXSARGS;
   17661             :     
   17662           0 :     if ((items < 1) || (items > 1)) {
   17663           0 :       SWIG_croak("Usage: labelCacheObj_num_allocated_rendered_members_get(self);");
   17664             :     }
   17665           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheObj, 0 |  0 );
   17666           0 :     if (!SWIG_IsOK(res1)) {
   17667           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheObj_num_allocated_rendered_members_get" "', argument " "1"" of type '" "labelCacheObj *""'"); 
   17668             :     }
   17669           0 :     arg1 = (labelCacheObj *)(argp1);
   17670           0 :     result = (int) ((arg1)->num_allocated_rendered_members);
   17671           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   17672             :     
   17673           0 :     XSRETURN(argvi);
   17674             :   fail:
   17675             :     
   17676           0 :     SWIG_croak_null();
   17677             :   }
   17678             : }
   17679             : 
   17680             : 
   17681           0 : XS(_wrap_labelCacheObj_num_rendered_members_get) {
   17682             :   {
   17683             :     labelCacheObj *arg1 = (labelCacheObj *) 0 ;
   17684           0 :     void *argp1 = 0 ;
   17685             :     int res1 = 0 ;
   17686             :     int argvi = 0;
   17687             :     int result;
   17688           0 :     dXSARGS;
   17689             :     
   17690           0 :     if ((items < 1) || (items > 1)) {
   17691           0 :       SWIG_croak("Usage: labelCacheObj_num_rendered_members_get(self);");
   17692             :     }
   17693           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheObj, 0 |  0 );
   17694           0 :     if (!SWIG_IsOK(res1)) {
   17695           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheObj_num_rendered_members_get" "', argument " "1"" of type '" "labelCacheObj *""'"); 
   17696             :     }
   17697           0 :     arg1 = (labelCacheObj *)(argp1);
   17698           0 :     result = (int) ((arg1)->num_rendered_members);
   17699           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   17700             :     
   17701           0 :     XSRETURN(argvi);
   17702             :   fail:
   17703             :     
   17704           0 :     SWIG_croak_null();
   17705             :   }
   17706             : }
   17707             : 
   17708             : 
   17709           0 : XS(_wrap_labelCacheObj_freeCache) {
   17710             :   {
   17711             :     labelCacheObj *arg1 = (labelCacheObj *) 0 ;
   17712           0 :     void *argp1 = 0 ;
   17713             :     int res1 = 0 ;
   17714             :     int argvi = 0;
   17715           0 :     dXSARGS;
   17716             :     
   17717           0 :     if ((items < 1) || (items > 1)) {
   17718           0 :       SWIG_croak("Usage: labelCacheObj_freeCache(self);");
   17719             :     }
   17720           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheObj, 0 |  0 );
   17721           0 :     if (!SWIG_IsOK(res1)) {
   17722           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheObj_freeCache" "', argument " "1"" of type '" "labelCacheObj *""'"); 
   17723             :     }
   17724           0 :     arg1 = (labelCacheObj *)(argp1);
   17725             :     labelCacheObj_freeCache(arg1);
   17726           0 :     ST(argvi) = sv_newmortal();
   17727             :     
   17728           0 :     XSRETURN(argvi);
   17729             :   fail:
   17730             :     
   17731           0 :     SWIG_croak_null();
   17732             :   }
   17733             : }
   17734             : 
   17735             : 
   17736           0 : XS(_wrap_new_labelCacheObj) {
   17737             :   {
   17738             :     int argvi = 0;
   17739             :     labelCacheObj *result = 0 ;
   17740           0 :     dXSARGS;
   17741             :     
   17742           0 :     if ((items < 0) || (items > 0)) {
   17743           0 :       SWIG_croak("Usage: new_labelCacheObj();");
   17744             :     }
   17745           0 :     result = (labelCacheObj *)calloc(1, sizeof(labelCacheObj));
   17746           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelCacheObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   17747           0 :     XSRETURN(argvi);
   17748             :   fail:
   17749           0 :     SWIG_croak_null();
   17750             :   }
   17751             : }
   17752             : 
   17753             : 
   17754           0 : XS(_wrap_delete_labelCacheObj) {
   17755             :   {
   17756             :     labelCacheObj *arg1 = (labelCacheObj *) 0 ;
   17757           0 :     void *argp1 = 0 ;
   17758             :     int res1 = 0 ;
   17759             :     int argvi = 0;
   17760           0 :     dXSARGS;
   17761             :     
   17762           0 :     if ((items < 1) || (items > 1)) {
   17763           0 :       SWIG_croak("Usage: delete_labelCacheObj(self);");
   17764             :     }
   17765           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheObj, SWIG_POINTER_DISOWN |  0 );
   17766           0 :     if (!SWIG_IsOK(res1)) {
   17767           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_labelCacheObj" "', argument " "1"" of type '" "labelCacheObj *""'"); 
   17768             :     }
   17769           0 :     arg1 = (labelCacheObj *)(argp1);
   17770           0 :     free((char *) arg1);
   17771           0 :     ST(argvi) = sv_newmortal();
   17772             :     
   17773           0 :     XSRETURN(argvi);
   17774             :   fail:
   17775             :     
   17776           0 :     SWIG_croak_null();
   17777             :   }
   17778             : }
   17779             : 
   17780             : 
   17781           0 : XS(_wrap_resultObj_shapeindex_get) {
   17782             :   {
   17783             :     resultObj *arg1 = (resultObj *) 0 ;
   17784           0 :     void *argp1 = 0 ;
   17785             :     int res1 = 0 ;
   17786             :     int argvi = 0;
   17787             :     long result;
   17788           0 :     dXSARGS;
   17789             :     
   17790           0 :     if ((items < 1) || (items > 1)) {
   17791           0 :       SWIG_croak("Usage: resultObj_shapeindex_get(self);");
   17792             :     }
   17793           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_resultObj, 0 |  0 );
   17794           0 :     if (!SWIG_IsOK(res1)) {
   17795           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "resultObj_shapeindex_get" "', argument " "1"" of type '" "resultObj *""'"); 
   17796             :     }
   17797           0 :     arg1 = (resultObj *)(argp1);
   17798           0 :     result = (long) ((arg1)->shapeindex);
   17799           0 :     ST(argvi) = SWIG_From_long  SWIG_PERL_CALL_ARGS_1((long)(result)); argvi++ ;
   17800             :     
   17801           0 :     XSRETURN(argvi);
   17802             :   fail:
   17803             :     
   17804           0 :     SWIG_croak_null();
   17805             :   }
   17806             : }
   17807             : 
   17808             : 
   17809           0 : XS(_wrap_resultObj_tileindex_get) {
   17810             :   {
   17811             :     resultObj *arg1 = (resultObj *) 0 ;
   17812           0 :     void *argp1 = 0 ;
   17813             :     int res1 = 0 ;
   17814             :     int argvi = 0;
   17815             :     int result;
   17816           0 :     dXSARGS;
   17817             :     
   17818           0 :     if ((items < 1) || (items > 1)) {
   17819           0 :       SWIG_croak("Usage: resultObj_tileindex_get(self);");
   17820             :     }
   17821           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_resultObj, 0 |  0 );
   17822           0 :     if (!SWIG_IsOK(res1)) {
   17823           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "resultObj_tileindex_get" "', argument " "1"" of type '" "resultObj *""'"); 
   17824             :     }
   17825           0 :     arg1 = (resultObj *)(argp1);
   17826           0 :     result = (int) ((arg1)->tileindex);
   17827           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   17828             :     
   17829           0 :     XSRETURN(argvi);
   17830             :   fail:
   17831             :     
   17832           0 :     SWIG_croak_null();
   17833             :   }
   17834             : }
   17835             : 
   17836             : 
   17837           0 : XS(_wrap_resultObj_resultindex_get) {
   17838             :   {
   17839             :     resultObj *arg1 = (resultObj *) 0 ;
   17840           0 :     void *argp1 = 0 ;
   17841             :     int res1 = 0 ;
   17842             :     int argvi = 0;
   17843             :     int result;
   17844           0 :     dXSARGS;
   17845             :     
   17846           0 :     if ((items < 1) || (items > 1)) {
   17847           0 :       SWIG_croak("Usage: resultObj_resultindex_get(self);");
   17848             :     }
   17849           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_resultObj, 0 |  0 );
   17850           0 :     if (!SWIG_IsOK(res1)) {
   17851           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "resultObj_resultindex_get" "', argument " "1"" of type '" "resultObj *""'"); 
   17852             :     }
   17853           0 :     arg1 = (resultObj *)(argp1);
   17854           0 :     result = (int) ((arg1)->resultindex);
   17855           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   17856             :     
   17857           0 :     XSRETURN(argvi);
   17858             :   fail:
   17859             :     
   17860           0 :     SWIG_croak_null();
   17861             :   }
   17862             : }
   17863             : 
   17864             : 
   17865           0 : XS(_wrap_resultObj_classindex_get) {
   17866             :   {
   17867             :     resultObj *arg1 = (resultObj *) 0 ;
   17868           0 :     void *argp1 = 0 ;
   17869             :     int res1 = 0 ;
   17870             :     int argvi = 0;
   17871             :     int result;
   17872           0 :     dXSARGS;
   17873             :     
   17874           0 :     if ((items < 1) || (items > 1)) {
   17875           0 :       SWIG_croak("Usage: resultObj_classindex_get(self);");
   17876             :     }
   17877           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_resultObj, 0 |  0 );
   17878           0 :     if (!SWIG_IsOK(res1)) {
   17879           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "resultObj_classindex_get" "', argument " "1"" of type '" "resultObj *""'"); 
   17880             :     }
   17881           0 :     arg1 = (resultObj *)(argp1);
   17882           0 :     result = (int) ((arg1)->classindex);
   17883           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   17884             :     
   17885           0 :     XSRETURN(argvi);
   17886             :   fail:
   17887             :     
   17888           0 :     SWIG_croak_null();
   17889             :   }
   17890             : }
   17891             : 
   17892             : 
   17893           0 : XS(_wrap_new_resultObj) {
   17894             :   {
   17895             :     long arg1 ;
   17896             :     long val1 ;
   17897             :     int ecode1 = 0 ;
   17898             :     int argvi = 0;
   17899             :     resultObj *result = 0 ;
   17900           0 :     dXSARGS;
   17901             :     
   17902           0 :     if ((items < 1) || (items > 1)) {
   17903           0 :       SWIG_croak("Usage: new_resultObj(shapeindex);");
   17904             :     }
   17905           0 :     ecode1 = SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
   17906           0 :     if (!SWIG_IsOK(ecode1)) {
   17907           0 :       SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_resultObj" "', argument " "1"" of type '" "long""'");
   17908             :     } 
   17909           0 :     arg1 = (long)(val1);
   17910             :     result = (resultObj *)new_resultObj(arg1);
   17911           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_resultObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   17912             :     
   17913           0 :     XSRETURN(argvi);
   17914             :   fail:
   17915             :     
   17916           0 :     SWIG_croak_null();
   17917             :   }
   17918             : }
   17919             : 
   17920             : 
   17921           0 : XS(_wrap_delete_resultObj) {
   17922             :   {
   17923             :     resultObj *arg1 = (resultObj *) 0 ;
   17924           0 :     void *argp1 = 0 ;
   17925             :     int res1 = 0 ;
   17926             :     int argvi = 0;
   17927           0 :     dXSARGS;
   17928             :     
   17929           0 :     if ((items < 1) || (items > 1)) {
   17930           0 :       SWIG_croak("Usage: delete_resultObj(self);");
   17931             :     }
   17932           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_resultObj, SWIG_POINTER_DISOWN |  0 );
   17933           0 :     if (!SWIG_IsOK(res1)) {
   17934           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_resultObj" "', argument " "1"" of type '" "resultObj *""'"); 
   17935             :     }
   17936           0 :     arg1 = (resultObj *)(argp1);
   17937             :     delete_resultObj(arg1);
   17938           0 :     ST(argvi) = sv_newmortal();
   17939             :     
   17940           0 :     XSRETURN(argvi);
   17941             :   fail:
   17942             :     
   17943           0 :     SWIG_croak_null();
   17944             :   }
   17945             : }
   17946             : 
   17947             : 
   17948           0 : XS(_wrap_resultCacheObj_numresults_get) {
   17949             :   {
   17950             :     resultCacheObj *arg1 = (resultCacheObj *) 0 ;
   17951           0 :     void *argp1 = 0 ;
   17952             :     int res1 = 0 ;
   17953             :     int argvi = 0;
   17954             :     int result;
   17955           0 :     dXSARGS;
   17956             :     
   17957           0 :     if ((items < 1) || (items > 1)) {
   17958           0 :       SWIG_croak("Usage: resultCacheObj_numresults_get(self);");
   17959             :     }
   17960           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_resultCacheObj, 0 |  0 );
   17961           0 :     if (!SWIG_IsOK(res1)) {
   17962           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "resultCacheObj_numresults_get" "', argument " "1"" of type '" "resultCacheObj *""'"); 
   17963             :     }
   17964           0 :     arg1 = (resultCacheObj *)(argp1);
   17965           0 :     result = (int) ((arg1)->numresults);
   17966           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   17967             :     
   17968           0 :     XSRETURN(argvi);
   17969             :   fail:
   17970             :     
   17971           0 :     SWIG_croak_null();
   17972             :   }
   17973             : }
   17974             : 
   17975             : 
   17976           0 : XS(_wrap_resultCacheObj_bounds_get) {
   17977             :   {
   17978             :     resultCacheObj *arg1 = (resultCacheObj *) 0 ;
   17979           0 :     void *argp1 = 0 ;
   17980             :     int res1 = 0 ;
   17981             :     int argvi = 0;
   17982             :     rectObj *result = 0 ;
   17983           0 :     dXSARGS;
   17984             :     
   17985           0 :     if ((items < 1) || (items > 1)) {
   17986           0 :       SWIG_croak("Usage: resultCacheObj_bounds_get(self);");
   17987             :     }
   17988           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_resultCacheObj, 0 |  0 );
   17989           0 :     if (!SWIG_IsOK(res1)) {
   17990           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "resultCacheObj_bounds_get" "', argument " "1"" of type '" "resultCacheObj *""'"); 
   17991             :     }
   17992           0 :     arg1 = (resultCacheObj *)(argp1);
   17993           0 :     result = (rectObj *)& ((arg1)->bounds);
   17994           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_rectObj, 0 | SWIG_SHADOW); argvi++ ;
   17995             :     
   17996           0 :     XSRETURN(argvi);
   17997             :   fail:
   17998             :     
   17999           0 :     SWIG_croak_null();
   18000             :   }
   18001             : }
   18002             : 
   18003             : 
   18004           0 : XS(_wrap_resultCacheObj_usegetshape_set) {
   18005             :   {
   18006             :     resultCacheObj *arg1 = (resultCacheObj *) 0 ;
   18007             :     int arg2 ;
   18008           0 :     void *argp1 = 0 ;
   18009             :     int res1 = 0 ;
   18010             :     int val2 ;
   18011             :     int ecode2 = 0 ;
   18012             :     int argvi = 0;
   18013           0 :     dXSARGS;
   18014             :     
   18015           0 :     if ((items < 2) || (items > 2)) {
   18016           0 :       SWIG_croak("Usage: resultCacheObj_usegetshape_set(self,usegetshape);");
   18017             :     }
   18018           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_resultCacheObj, 0 |  0 );
   18019           0 :     if (!SWIG_IsOK(res1)) {
   18020           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "resultCacheObj_usegetshape_set" "', argument " "1"" of type '" "resultCacheObj *""'"); 
   18021             :     }
   18022           0 :     arg1 = (resultCacheObj *)(argp1);
   18023           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   18024           0 :     if (!SWIG_IsOK(ecode2)) {
   18025           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "resultCacheObj_usegetshape_set" "', argument " "2"" of type '" "int""'");
   18026             :     } 
   18027           0 :     arg2 = (int)(val2);
   18028           0 :     if (arg1) (arg1)->usegetshape = arg2;
   18029           0 :     ST(argvi) = sv_newmortal();
   18030             :     
   18031             :     
   18032           0 :     XSRETURN(argvi);
   18033             :   fail:
   18034             :     
   18035             :     
   18036           0 :     SWIG_croak_null();
   18037             :   }
   18038             : }
   18039             : 
   18040             : 
   18041           0 : XS(_wrap_resultCacheObj_usegetshape_get) {
   18042             :   {
   18043             :     resultCacheObj *arg1 = (resultCacheObj *) 0 ;
   18044           0 :     void *argp1 = 0 ;
   18045             :     int res1 = 0 ;
   18046             :     int argvi = 0;
   18047             :     int result;
   18048           0 :     dXSARGS;
   18049             :     
   18050           0 :     if ((items < 1) || (items > 1)) {
   18051           0 :       SWIG_croak("Usage: resultCacheObj_usegetshape_get(self);");
   18052             :     }
   18053           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_resultCacheObj, 0 |  0 );
   18054           0 :     if (!SWIG_IsOK(res1)) {
   18055           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "resultCacheObj_usegetshape_get" "', argument " "1"" of type '" "resultCacheObj *""'"); 
   18056             :     }
   18057           0 :     arg1 = (resultCacheObj *)(argp1);
   18058           0 :     result = (int) ((arg1)->usegetshape);
   18059           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   18060             :     
   18061           0 :     XSRETURN(argvi);
   18062             :   fail:
   18063             :     
   18064           0 :     SWIG_croak_null();
   18065             :   }
   18066             : }
   18067             : 
   18068             : 
   18069           0 : XS(_wrap_resultCacheObj_getResult) {
   18070             :   {
   18071             :     resultCacheObj *arg1 = (resultCacheObj *) 0 ;
   18072             :     int arg2 ;
   18073           0 :     void *argp1 = 0 ;
   18074             :     int res1 = 0 ;
   18075             :     int val2 ;
   18076             :     int ecode2 = 0 ;
   18077             :     int argvi = 0;
   18078             :     resultObj *result = 0 ;
   18079           0 :     dXSARGS;
   18080             :     
   18081           0 :     if ((items < 2) || (items > 2)) {
   18082           0 :       SWIG_croak("Usage: resultCacheObj_getResult(self,i);");
   18083             :     }
   18084           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_resultCacheObj, 0 |  0 );
   18085           0 :     if (!SWIG_IsOK(res1)) {
   18086           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "resultCacheObj_getResult" "', argument " "1"" of type '" "resultCacheObj *""'"); 
   18087             :     }
   18088           0 :     arg1 = (resultCacheObj *)(argp1);
   18089           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   18090           0 :     if (!SWIG_IsOK(ecode2)) {
   18091           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "resultCacheObj_getResult" "', argument " "2"" of type '" "int""'");
   18092             :     } 
   18093           0 :     arg2 = (int)(val2);
   18094             :     result = (resultObj *)resultCacheObj_getResult(arg1,arg2);
   18095           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_resultObj, 0 | SWIG_SHADOW); argvi++ ;
   18096             :     
   18097             :     
   18098           0 :     XSRETURN(argvi);
   18099             :   fail:
   18100             :     
   18101             :     
   18102           0 :     SWIG_croak_null();
   18103             :   }
   18104             : }
   18105             : 
   18106             : 
   18107           0 : XS(_wrap_new_resultCacheObj) {
   18108             :   {
   18109             :     int argvi = 0;
   18110             :     resultCacheObj *result = 0 ;
   18111           0 :     dXSARGS;
   18112             :     
   18113           0 :     if ((items < 0) || (items > 0)) {
   18114           0 :       SWIG_croak("Usage: new_resultCacheObj();");
   18115             :     }
   18116           0 :     result = (resultCacheObj *)calloc(1, sizeof(resultCacheObj));
   18117           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_resultCacheObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   18118           0 :     XSRETURN(argvi);
   18119             :   fail:
   18120           0 :     SWIG_croak_null();
   18121             :   }
   18122             : }
   18123             : 
   18124             : 
   18125           0 : XS(_wrap_delete_resultCacheObj) {
   18126             :   {
   18127             :     resultCacheObj *arg1 = (resultCacheObj *) 0 ;
   18128           0 :     void *argp1 = 0 ;
   18129             :     int res1 = 0 ;
   18130             :     int argvi = 0;
   18131           0 :     dXSARGS;
   18132             :     
   18133           0 :     if ((items < 1) || (items > 1)) {
   18134           0 :       SWIG_croak("Usage: delete_resultCacheObj(self);");
   18135             :     }
   18136           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_resultCacheObj, SWIG_POINTER_DISOWN |  0 );
   18137           0 :     if (!SWIG_IsOK(res1)) {
   18138           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_resultCacheObj" "', argument " "1"" of type '" "resultCacheObj *""'"); 
   18139             :     }
   18140           0 :     arg1 = (resultCacheObj *)(argp1);
   18141           0 :     free((char *) arg1);
   18142           0 :     ST(argvi) = sv_newmortal();
   18143             :     
   18144           0 :     XSRETURN(argvi);
   18145             :   fail:
   18146             :     
   18147           0 :     SWIG_croak_null();
   18148             :   }
   18149             : }
   18150             : 
   18151             : 
   18152           0 : XS(_wrap_symbolSetObj_filename_set) {
   18153             :   {
   18154             :     symbolSetObj *arg1 = (symbolSetObj *) 0 ;
   18155             :     char *arg2 = (char *) 0 ;
   18156           0 :     void *argp1 = 0 ;
   18157             :     int res1 = 0 ;
   18158             :     int res2 ;
   18159           0 :     char *buf2 = 0 ;
   18160           0 :     int alloc2 = 0 ;
   18161             :     int argvi = 0;
   18162           0 :     dXSARGS;
   18163             :     
   18164           0 :     if ((items < 2) || (items > 2)) {
   18165           0 :       SWIG_croak("Usage: symbolSetObj_filename_set(self,filename);");
   18166             :     }
   18167           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolSetObj, 0 |  0 );
   18168           0 :     if (!SWIG_IsOK(res1)) {
   18169           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolSetObj_filename_set" "', argument " "1"" of type '" "symbolSetObj *""'"); 
   18170             :     }
   18171           0 :     arg1 = (symbolSetObj *)(argp1);
   18172           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   18173           0 :     if (!SWIG_IsOK(res2)) {
   18174           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "symbolSetObj_filename_set" "', argument " "2"" of type '" "char *""'");
   18175             :     }
   18176           0 :     arg2 = (char *)(buf2);
   18177             :     {
   18178           0 :       if (arg1->filename) free((char*)arg1->filename);
   18179           0 :       if (arg2) {
   18180           0 :         arg1->filename = (char *) malloc(strlen(arg2)+1);
   18181             :         strcpy((char*)arg1->filename,arg2);
   18182             :       } else {
   18183           0 :         arg1->filename = 0;
   18184             :       }
   18185             :     }
   18186           0 :     ST(argvi) = sv_newmortal();
   18187             :     
   18188           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   18189           0 :     XSRETURN(argvi);
   18190             :   fail:
   18191             :     
   18192           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   18193           0 :     SWIG_croak_null();
   18194             :   }
   18195             : }
   18196             : 
   18197             : 
   18198           0 : XS(_wrap_symbolSetObj_filename_get) {
   18199             :   {
   18200             :     symbolSetObj *arg1 = (symbolSetObj *) 0 ;
   18201           0 :     void *argp1 = 0 ;
   18202             :     int res1 = 0 ;
   18203             :     int argvi = 0;
   18204             :     char *result = 0 ;
   18205           0 :     dXSARGS;
   18206             :     
   18207           0 :     if ((items < 1) || (items > 1)) {
   18208           0 :       SWIG_croak("Usage: symbolSetObj_filename_get(self);");
   18209             :     }
   18210           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolSetObj, 0 |  0 );
   18211           0 :     if (!SWIG_IsOK(res1)) {
   18212           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolSetObj_filename_get" "', argument " "1"" of type '" "symbolSetObj *""'"); 
   18213             :     }
   18214           0 :     arg1 = (symbolSetObj *)(argp1);
   18215           0 :     result = (char *) ((arg1)->filename);
   18216           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   18217             :     
   18218           0 :     XSRETURN(argvi);
   18219             :   fail:
   18220             :     
   18221           0 :     SWIG_croak_null();
   18222             :   }
   18223             : }
   18224             : 
   18225             : 
   18226           0 : XS(_wrap_symbolSetObj_imagecachesize_set) {
   18227             :   {
   18228             :     symbolSetObj *arg1 = (symbolSetObj *) 0 ;
   18229             :     int arg2 ;
   18230           0 :     void *argp1 = 0 ;
   18231             :     int res1 = 0 ;
   18232             :     int val2 ;
   18233             :     int ecode2 = 0 ;
   18234             :     int argvi = 0;
   18235           0 :     dXSARGS;
   18236             :     
   18237           0 :     if ((items < 2) || (items > 2)) {
   18238           0 :       SWIG_croak("Usage: symbolSetObj_imagecachesize_set(self,imagecachesize);");
   18239             :     }
   18240           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolSetObj, 0 |  0 );
   18241           0 :     if (!SWIG_IsOK(res1)) {
   18242           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolSetObj_imagecachesize_set" "', argument " "1"" of type '" "symbolSetObj *""'"); 
   18243             :     }
   18244           0 :     arg1 = (symbolSetObj *)(argp1);
   18245           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   18246           0 :     if (!SWIG_IsOK(ecode2)) {
   18247           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolSetObj_imagecachesize_set" "', argument " "2"" of type '" "int""'");
   18248             :     } 
   18249           0 :     arg2 = (int)(val2);
   18250           0 :     if (arg1) (arg1)->imagecachesize = arg2;
   18251           0 :     ST(argvi) = sv_newmortal();
   18252             :     
   18253             :     
   18254           0 :     XSRETURN(argvi);
   18255             :   fail:
   18256             :     
   18257             :     
   18258           0 :     SWIG_croak_null();
   18259             :   }
   18260             : }
   18261             : 
   18262             : 
   18263           0 : XS(_wrap_symbolSetObj_imagecachesize_get) {
   18264             :   {
   18265             :     symbolSetObj *arg1 = (symbolSetObj *) 0 ;
   18266           0 :     void *argp1 = 0 ;
   18267             :     int res1 = 0 ;
   18268             :     int argvi = 0;
   18269             :     int result;
   18270           0 :     dXSARGS;
   18271             :     
   18272           0 :     if ((items < 1) || (items > 1)) {
   18273           0 :       SWIG_croak("Usage: symbolSetObj_imagecachesize_get(self);");
   18274             :     }
   18275           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolSetObj, 0 |  0 );
   18276           0 :     if (!SWIG_IsOK(res1)) {
   18277           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolSetObj_imagecachesize_get" "', argument " "1"" of type '" "symbolSetObj *""'"); 
   18278             :     }
   18279           0 :     arg1 = (symbolSetObj *)(argp1);
   18280           0 :     result = (int) ((arg1)->imagecachesize);
   18281           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   18282             :     
   18283           0 :     XSRETURN(argvi);
   18284             :   fail:
   18285             :     
   18286           0 :     SWIG_croak_null();
   18287             :   }
   18288             : }
   18289             : 
   18290             : 
   18291           0 : XS(_wrap_symbolSetObj_numsymbols_get) {
   18292             :   {
   18293             :     symbolSetObj *arg1 = (symbolSetObj *) 0 ;
   18294           0 :     void *argp1 = 0 ;
   18295             :     int res1 = 0 ;
   18296             :     int argvi = 0;
   18297             :     int result;
   18298           0 :     dXSARGS;
   18299             :     
   18300           0 :     if ((items < 1) || (items > 1)) {
   18301           0 :       SWIG_croak("Usage: symbolSetObj_numsymbols_get(self);");
   18302             :     }
   18303           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolSetObj, 0 |  0 );
   18304           0 :     if (!SWIG_IsOK(res1)) {
   18305           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolSetObj_numsymbols_get" "', argument " "1"" of type '" "symbolSetObj *""'"); 
   18306             :     }
   18307           0 :     arg1 = (symbolSetObj *)(argp1);
   18308           0 :     result = (int) ((arg1)->numsymbols);
   18309           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   18310             :     
   18311           0 :     XSRETURN(argvi);
   18312             :   fail:
   18313             :     
   18314           0 :     SWIG_croak_null();
   18315             :   }
   18316             : }
   18317             : 
   18318             : 
   18319           0 : XS(_wrap_symbolSetObj_maxsymbols_get) {
   18320             :   {
   18321             :     symbolSetObj *arg1 = (symbolSetObj *) 0 ;
   18322           0 :     void *argp1 = 0 ;
   18323             :     int res1 = 0 ;
   18324             :     int argvi = 0;
   18325             :     int result;
   18326           0 :     dXSARGS;
   18327             :     
   18328           0 :     if ((items < 1) || (items > 1)) {
   18329           0 :       SWIG_croak("Usage: symbolSetObj_maxsymbols_get(self);");
   18330             :     }
   18331           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolSetObj, 0 |  0 );
   18332           0 :     if (!SWIG_IsOK(res1)) {
   18333           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolSetObj_maxsymbols_get" "', argument " "1"" of type '" "symbolSetObj *""'"); 
   18334             :     }
   18335           0 :     arg1 = (symbolSetObj *)(argp1);
   18336           0 :     result = (int) ((arg1)->maxsymbols);
   18337           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   18338             :     
   18339           0 :     XSRETURN(argvi);
   18340             :   fail:
   18341             :     
   18342           0 :     SWIG_croak_null();
   18343             :   }
   18344             : }
   18345             : 
   18346             : 
   18347           0 : XS(_wrap_new_symbolSetObj) {
   18348             :   {
   18349             :     char *arg1 = (char *) NULL ;
   18350             :     int res1 ;
   18351           0 :     char *buf1 = 0 ;
   18352           0 :     int alloc1 = 0 ;
   18353             :     int argvi = 0;
   18354             :     symbolSetObj *result = 0 ;
   18355           0 :     dXSARGS;
   18356             :     
   18357           0 :     if ((items < 0) || (items > 1)) {
   18358           0 :       SWIG_croak("Usage: new_symbolSetObj(symbolfile);");
   18359             :     }
   18360           0 :     if (items > 0) {
   18361           0 :       res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
   18362           0 :       if (!SWIG_IsOK(res1)) {
   18363           0 :         SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_symbolSetObj" "', argument " "1"" of type '" "char const *""'");
   18364             :       }
   18365           0 :       arg1 = (char *)(buf1);
   18366             :     }
   18367           0 :     result = (symbolSetObj *)new_symbolSetObj((char const *)arg1);
   18368           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_symbolSetObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   18369           0 :     if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
   18370           0 :     XSRETURN(argvi);
   18371             :   fail:
   18372           0 :     if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
   18373           0 :     SWIG_croak_null();
   18374             :   }
   18375             : }
   18376             : 
   18377             : 
   18378           0 : XS(_wrap_delete_symbolSetObj) {
   18379             :   {
   18380             :     symbolSetObj *arg1 = (symbolSetObj *) 0 ;
   18381           0 :     void *argp1 = 0 ;
   18382             :     int res1 = 0 ;
   18383             :     int argvi = 0;
   18384           0 :     dXSARGS;
   18385             :     
   18386           0 :     if ((items < 1) || (items > 1)) {
   18387           0 :       SWIG_croak("Usage: delete_symbolSetObj(self);");
   18388             :     }
   18389           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolSetObj, SWIG_POINTER_DISOWN |  0 );
   18390           0 :     if (!SWIG_IsOK(res1)) {
   18391           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_symbolSetObj" "', argument " "1"" of type '" "symbolSetObj *""'"); 
   18392             :     }
   18393           0 :     arg1 = (symbolSetObj *)(argp1);
   18394           0 :     delete_symbolSetObj(arg1);
   18395           0 :     ST(argvi) = sv_newmortal();
   18396             :     
   18397           0 :     XSRETURN(argvi);
   18398             :   fail:
   18399             :     
   18400           0 :     SWIG_croak_null();
   18401             :   }
   18402             : }
   18403             : 
   18404             : 
   18405           0 : XS(_wrap_symbolSetObj_getSymbol) {
   18406             :   {
   18407             :     symbolSetObj *arg1 = (symbolSetObj *) 0 ;
   18408             :     int arg2 ;
   18409           0 :     void *argp1 = 0 ;
   18410             :     int res1 = 0 ;
   18411             :     int val2 ;
   18412             :     int ecode2 = 0 ;
   18413             :     int argvi = 0;
   18414             :     symbolObj *result = 0 ;
   18415           0 :     dXSARGS;
   18416             :     
   18417           0 :     if ((items < 2) || (items > 2)) {
   18418           0 :       SWIG_croak("Usage: symbolSetObj_getSymbol(self,i);");
   18419             :     }
   18420           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolSetObj, 0 |  0 );
   18421           0 :     if (!SWIG_IsOK(res1)) {
   18422           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolSetObj_getSymbol" "', argument " "1"" of type '" "symbolSetObj *""'"); 
   18423             :     }
   18424           0 :     arg1 = (symbolSetObj *)(argp1);
   18425           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   18426           0 :     if (!SWIG_IsOK(ecode2)) {
   18427           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolSetObj_getSymbol" "', argument " "2"" of type '" "int""'");
   18428             :     } 
   18429           0 :     arg2 = (int)(val2);
   18430           0 :     result = (symbolObj *)symbolSetObj_getSymbol(arg1,arg2);
   18431           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_symbolObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   18432             :     
   18433             :     
   18434           0 :     XSRETURN(argvi);
   18435             :   fail:
   18436             :     
   18437             :     
   18438           0 :     SWIG_croak_null();
   18439             :   }
   18440             : }
   18441             : 
   18442             : 
   18443           0 : XS(_wrap_symbolSetObj_getSymbolByName) {
   18444             :   {
   18445             :     symbolSetObj *arg1 = (symbolSetObj *) 0 ;
   18446             :     char *arg2 = (char *) 0 ;
   18447           0 :     void *argp1 = 0 ;
   18448             :     int res1 = 0 ;
   18449             :     int res2 ;
   18450           0 :     char *buf2 = 0 ;
   18451           0 :     int alloc2 = 0 ;
   18452             :     int argvi = 0;
   18453             :     symbolObj *result = 0 ;
   18454           0 :     dXSARGS;
   18455             :     
   18456           0 :     if ((items < 2) || (items > 2)) {
   18457           0 :       SWIG_croak("Usage: symbolSetObj_getSymbolByName(self,symbolname);");
   18458             :     }
   18459           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolSetObj, 0 |  0 );
   18460           0 :     if (!SWIG_IsOK(res1)) {
   18461           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolSetObj_getSymbolByName" "', argument " "1"" of type '" "symbolSetObj *""'"); 
   18462             :     }
   18463           0 :     arg1 = (symbolSetObj *)(argp1);
   18464           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   18465           0 :     if (!SWIG_IsOK(res2)) {
   18466           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "symbolSetObj_getSymbolByName" "', argument " "2"" of type '" "char *""'");
   18467             :     }
   18468           0 :     arg2 = (char *)(buf2);
   18469           0 :     result = (symbolObj *)symbolSetObj_getSymbolByName(arg1,arg2);
   18470           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_symbolObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   18471             :     
   18472           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   18473           0 :     XSRETURN(argvi);
   18474             :   fail:
   18475             :     
   18476           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   18477           0 :     SWIG_croak_null();
   18478             :   }
   18479             : }
   18480             : 
   18481             : 
   18482           0 : XS(_wrap_symbolSetObj_index) {
   18483             :   {
   18484             :     symbolSetObj *arg1 = (symbolSetObj *) 0 ;
   18485             :     char *arg2 = (char *) 0 ;
   18486           0 :     void *argp1 = 0 ;
   18487             :     int res1 = 0 ;
   18488             :     int res2 ;
   18489           0 :     char *buf2 = 0 ;
   18490           0 :     int alloc2 = 0 ;
   18491             :     int argvi = 0;
   18492             :     int result;
   18493           0 :     dXSARGS;
   18494             :     
   18495           0 :     if ((items < 2) || (items > 2)) {
   18496           0 :       SWIG_croak("Usage: symbolSetObj_index(self,symbolname);");
   18497             :     }
   18498           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolSetObj, 0 |  0 );
   18499           0 :     if (!SWIG_IsOK(res1)) {
   18500           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolSetObj_index" "', argument " "1"" of type '" "symbolSetObj *""'"); 
   18501             :     }
   18502           0 :     arg1 = (symbolSetObj *)(argp1);
   18503           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   18504           0 :     if (!SWIG_IsOK(res2)) {
   18505           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "symbolSetObj_index" "', argument " "2"" of type '" "char *""'");
   18506             :     }
   18507           0 :     arg2 = (char *)(buf2);
   18508             :     result = (int)symbolSetObj_index(arg1,arg2);
   18509           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   18510             :     
   18511           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   18512           0 :     XSRETURN(argvi);
   18513             :   fail:
   18514             :     
   18515           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   18516           0 :     SWIG_croak_null();
   18517             :   }
   18518             : }
   18519             : 
   18520             : 
   18521           0 : XS(_wrap_symbolSetObj_appendSymbol) {
   18522             :   {
   18523             :     symbolSetObj *arg1 = (symbolSetObj *) 0 ;
   18524             :     symbolObj *arg2 = (symbolObj *) 0 ;
   18525           0 :     void *argp1 = 0 ;
   18526             :     int res1 = 0 ;
   18527           0 :     void *argp2 = 0 ;
   18528             :     int res2 = 0 ;
   18529             :     int argvi = 0;
   18530             :     int result;
   18531           0 :     dXSARGS;
   18532             :     
   18533           0 :     if ((items < 2) || (items > 2)) {
   18534           0 :       SWIG_croak("Usage: symbolSetObj_appendSymbol(self,symbol);");
   18535             :     }
   18536           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolSetObj, 0 |  0 );
   18537           0 :     if (!SWIG_IsOK(res1)) {
   18538           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolSetObj_appendSymbol" "', argument " "1"" of type '" "symbolSetObj *""'"); 
   18539             :     }
   18540           0 :     arg1 = (symbolSetObj *)(argp1);
   18541           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_symbolObj, 0 |  0 );
   18542           0 :     if (!SWIG_IsOK(res2)) {
   18543           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "symbolSetObj_appendSymbol" "', argument " "2"" of type '" "symbolObj *""'"); 
   18544             :     }
   18545           0 :     arg2 = (symbolObj *)(argp2);
   18546             :     result = (int)symbolSetObj_appendSymbol(arg1,arg2);
   18547           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   18548             :     
   18549             :     
   18550           0 :     XSRETURN(argvi);
   18551             :   fail:
   18552             :     
   18553             :     
   18554           0 :     SWIG_croak_null();
   18555             :   }
   18556             : }
   18557             : 
   18558             : 
   18559           0 : XS(_wrap_symbolSetObj_removeSymbol) {
   18560             :   {
   18561             :     symbolSetObj *arg1 = (symbolSetObj *) 0 ;
   18562             :     int arg2 ;
   18563           0 :     void *argp1 = 0 ;
   18564             :     int res1 = 0 ;
   18565             :     int val2 ;
   18566             :     int ecode2 = 0 ;
   18567             :     int argvi = 0;
   18568             :     symbolObj *result = 0 ;
   18569           0 :     dXSARGS;
   18570             :     
   18571           0 :     if ((items < 2) || (items > 2)) {
   18572           0 :       SWIG_croak("Usage: symbolSetObj_removeSymbol(self,index);");
   18573             :     }
   18574           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolSetObj, 0 |  0 );
   18575           0 :     if (!SWIG_IsOK(res1)) {
   18576           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolSetObj_removeSymbol" "', argument " "1"" of type '" "symbolSetObj *""'"); 
   18577             :     }
   18578           0 :     arg1 = (symbolSetObj *)(argp1);
   18579           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   18580           0 :     if (!SWIG_IsOK(ecode2)) {
   18581           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolSetObj_removeSymbol" "', argument " "2"" of type '" "int""'");
   18582             :     } 
   18583           0 :     arg2 = (int)(val2);
   18584           0 :     result = (symbolObj *)symbolSetObj_removeSymbol(arg1,arg2);
   18585           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_symbolObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   18586             :     
   18587             :     
   18588           0 :     XSRETURN(argvi);
   18589             :   fail:
   18590             :     
   18591             :     
   18592           0 :     SWIG_croak_null();
   18593             :   }
   18594             : }
   18595             : 
   18596             : 
   18597           0 : XS(_wrap_symbolSetObj_save) {
   18598             :   {
   18599             :     symbolSetObj *arg1 = (symbolSetObj *) 0 ;
   18600             :     char *arg2 = (char *) 0 ;
   18601           0 :     void *argp1 = 0 ;
   18602             :     int res1 = 0 ;
   18603             :     int res2 ;
   18604           0 :     char *buf2 = 0 ;
   18605           0 :     int alloc2 = 0 ;
   18606             :     int argvi = 0;
   18607             :     int result;
   18608           0 :     dXSARGS;
   18609             :     
   18610           0 :     if ((items < 2) || (items > 2)) {
   18611           0 :       SWIG_croak("Usage: symbolSetObj_save(self,filename);");
   18612             :     }
   18613           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolSetObj, 0 |  0 );
   18614           0 :     if (!SWIG_IsOK(res1)) {
   18615           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolSetObj_save" "', argument " "1"" of type '" "symbolSetObj *""'"); 
   18616             :     }
   18617           0 :     arg1 = (symbolSetObj *)(argp1);
   18618           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   18619           0 :     if (!SWIG_IsOK(res2)) {
   18620           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "symbolSetObj_save" "', argument " "2"" of type '" "char const *""'");
   18621             :     }
   18622           0 :     arg2 = (char *)(buf2);
   18623             :     result = (int)symbolSetObj_save(arg1,(char const *)arg2);
   18624           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   18625             :     
   18626           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   18627           0 :     XSRETURN(argvi);
   18628             :   fail:
   18629             :     
   18630           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   18631           0 :     SWIG_croak_null();
   18632             :   }
   18633             : }
   18634             : 
   18635             : 
   18636           0 : XS(_wrap_referenceMapObj_extent_set) {
   18637             :   {
   18638             :     referenceMapObj *arg1 = (referenceMapObj *) 0 ;
   18639             :     rectObj *arg2 = (rectObj *) 0 ;
   18640           0 :     void *argp1 = 0 ;
   18641             :     int res1 = 0 ;
   18642           0 :     void *argp2 = 0 ;
   18643             :     int res2 = 0 ;
   18644             :     int argvi = 0;
   18645           0 :     dXSARGS;
   18646             :     
   18647           0 :     if ((items < 2) || (items > 2)) {
   18648           0 :       SWIG_croak("Usage: referenceMapObj_extent_set(self,extent);");
   18649             :     }
   18650           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 |  0 );
   18651           0 :     if (!SWIG_IsOK(res1)) {
   18652           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_extent_set" "', argument " "1"" of type '" "referenceMapObj *""'"); 
   18653             :     }
   18654           0 :     arg1 = (referenceMapObj *)(argp1);
   18655           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_rectObj, 0 |  0 );
   18656           0 :     if (!SWIG_IsOK(res2)) {
   18657           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "referenceMapObj_extent_set" "', argument " "2"" of type '" "rectObj *""'"); 
   18658             :     }
   18659           0 :     arg2 = (rectObj *)(argp2);
   18660           0 :     if (arg1) (arg1)->extent = *arg2;
   18661           0 :     ST(argvi) = sv_newmortal();
   18662             :     
   18663             :     
   18664           0 :     XSRETURN(argvi);
   18665             :   fail:
   18666             :     
   18667             :     
   18668           0 :     SWIG_croak_null();
   18669             :   }
   18670             : }
   18671             : 
   18672             : 
   18673           0 : XS(_wrap_referenceMapObj_extent_get) {
   18674             :   {
   18675             :     referenceMapObj *arg1 = (referenceMapObj *) 0 ;
   18676           0 :     void *argp1 = 0 ;
   18677             :     int res1 = 0 ;
   18678             :     int argvi = 0;
   18679             :     rectObj *result = 0 ;
   18680           0 :     dXSARGS;
   18681             :     
   18682           0 :     if ((items < 1) || (items > 1)) {
   18683           0 :       SWIG_croak("Usage: referenceMapObj_extent_get(self);");
   18684             :     }
   18685           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 |  0 );
   18686           0 :     if (!SWIG_IsOK(res1)) {
   18687           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_extent_get" "', argument " "1"" of type '" "referenceMapObj *""'"); 
   18688             :     }
   18689           0 :     arg1 = (referenceMapObj *)(argp1);
   18690           0 :     result = (rectObj *)& ((arg1)->extent);
   18691           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_rectObj, 0 | SWIG_SHADOW); argvi++ ;
   18692             :     
   18693           0 :     XSRETURN(argvi);
   18694             :   fail:
   18695             :     
   18696           0 :     SWIG_croak_null();
   18697             :   }
   18698             : }
   18699             : 
   18700             : 
   18701           0 : XS(_wrap_referenceMapObj_height_set) {
   18702             :   {
   18703             :     referenceMapObj *arg1 = (referenceMapObj *) 0 ;
   18704             :     int arg2 ;
   18705           0 :     void *argp1 = 0 ;
   18706             :     int res1 = 0 ;
   18707             :     int val2 ;
   18708             :     int ecode2 = 0 ;
   18709             :     int argvi = 0;
   18710           0 :     dXSARGS;
   18711             :     
   18712           0 :     if ((items < 2) || (items > 2)) {
   18713           0 :       SWIG_croak("Usage: referenceMapObj_height_set(self,height);");
   18714             :     }
   18715           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 |  0 );
   18716           0 :     if (!SWIG_IsOK(res1)) {
   18717           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_height_set" "', argument " "1"" of type '" "referenceMapObj *""'"); 
   18718             :     }
   18719           0 :     arg1 = (referenceMapObj *)(argp1);
   18720           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   18721           0 :     if (!SWIG_IsOK(ecode2)) {
   18722           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "referenceMapObj_height_set" "', argument " "2"" of type '" "int""'");
   18723             :     } 
   18724           0 :     arg2 = (int)(val2);
   18725           0 :     if (arg1) (arg1)->height = arg2;
   18726           0 :     ST(argvi) = sv_newmortal();
   18727             :     
   18728             :     
   18729           0 :     XSRETURN(argvi);
   18730             :   fail:
   18731             :     
   18732             :     
   18733           0 :     SWIG_croak_null();
   18734             :   }
   18735             : }
   18736             : 
   18737             : 
   18738           0 : XS(_wrap_referenceMapObj_height_get) {
   18739             :   {
   18740             :     referenceMapObj *arg1 = (referenceMapObj *) 0 ;
   18741           0 :     void *argp1 = 0 ;
   18742             :     int res1 = 0 ;
   18743             :     int argvi = 0;
   18744             :     int result;
   18745           0 :     dXSARGS;
   18746             :     
   18747           0 :     if ((items < 1) || (items > 1)) {
   18748           0 :       SWIG_croak("Usage: referenceMapObj_height_get(self);");
   18749             :     }
   18750           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 |  0 );
   18751           0 :     if (!SWIG_IsOK(res1)) {
   18752           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_height_get" "', argument " "1"" of type '" "referenceMapObj *""'"); 
   18753             :     }
   18754           0 :     arg1 = (referenceMapObj *)(argp1);
   18755           0 :     result = (int) ((arg1)->height);
   18756           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   18757             :     
   18758           0 :     XSRETURN(argvi);
   18759             :   fail:
   18760             :     
   18761           0 :     SWIG_croak_null();
   18762             :   }
   18763             : }
   18764             : 
   18765             : 
   18766           0 : XS(_wrap_referenceMapObj_width_set) {
   18767             :   {
   18768             :     referenceMapObj *arg1 = (referenceMapObj *) 0 ;
   18769             :     int arg2 ;
   18770           0 :     void *argp1 = 0 ;
   18771             :     int res1 = 0 ;
   18772             :     int val2 ;
   18773             :     int ecode2 = 0 ;
   18774             :     int argvi = 0;
   18775           0 :     dXSARGS;
   18776             :     
   18777           0 :     if ((items < 2) || (items > 2)) {
   18778           0 :       SWIG_croak("Usage: referenceMapObj_width_set(self,width);");
   18779             :     }
   18780           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 |  0 );
   18781           0 :     if (!SWIG_IsOK(res1)) {
   18782           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_width_set" "', argument " "1"" of type '" "referenceMapObj *""'"); 
   18783             :     }
   18784           0 :     arg1 = (referenceMapObj *)(argp1);
   18785           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   18786           0 :     if (!SWIG_IsOK(ecode2)) {
   18787           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "referenceMapObj_width_set" "', argument " "2"" of type '" "int""'");
   18788             :     } 
   18789           0 :     arg2 = (int)(val2);
   18790           0 :     if (arg1) (arg1)->width = arg2;
   18791           0 :     ST(argvi) = sv_newmortal();
   18792             :     
   18793             :     
   18794           0 :     XSRETURN(argvi);
   18795             :   fail:
   18796             :     
   18797             :     
   18798           0 :     SWIG_croak_null();
   18799             :   }
   18800             : }
   18801             : 
   18802             : 
   18803           0 : XS(_wrap_referenceMapObj_width_get) {
   18804             :   {
   18805             :     referenceMapObj *arg1 = (referenceMapObj *) 0 ;
   18806           0 :     void *argp1 = 0 ;
   18807             :     int res1 = 0 ;
   18808             :     int argvi = 0;
   18809             :     int result;
   18810           0 :     dXSARGS;
   18811             :     
   18812           0 :     if ((items < 1) || (items > 1)) {
   18813           0 :       SWIG_croak("Usage: referenceMapObj_width_get(self);");
   18814             :     }
   18815           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 |  0 );
   18816           0 :     if (!SWIG_IsOK(res1)) {
   18817           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_width_get" "', argument " "1"" of type '" "referenceMapObj *""'"); 
   18818             :     }
   18819           0 :     arg1 = (referenceMapObj *)(argp1);
   18820           0 :     result = (int) ((arg1)->width);
   18821           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   18822             :     
   18823           0 :     XSRETURN(argvi);
   18824             :   fail:
   18825             :     
   18826           0 :     SWIG_croak_null();
   18827             :   }
   18828             : }
   18829             : 
   18830             : 
   18831           0 : XS(_wrap_referenceMapObj_color_set) {
   18832             :   {
   18833             :     referenceMapObj *arg1 = (referenceMapObj *) 0 ;
   18834             :     colorObj *arg2 = (colorObj *) 0 ;
   18835           0 :     void *argp1 = 0 ;
   18836             :     int res1 = 0 ;
   18837           0 :     void *argp2 = 0 ;
   18838             :     int res2 = 0 ;
   18839             :     int argvi = 0;
   18840           0 :     dXSARGS;
   18841             :     
   18842           0 :     if ((items < 2) || (items > 2)) {
   18843           0 :       SWIG_croak("Usage: referenceMapObj_color_set(self,color);");
   18844             :     }
   18845           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 |  0 );
   18846           0 :     if (!SWIG_IsOK(res1)) {
   18847           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_color_set" "', argument " "1"" of type '" "referenceMapObj *""'"); 
   18848             :     }
   18849           0 :     arg1 = (referenceMapObj *)(argp1);
   18850           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 |  0 );
   18851           0 :     if (!SWIG_IsOK(res2)) {
   18852           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "referenceMapObj_color_set" "', argument " "2"" of type '" "colorObj *""'"); 
   18853             :     }
   18854           0 :     arg2 = (colorObj *)(argp2);
   18855           0 :     if (arg1) (arg1)->color = *arg2;
   18856           0 :     ST(argvi) = sv_newmortal();
   18857             :     
   18858             :     
   18859           0 :     XSRETURN(argvi);
   18860             :   fail:
   18861             :     
   18862             :     
   18863           0 :     SWIG_croak_null();
   18864             :   }
   18865             : }
   18866             : 
   18867             : 
   18868           0 : XS(_wrap_referenceMapObj_color_get) {
   18869             :   {
   18870             :     referenceMapObj *arg1 = (referenceMapObj *) 0 ;
   18871           0 :     void *argp1 = 0 ;
   18872             :     int res1 = 0 ;
   18873             :     int argvi = 0;
   18874             :     colorObj *result = 0 ;
   18875           0 :     dXSARGS;
   18876             :     
   18877           0 :     if ((items < 1) || (items > 1)) {
   18878           0 :       SWIG_croak("Usage: referenceMapObj_color_get(self);");
   18879             :     }
   18880           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 |  0 );
   18881           0 :     if (!SWIG_IsOK(res1)) {
   18882           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_color_get" "', argument " "1"" of type '" "referenceMapObj *""'"); 
   18883             :     }
   18884           0 :     arg1 = (referenceMapObj *)(argp1);
   18885           0 :     result = (colorObj *)& ((arg1)->color);
   18886           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
   18887             :     
   18888           0 :     XSRETURN(argvi);
   18889             :   fail:
   18890             :     
   18891           0 :     SWIG_croak_null();
   18892             :   }
   18893             : }
   18894             : 
   18895             : 
   18896           0 : XS(_wrap_referenceMapObj_outlinecolor_set) {
   18897             :   {
   18898             :     referenceMapObj *arg1 = (referenceMapObj *) 0 ;
   18899             :     colorObj *arg2 = (colorObj *) 0 ;
   18900           0 :     void *argp1 = 0 ;
   18901             :     int res1 = 0 ;
   18902           0 :     void *argp2 = 0 ;
   18903             :     int res2 = 0 ;
   18904             :     int argvi = 0;
   18905           0 :     dXSARGS;
   18906             :     
   18907           0 :     if ((items < 2) || (items > 2)) {
   18908           0 :       SWIG_croak("Usage: referenceMapObj_outlinecolor_set(self,outlinecolor);");
   18909             :     }
   18910           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 |  0 );
   18911           0 :     if (!SWIG_IsOK(res1)) {
   18912           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_outlinecolor_set" "', argument " "1"" of type '" "referenceMapObj *""'"); 
   18913             :     }
   18914           0 :     arg1 = (referenceMapObj *)(argp1);
   18915           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 |  0 );
   18916           0 :     if (!SWIG_IsOK(res2)) {
   18917           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "referenceMapObj_outlinecolor_set" "', argument " "2"" of type '" "colorObj *""'"); 
   18918             :     }
   18919           0 :     arg2 = (colorObj *)(argp2);
   18920           0 :     if (arg1) (arg1)->outlinecolor = *arg2;
   18921           0 :     ST(argvi) = sv_newmortal();
   18922             :     
   18923             :     
   18924           0 :     XSRETURN(argvi);
   18925             :   fail:
   18926             :     
   18927             :     
   18928           0 :     SWIG_croak_null();
   18929             :   }
   18930             : }
   18931             : 
   18932             : 
   18933           0 : XS(_wrap_referenceMapObj_outlinecolor_get) {
   18934             :   {
   18935             :     referenceMapObj *arg1 = (referenceMapObj *) 0 ;
   18936           0 :     void *argp1 = 0 ;
   18937             :     int res1 = 0 ;
   18938             :     int argvi = 0;
   18939             :     colorObj *result = 0 ;
   18940           0 :     dXSARGS;
   18941             :     
   18942           0 :     if ((items < 1) || (items > 1)) {
   18943           0 :       SWIG_croak("Usage: referenceMapObj_outlinecolor_get(self);");
   18944             :     }
   18945           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 |  0 );
   18946           0 :     if (!SWIG_IsOK(res1)) {
   18947           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_outlinecolor_get" "', argument " "1"" of type '" "referenceMapObj *""'"); 
   18948             :     }
   18949           0 :     arg1 = (referenceMapObj *)(argp1);
   18950           0 :     result = (colorObj *)& ((arg1)->outlinecolor);
   18951           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
   18952             :     
   18953           0 :     XSRETURN(argvi);
   18954             :   fail:
   18955             :     
   18956           0 :     SWIG_croak_null();
   18957             :   }
   18958             : }
   18959             : 
   18960             : 
   18961           0 : XS(_wrap_referenceMapObj_image_set) {
   18962             :   {
   18963             :     referenceMapObj *arg1 = (referenceMapObj *) 0 ;
   18964             :     char *arg2 = (char *) 0 ;
   18965           0 :     void *argp1 = 0 ;
   18966             :     int res1 = 0 ;
   18967             :     int res2 ;
   18968           0 :     char *buf2 = 0 ;
   18969           0 :     int alloc2 = 0 ;
   18970             :     int argvi = 0;
   18971           0 :     dXSARGS;
   18972             :     
   18973           0 :     if ((items < 2) || (items > 2)) {
   18974           0 :       SWIG_croak("Usage: referenceMapObj_image_set(self,image);");
   18975             :     }
   18976           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 |  0 );
   18977           0 :     if (!SWIG_IsOK(res1)) {
   18978           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_image_set" "', argument " "1"" of type '" "referenceMapObj *""'"); 
   18979             :     }
   18980           0 :     arg1 = (referenceMapObj *)(argp1);
   18981           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   18982           0 :     if (!SWIG_IsOK(res2)) {
   18983           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "referenceMapObj_image_set" "', argument " "2"" of type '" "char *""'");
   18984             :     }
   18985           0 :     arg2 = (char *)(buf2);
   18986             :     {
   18987           0 :       if (arg1->image) free((char*)arg1->image);
   18988           0 :       if (arg2) {
   18989           0 :         arg1->image = (char *) malloc(strlen(arg2)+1);
   18990             :         strcpy((char*)arg1->image,arg2);
   18991             :       } else {
   18992           0 :         arg1->image = 0;
   18993             :       }
   18994             :     }
   18995           0 :     ST(argvi) = sv_newmortal();
   18996             :     
   18997           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   18998           0 :     XSRETURN(argvi);
   18999             :   fail:
   19000             :     
   19001           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   19002           0 :     SWIG_croak_null();
   19003             :   }
   19004             : }
   19005             : 
   19006             : 
   19007           0 : XS(_wrap_referenceMapObj_image_get) {
   19008             :   {
   19009             :     referenceMapObj *arg1 = (referenceMapObj *) 0 ;
   19010           0 :     void *argp1 = 0 ;
   19011             :     int res1 = 0 ;
   19012             :     int argvi = 0;
   19013             :     char *result = 0 ;
   19014           0 :     dXSARGS;
   19015             :     
   19016           0 :     if ((items < 1) || (items > 1)) {
   19017           0 :       SWIG_croak("Usage: referenceMapObj_image_get(self);");
   19018             :     }
   19019           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 |  0 );
   19020           0 :     if (!SWIG_IsOK(res1)) {
   19021           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_image_get" "', argument " "1"" of type '" "referenceMapObj *""'"); 
   19022             :     }
   19023           0 :     arg1 = (referenceMapObj *)(argp1);
   19024           0 :     result = (char *) ((arg1)->image);
   19025           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   19026             :     
   19027           0 :     XSRETURN(argvi);
   19028             :   fail:
   19029             :     
   19030           0 :     SWIG_croak_null();
   19031             :   }
   19032             : }
   19033             : 
   19034             : 
   19035           0 : XS(_wrap_referenceMapObj_status_set) {
   19036             :   {
   19037             :     referenceMapObj *arg1 = (referenceMapObj *) 0 ;
   19038             :     int arg2 ;
   19039           0 :     void *argp1 = 0 ;
   19040             :     int res1 = 0 ;
   19041             :     int val2 ;
   19042             :     int ecode2 = 0 ;
   19043             :     int argvi = 0;
   19044           0 :     dXSARGS;
   19045             :     
   19046           0 :     if ((items < 2) || (items > 2)) {
   19047           0 :       SWIG_croak("Usage: referenceMapObj_status_set(self,status);");
   19048             :     }
   19049           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 |  0 );
   19050           0 :     if (!SWIG_IsOK(res1)) {
   19051           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_status_set" "', argument " "1"" of type '" "referenceMapObj *""'"); 
   19052             :     }
   19053           0 :     arg1 = (referenceMapObj *)(argp1);
   19054           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   19055           0 :     if (!SWIG_IsOK(ecode2)) {
   19056           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "referenceMapObj_status_set" "', argument " "2"" of type '" "int""'");
   19057             :     } 
   19058           0 :     arg2 = (int)(val2);
   19059           0 :     if (arg1) (arg1)->status = arg2;
   19060           0 :     ST(argvi) = sv_newmortal();
   19061             :     
   19062             :     
   19063           0 :     XSRETURN(argvi);
   19064             :   fail:
   19065             :     
   19066             :     
   19067           0 :     SWIG_croak_null();
   19068             :   }
   19069             : }
   19070             : 
   19071             : 
   19072           0 : XS(_wrap_referenceMapObj_status_get) {
   19073             :   {
   19074             :     referenceMapObj *arg1 = (referenceMapObj *) 0 ;
   19075           0 :     void *argp1 = 0 ;
   19076             :     int res1 = 0 ;
   19077             :     int argvi = 0;
   19078             :     int result;
   19079           0 :     dXSARGS;
   19080             :     
   19081           0 :     if ((items < 1) || (items > 1)) {
   19082           0 :       SWIG_croak("Usage: referenceMapObj_status_get(self);");
   19083             :     }
   19084           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 |  0 );
   19085           0 :     if (!SWIG_IsOK(res1)) {
   19086           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_status_get" "', argument " "1"" of type '" "referenceMapObj *""'"); 
   19087             :     }
   19088           0 :     arg1 = (referenceMapObj *)(argp1);
   19089           0 :     result = (int) ((arg1)->status);
   19090           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   19091             :     
   19092           0 :     XSRETURN(argvi);
   19093             :   fail:
   19094             :     
   19095           0 :     SWIG_croak_null();
   19096             :   }
   19097             : }
   19098             : 
   19099             : 
   19100           0 : XS(_wrap_referenceMapObj_marker_set) {
   19101             :   {
   19102             :     referenceMapObj *arg1 = (referenceMapObj *) 0 ;
   19103             :     int arg2 ;
   19104           0 :     void *argp1 = 0 ;
   19105             :     int res1 = 0 ;
   19106             :     int val2 ;
   19107             :     int ecode2 = 0 ;
   19108             :     int argvi = 0;
   19109           0 :     dXSARGS;
   19110             :     
   19111           0 :     if ((items < 2) || (items > 2)) {
   19112           0 :       SWIG_croak("Usage: referenceMapObj_marker_set(self,marker);");
   19113             :     }
   19114           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 |  0 );
   19115           0 :     if (!SWIG_IsOK(res1)) {
   19116           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_marker_set" "', argument " "1"" of type '" "referenceMapObj *""'"); 
   19117             :     }
   19118           0 :     arg1 = (referenceMapObj *)(argp1);
   19119           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   19120           0 :     if (!SWIG_IsOK(ecode2)) {
   19121           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "referenceMapObj_marker_set" "', argument " "2"" of type '" "int""'");
   19122             :     } 
   19123           0 :     arg2 = (int)(val2);
   19124           0 :     if (arg1) (arg1)->marker = arg2;
   19125           0 :     ST(argvi) = sv_newmortal();
   19126             :     
   19127             :     
   19128           0 :     XSRETURN(argvi);
   19129             :   fail:
   19130             :     
   19131             :     
   19132           0 :     SWIG_croak_null();
   19133             :   }
   19134             : }
   19135             : 
   19136             : 
   19137           0 : XS(_wrap_referenceMapObj_marker_get) {
   19138             :   {
   19139             :     referenceMapObj *arg1 = (referenceMapObj *) 0 ;
   19140           0 :     void *argp1 = 0 ;
   19141             :     int res1 = 0 ;
   19142             :     int argvi = 0;
   19143             :     int result;
   19144           0 :     dXSARGS;
   19145             :     
   19146           0 :     if ((items < 1) || (items > 1)) {
   19147           0 :       SWIG_croak("Usage: referenceMapObj_marker_get(self);");
   19148             :     }
   19149           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 |  0 );
   19150           0 :     if (!SWIG_IsOK(res1)) {
   19151           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_marker_get" "', argument " "1"" of type '" "referenceMapObj *""'"); 
   19152             :     }
   19153           0 :     arg1 = (referenceMapObj *)(argp1);
   19154           0 :     result = (int) ((arg1)->marker);
   19155           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   19156             :     
   19157           0 :     XSRETURN(argvi);
   19158             :   fail:
   19159             :     
   19160           0 :     SWIG_croak_null();
   19161             :   }
   19162             : }
   19163             : 
   19164             : 
   19165           0 : XS(_wrap_referenceMapObj_markername_set) {
   19166             :   {
   19167             :     referenceMapObj *arg1 = (referenceMapObj *) 0 ;
   19168             :     char *arg2 = (char *) 0 ;
   19169           0 :     void *argp1 = 0 ;
   19170             :     int res1 = 0 ;
   19171             :     int res2 ;
   19172           0 :     char *buf2 = 0 ;
   19173           0 :     int alloc2 = 0 ;
   19174             :     int argvi = 0;
   19175           0 :     dXSARGS;
   19176             :     
   19177           0 :     if ((items < 2) || (items > 2)) {
   19178           0 :       SWIG_croak("Usage: referenceMapObj_markername_set(self,markername);");
   19179             :     }
   19180           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 |  0 );
   19181           0 :     if (!SWIG_IsOK(res1)) {
   19182           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_markername_set" "', argument " "1"" of type '" "referenceMapObj *""'"); 
   19183             :     }
   19184           0 :     arg1 = (referenceMapObj *)(argp1);
   19185           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   19186           0 :     if (!SWIG_IsOK(res2)) {
   19187           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "referenceMapObj_markername_set" "', argument " "2"" of type '" "char *""'");
   19188             :     }
   19189           0 :     arg2 = (char *)(buf2);
   19190             :     {
   19191           0 :       if (arg1->markername) free((char*)arg1->markername);
   19192           0 :       if (arg2) {
   19193           0 :         arg1->markername = (char *) malloc(strlen(arg2)+1);
   19194             :         strcpy((char*)arg1->markername,arg2);
   19195             :       } else {
   19196           0 :         arg1->markername = 0;
   19197             :       }
   19198             :     }
   19199           0 :     ST(argvi) = sv_newmortal();
   19200             :     
   19201           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   19202           0 :     XSRETURN(argvi);
   19203             :   fail:
   19204             :     
   19205           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   19206           0 :     SWIG_croak_null();
   19207             :   }
   19208             : }
   19209             : 
   19210             : 
   19211           0 : XS(_wrap_referenceMapObj_markername_get) {
   19212             :   {
   19213             :     referenceMapObj *arg1 = (referenceMapObj *) 0 ;
   19214           0 :     void *argp1 = 0 ;
   19215             :     int res1 = 0 ;
   19216             :     int argvi = 0;
   19217             :     char *result = 0 ;
   19218           0 :     dXSARGS;
   19219             :     
   19220           0 :     if ((items < 1) || (items > 1)) {
   19221           0 :       SWIG_croak("Usage: referenceMapObj_markername_get(self);");
   19222             :     }
   19223           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 |  0 );
   19224           0 :     if (!SWIG_IsOK(res1)) {
   19225           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_markername_get" "', argument " "1"" of type '" "referenceMapObj *""'"); 
   19226             :     }
   19227           0 :     arg1 = (referenceMapObj *)(argp1);
   19228           0 :     result = (char *) ((arg1)->markername);
   19229           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   19230             :     
   19231           0 :     XSRETURN(argvi);
   19232             :   fail:
   19233             :     
   19234           0 :     SWIG_croak_null();
   19235             :   }
   19236             : }
   19237             : 
   19238             : 
   19239           0 : XS(_wrap_referenceMapObj_markersize_set) {
   19240             :   {
   19241             :     referenceMapObj *arg1 = (referenceMapObj *) 0 ;
   19242             :     int arg2 ;
   19243           0 :     void *argp1 = 0 ;
   19244             :     int res1 = 0 ;
   19245             :     int val2 ;
   19246             :     int ecode2 = 0 ;
   19247             :     int argvi = 0;
   19248           0 :     dXSARGS;
   19249             :     
   19250           0 :     if ((items < 2) || (items > 2)) {
   19251           0 :       SWIG_croak("Usage: referenceMapObj_markersize_set(self,markersize);");
   19252             :     }
   19253           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 |  0 );
   19254           0 :     if (!SWIG_IsOK(res1)) {
   19255           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_markersize_set" "', argument " "1"" of type '" "referenceMapObj *""'"); 
   19256             :     }
   19257           0 :     arg1 = (referenceMapObj *)(argp1);
   19258           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   19259           0 :     if (!SWIG_IsOK(ecode2)) {
   19260           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "referenceMapObj_markersize_set" "', argument " "2"" of type '" "int""'");
   19261             :     } 
   19262           0 :     arg2 = (int)(val2);
   19263           0 :     if (arg1) (arg1)->markersize = arg2;
   19264           0 :     ST(argvi) = sv_newmortal();
   19265             :     
   19266             :     
   19267           0 :     XSRETURN(argvi);
   19268             :   fail:
   19269             :     
   19270             :     
   19271           0 :     SWIG_croak_null();
   19272             :   }
   19273             : }
   19274             : 
   19275             : 
   19276           0 : XS(_wrap_referenceMapObj_markersize_get) {
   19277             :   {
   19278             :     referenceMapObj *arg1 = (referenceMapObj *) 0 ;
   19279           0 :     void *argp1 = 0 ;
   19280             :     int res1 = 0 ;
   19281             :     int argvi = 0;
   19282             :     int result;
   19283           0 :     dXSARGS;
   19284             :     
   19285           0 :     if ((items < 1) || (items > 1)) {
   19286           0 :       SWIG_croak("Usage: referenceMapObj_markersize_get(self);");
   19287             :     }
   19288           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 |  0 );
   19289           0 :     if (!SWIG_IsOK(res1)) {
   19290           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_markersize_get" "', argument " "1"" of type '" "referenceMapObj *""'"); 
   19291             :     }
   19292           0 :     arg1 = (referenceMapObj *)(argp1);
   19293           0 :     result = (int) ((arg1)->markersize);
   19294           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   19295             :     
   19296           0 :     XSRETURN(argvi);
   19297             :   fail:
   19298             :     
   19299           0 :     SWIG_croak_null();
   19300             :   }
   19301             : }
   19302             : 
   19303             : 
   19304           0 : XS(_wrap_referenceMapObj_minboxsize_set) {
   19305             :   {
   19306             :     referenceMapObj *arg1 = (referenceMapObj *) 0 ;
   19307             :     int arg2 ;
   19308           0 :     void *argp1 = 0 ;
   19309             :     int res1 = 0 ;
   19310             :     int val2 ;
   19311             :     int ecode2 = 0 ;
   19312             :     int argvi = 0;
   19313           0 :     dXSARGS;
   19314             :     
   19315           0 :     if ((items < 2) || (items > 2)) {
   19316           0 :       SWIG_croak("Usage: referenceMapObj_minboxsize_set(self,minboxsize);");
   19317             :     }
   19318           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 |  0 );
   19319           0 :     if (!SWIG_IsOK(res1)) {
   19320           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_minboxsize_set" "', argument " "1"" of type '" "referenceMapObj *""'"); 
   19321             :     }
   19322           0 :     arg1 = (referenceMapObj *)(argp1);
   19323           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   19324           0 :     if (!SWIG_IsOK(ecode2)) {
   19325           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "referenceMapObj_minboxsize_set" "', argument " "2"" of type '" "int""'");
   19326             :     } 
   19327           0 :     arg2 = (int)(val2);
   19328           0 :     if (arg1) (arg1)->minboxsize = arg2;
   19329           0 :     ST(argvi) = sv_newmortal();
   19330             :     
   19331             :     
   19332           0 :     XSRETURN(argvi);
   19333             :   fail:
   19334             :     
   19335             :     
   19336           0 :     SWIG_croak_null();
   19337             :   }
   19338             : }
   19339             : 
   19340             : 
   19341           0 : XS(_wrap_referenceMapObj_minboxsize_get) {
   19342             :   {
   19343             :     referenceMapObj *arg1 = (referenceMapObj *) 0 ;
   19344           0 :     void *argp1 = 0 ;
   19345             :     int res1 = 0 ;
   19346             :     int argvi = 0;
   19347             :     int result;
   19348           0 :     dXSARGS;
   19349             :     
   19350           0 :     if ((items < 1) || (items > 1)) {
   19351           0 :       SWIG_croak("Usage: referenceMapObj_minboxsize_get(self);");
   19352             :     }
   19353           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 |  0 );
   19354           0 :     if (!SWIG_IsOK(res1)) {
   19355           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_minboxsize_get" "', argument " "1"" of type '" "referenceMapObj *""'"); 
   19356             :     }
   19357           0 :     arg1 = (referenceMapObj *)(argp1);
   19358           0 :     result = (int) ((arg1)->minboxsize);
   19359           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   19360             :     
   19361           0 :     XSRETURN(argvi);
   19362             :   fail:
   19363             :     
   19364           0 :     SWIG_croak_null();
   19365             :   }
   19366             : }
   19367             : 
   19368             : 
   19369           0 : XS(_wrap_referenceMapObj_maxboxsize_set) {
   19370             :   {
   19371             :     referenceMapObj *arg1 = (referenceMapObj *) 0 ;
   19372             :     int arg2 ;
   19373           0 :     void *argp1 = 0 ;
   19374             :     int res1 = 0 ;
   19375             :     int val2 ;
   19376             :     int ecode2 = 0 ;
   19377             :     int argvi = 0;
   19378           0 :     dXSARGS;
   19379             :     
   19380           0 :     if ((items < 2) || (items > 2)) {
   19381           0 :       SWIG_croak("Usage: referenceMapObj_maxboxsize_set(self,maxboxsize);");
   19382             :     }
   19383           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 |  0 );
   19384           0 :     if (!SWIG_IsOK(res1)) {
   19385           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_maxboxsize_set" "', argument " "1"" of type '" "referenceMapObj *""'"); 
   19386             :     }
   19387           0 :     arg1 = (referenceMapObj *)(argp1);
   19388           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   19389           0 :     if (!SWIG_IsOK(ecode2)) {
   19390           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "referenceMapObj_maxboxsize_set" "', argument " "2"" of type '" "int""'");
   19391             :     } 
   19392           0 :     arg2 = (int)(val2);
   19393           0 :     if (arg1) (arg1)->maxboxsize = arg2;
   19394           0 :     ST(argvi) = sv_newmortal();
   19395             :     
   19396             :     
   19397           0 :     XSRETURN(argvi);
   19398             :   fail:
   19399             :     
   19400             :     
   19401           0 :     SWIG_croak_null();
   19402             :   }
   19403             : }
   19404             : 
   19405             : 
   19406           0 : XS(_wrap_referenceMapObj_maxboxsize_get) {
   19407             :   {
   19408             :     referenceMapObj *arg1 = (referenceMapObj *) 0 ;
   19409           0 :     void *argp1 = 0 ;
   19410             :     int res1 = 0 ;
   19411             :     int argvi = 0;
   19412             :     int result;
   19413           0 :     dXSARGS;
   19414             :     
   19415           0 :     if ((items < 1) || (items > 1)) {
   19416           0 :       SWIG_croak("Usage: referenceMapObj_maxboxsize_get(self);");
   19417             :     }
   19418           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 |  0 );
   19419           0 :     if (!SWIG_IsOK(res1)) {
   19420           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_maxboxsize_get" "', argument " "1"" of type '" "referenceMapObj *""'"); 
   19421             :     }
   19422           0 :     arg1 = (referenceMapObj *)(argp1);
   19423           0 :     result = (int) ((arg1)->maxboxsize);
   19424           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   19425             :     
   19426           0 :     XSRETURN(argvi);
   19427             :   fail:
   19428             :     
   19429           0 :     SWIG_croak_null();
   19430             :   }
   19431             : }
   19432             : 
   19433             : 
   19434           0 : XS(_wrap_referenceMapObj_map_get) {
   19435             :   {
   19436             :     referenceMapObj *arg1 = (referenceMapObj *) 0 ;
   19437           0 :     void *argp1 = 0 ;
   19438             :     int res1 = 0 ;
   19439             :     int argvi = 0;
   19440             :     struct mapObj *result = 0 ;
   19441           0 :     dXSARGS;
   19442             :     
   19443           0 :     if ((items < 1) || (items > 1)) {
   19444           0 :       SWIG_croak("Usage: referenceMapObj_map_get(self);");
   19445             :     }
   19446           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 |  0 );
   19447           0 :     if (!SWIG_IsOK(res1)) {
   19448           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_map_get" "', argument " "1"" of type '" "referenceMapObj *""'"); 
   19449             :     }
   19450           0 :     arg1 = (referenceMapObj *)(argp1);
   19451             :     {
   19452             :       /* Accessing map */
   19453           0 :       result = (struct mapObj *) ((arg1)->map);;
   19454           0 :       MS_REFCNT_INCR(result);
   19455             :     }
   19456           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mapObj, 0 | SWIG_SHADOW); argvi++ ;
   19457             :     
   19458           0 :     XSRETURN(argvi);
   19459             :   fail:
   19460             :     
   19461           0 :     SWIG_croak_null();
   19462             :   }
   19463             : }
   19464             : 
   19465             : 
   19466           0 : XS(_wrap_referenceMapObj_updateFromString) {
   19467             :   {
   19468             :     referenceMapObj *arg1 = (referenceMapObj *) 0 ;
   19469             :     char *arg2 = (char *) 0 ;
   19470           0 :     void *argp1 = 0 ;
   19471             :     int res1 = 0 ;
   19472             :     int res2 ;
   19473           0 :     char *buf2 = 0 ;
   19474           0 :     int alloc2 = 0 ;
   19475             :     int argvi = 0;
   19476             :     int result;
   19477           0 :     dXSARGS;
   19478             :     
   19479           0 :     if ((items < 2) || (items > 2)) {
   19480           0 :       SWIG_croak("Usage: referenceMapObj_updateFromString(self,snippet);");
   19481             :     }
   19482           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 |  0 );
   19483           0 :     if (!SWIG_IsOK(res1)) {
   19484           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_updateFromString" "', argument " "1"" of type '" "referenceMapObj *""'"); 
   19485             :     }
   19486           0 :     arg1 = (referenceMapObj *)(argp1);
   19487           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   19488           0 :     if (!SWIG_IsOK(res2)) {
   19489           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "referenceMapObj_updateFromString" "', argument " "2"" of type '" "char *""'");
   19490             :     }
   19491           0 :     arg2 = (char *)(buf2);
   19492             :     result = (int)referenceMapObj_updateFromString(arg1,arg2);
   19493           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   19494             :     
   19495           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   19496           0 :     XSRETURN(argvi);
   19497             :   fail:
   19498             :     
   19499           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   19500           0 :     SWIG_croak_null();
   19501             :   }
   19502             : }
   19503             : 
   19504             : 
   19505           0 : XS(_wrap_referenceMapObj_convertToString) {
   19506             :   {
   19507             :     referenceMapObj *arg1 = (referenceMapObj *) 0 ;
   19508           0 :     void *argp1 = 0 ;
   19509             :     int res1 = 0 ;
   19510             :     int argvi = 0;
   19511             :     char *result = 0 ;
   19512           0 :     dXSARGS;
   19513             :     
   19514           0 :     if ((items < 1) || (items > 1)) {
   19515           0 :       SWIG_croak("Usage: referenceMapObj_convertToString(self);");
   19516             :     }
   19517           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 |  0 );
   19518           0 :     if (!SWIG_IsOK(res1)) {
   19519           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_convertToString" "', argument " "1"" of type '" "referenceMapObj *""'"); 
   19520             :     }
   19521           0 :     arg1 = (referenceMapObj *)(argp1);
   19522             :     result = (char *)referenceMapObj_convertToString(arg1);
   19523           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   19524             :     
   19525           0 :     free((char*)result);
   19526           0 :     XSRETURN(argvi);
   19527             :   fail:
   19528             :     
   19529           0 :     SWIG_croak_null();
   19530             :   }
   19531             : }
   19532             : 
   19533             : 
   19534           0 : XS(_wrap_new_referenceMapObj) {
   19535             :   {
   19536             :     int argvi = 0;
   19537             :     referenceMapObj *result = 0 ;
   19538           0 :     dXSARGS;
   19539             :     
   19540           0 :     if ((items < 0) || (items > 0)) {
   19541           0 :       SWIG_croak("Usage: new_referenceMapObj();");
   19542             :     }
   19543           0 :     result = (referenceMapObj *)calloc(1, sizeof(referenceMapObj));
   19544           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_referenceMapObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   19545           0 :     XSRETURN(argvi);
   19546             :   fail:
   19547           0 :     SWIG_croak_null();
   19548             :   }
   19549             : }
   19550             : 
   19551             : 
   19552           0 : XS(_wrap_delete_referenceMapObj) {
   19553             :   {
   19554             :     referenceMapObj *arg1 = (referenceMapObj *) 0 ;
   19555           0 :     void *argp1 = 0 ;
   19556             :     int res1 = 0 ;
   19557             :     int argvi = 0;
   19558           0 :     dXSARGS;
   19559             :     
   19560           0 :     if ((items < 1) || (items > 1)) {
   19561           0 :       SWIG_croak("Usage: delete_referenceMapObj(self);");
   19562             :     }
   19563           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, SWIG_POINTER_DISOWN |  0 );
   19564           0 :     if (!SWIG_IsOK(res1)) {
   19565           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_referenceMapObj" "', argument " "1"" of type '" "referenceMapObj *""'"); 
   19566             :     }
   19567           0 :     arg1 = (referenceMapObj *)(argp1);
   19568           0 :     free((char *) arg1);
   19569           0 :     ST(argvi) = sv_newmortal();
   19570             :     
   19571           0 :     XSRETURN(argvi);
   19572             :   fail:
   19573             :     
   19574           0 :     SWIG_croak_null();
   19575             :   }
   19576             : }
   19577             : 
   19578             : 
   19579           0 : XS(_wrap_scalebarObj_imagecolor_set) {
   19580             :   {
   19581             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   19582             :     colorObj *arg2 = (colorObj *) 0 ;
   19583           0 :     void *argp1 = 0 ;
   19584             :     int res1 = 0 ;
   19585           0 :     void *argp2 = 0 ;
   19586             :     int res2 = 0 ;
   19587             :     int argvi = 0;
   19588           0 :     dXSARGS;
   19589             :     
   19590           0 :     if ((items < 2) || (items > 2)) {
   19591           0 :       SWIG_croak("Usage: scalebarObj_imagecolor_set(self,imagecolor);");
   19592             :     }
   19593           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   19594           0 :     if (!SWIG_IsOK(res1)) {
   19595           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_imagecolor_set" "', argument " "1"" of type '" "scalebarObj *""'"); 
   19596             :     }
   19597           0 :     arg1 = (scalebarObj *)(argp1);
   19598           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 |  0 );
   19599           0 :     if (!SWIG_IsOK(res2)) {
   19600           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "scalebarObj_imagecolor_set" "', argument " "2"" of type '" "colorObj *""'"); 
   19601             :     }
   19602           0 :     arg2 = (colorObj *)(argp2);
   19603           0 :     if (arg1) (arg1)->imagecolor = *arg2;
   19604           0 :     ST(argvi) = sv_newmortal();
   19605             :     
   19606             :     
   19607           0 :     XSRETURN(argvi);
   19608             :   fail:
   19609             :     
   19610             :     
   19611           0 :     SWIG_croak_null();
   19612             :   }
   19613             : }
   19614             : 
   19615             : 
   19616           0 : XS(_wrap_scalebarObj_imagecolor_get) {
   19617             :   {
   19618             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   19619           0 :     void *argp1 = 0 ;
   19620             :     int res1 = 0 ;
   19621             :     int argvi = 0;
   19622             :     colorObj *result = 0 ;
   19623           0 :     dXSARGS;
   19624             :     
   19625           0 :     if ((items < 1) || (items > 1)) {
   19626           0 :       SWIG_croak("Usage: scalebarObj_imagecolor_get(self);");
   19627             :     }
   19628           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   19629           0 :     if (!SWIG_IsOK(res1)) {
   19630           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_imagecolor_get" "', argument " "1"" of type '" "scalebarObj *""'"); 
   19631             :     }
   19632           0 :     arg1 = (scalebarObj *)(argp1);
   19633           0 :     result = (colorObj *)& ((arg1)->imagecolor);
   19634           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
   19635             :     
   19636           0 :     XSRETURN(argvi);
   19637             :   fail:
   19638             :     
   19639           0 :     SWIG_croak_null();
   19640             :   }
   19641             : }
   19642             : 
   19643             : 
   19644           0 : XS(_wrap_scalebarObj_height_set) {
   19645             :   {
   19646             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   19647             :     int arg2 ;
   19648           0 :     void *argp1 = 0 ;
   19649             :     int res1 = 0 ;
   19650             :     int val2 ;
   19651             :     int ecode2 = 0 ;
   19652             :     int argvi = 0;
   19653           0 :     dXSARGS;
   19654             :     
   19655           0 :     if ((items < 2) || (items > 2)) {
   19656           0 :       SWIG_croak("Usage: scalebarObj_height_set(self,height);");
   19657             :     }
   19658           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   19659           0 :     if (!SWIG_IsOK(res1)) {
   19660           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_height_set" "', argument " "1"" of type '" "scalebarObj *""'"); 
   19661             :     }
   19662           0 :     arg1 = (scalebarObj *)(argp1);
   19663           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   19664           0 :     if (!SWIG_IsOK(ecode2)) {
   19665           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scalebarObj_height_set" "', argument " "2"" of type '" "int""'");
   19666             :     } 
   19667           0 :     arg2 = (int)(val2);
   19668           0 :     if (arg1) (arg1)->height = arg2;
   19669           0 :     ST(argvi) = sv_newmortal();
   19670             :     
   19671             :     
   19672           0 :     XSRETURN(argvi);
   19673             :   fail:
   19674             :     
   19675             :     
   19676           0 :     SWIG_croak_null();
   19677             :   }
   19678             : }
   19679             : 
   19680             : 
   19681           0 : XS(_wrap_scalebarObj_height_get) {
   19682             :   {
   19683             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   19684           0 :     void *argp1 = 0 ;
   19685             :     int res1 = 0 ;
   19686             :     int argvi = 0;
   19687             :     int result;
   19688           0 :     dXSARGS;
   19689             :     
   19690           0 :     if ((items < 1) || (items > 1)) {
   19691           0 :       SWIG_croak("Usage: scalebarObj_height_get(self);");
   19692             :     }
   19693           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   19694           0 :     if (!SWIG_IsOK(res1)) {
   19695           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_height_get" "', argument " "1"" of type '" "scalebarObj *""'"); 
   19696             :     }
   19697           0 :     arg1 = (scalebarObj *)(argp1);
   19698           0 :     result = (int) ((arg1)->height);
   19699           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   19700             :     
   19701           0 :     XSRETURN(argvi);
   19702             :   fail:
   19703             :     
   19704           0 :     SWIG_croak_null();
   19705             :   }
   19706             : }
   19707             : 
   19708             : 
   19709           0 : XS(_wrap_scalebarObj_width_set) {
   19710             :   {
   19711             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   19712             :     int arg2 ;
   19713           0 :     void *argp1 = 0 ;
   19714             :     int res1 = 0 ;
   19715             :     int val2 ;
   19716             :     int ecode2 = 0 ;
   19717             :     int argvi = 0;
   19718           0 :     dXSARGS;
   19719             :     
   19720           0 :     if ((items < 2) || (items > 2)) {
   19721           0 :       SWIG_croak("Usage: scalebarObj_width_set(self,width);");
   19722             :     }
   19723           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   19724           0 :     if (!SWIG_IsOK(res1)) {
   19725           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_width_set" "', argument " "1"" of type '" "scalebarObj *""'"); 
   19726             :     }
   19727           0 :     arg1 = (scalebarObj *)(argp1);
   19728           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   19729           0 :     if (!SWIG_IsOK(ecode2)) {
   19730           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scalebarObj_width_set" "', argument " "2"" of type '" "int""'");
   19731             :     } 
   19732           0 :     arg2 = (int)(val2);
   19733           0 :     if (arg1) (arg1)->width = arg2;
   19734           0 :     ST(argvi) = sv_newmortal();
   19735             :     
   19736             :     
   19737           0 :     XSRETURN(argvi);
   19738             :   fail:
   19739             :     
   19740             :     
   19741           0 :     SWIG_croak_null();
   19742             :   }
   19743             : }
   19744             : 
   19745             : 
   19746           0 : XS(_wrap_scalebarObj_width_get) {
   19747             :   {
   19748             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   19749           0 :     void *argp1 = 0 ;
   19750             :     int res1 = 0 ;
   19751             :     int argvi = 0;
   19752             :     int result;
   19753           0 :     dXSARGS;
   19754             :     
   19755           0 :     if ((items < 1) || (items > 1)) {
   19756           0 :       SWIG_croak("Usage: scalebarObj_width_get(self);");
   19757             :     }
   19758           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   19759           0 :     if (!SWIG_IsOK(res1)) {
   19760           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_width_get" "', argument " "1"" of type '" "scalebarObj *""'"); 
   19761             :     }
   19762           0 :     arg1 = (scalebarObj *)(argp1);
   19763           0 :     result = (int) ((arg1)->width);
   19764           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   19765             :     
   19766           0 :     XSRETURN(argvi);
   19767             :   fail:
   19768             :     
   19769           0 :     SWIG_croak_null();
   19770             :   }
   19771             : }
   19772             : 
   19773             : 
   19774           0 : XS(_wrap_scalebarObj_style_set) {
   19775             :   {
   19776             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   19777             :     int arg2 ;
   19778           0 :     void *argp1 = 0 ;
   19779             :     int res1 = 0 ;
   19780             :     int val2 ;
   19781             :     int ecode2 = 0 ;
   19782             :     int argvi = 0;
   19783           0 :     dXSARGS;
   19784             :     
   19785           0 :     if ((items < 2) || (items > 2)) {
   19786           0 :       SWIG_croak("Usage: scalebarObj_style_set(self,style);");
   19787             :     }
   19788           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   19789           0 :     if (!SWIG_IsOK(res1)) {
   19790           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_style_set" "', argument " "1"" of type '" "scalebarObj *""'"); 
   19791             :     }
   19792           0 :     arg1 = (scalebarObj *)(argp1);
   19793           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   19794           0 :     if (!SWIG_IsOK(ecode2)) {
   19795           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scalebarObj_style_set" "', argument " "2"" of type '" "int""'");
   19796             :     } 
   19797           0 :     arg2 = (int)(val2);
   19798           0 :     if (arg1) (arg1)->style = arg2;
   19799           0 :     ST(argvi) = sv_newmortal();
   19800             :     
   19801             :     
   19802           0 :     XSRETURN(argvi);
   19803             :   fail:
   19804             :     
   19805             :     
   19806           0 :     SWIG_croak_null();
   19807             :   }
   19808             : }
   19809             : 
   19810             : 
   19811           0 : XS(_wrap_scalebarObj_style_get) {
   19812             :   {
   19813             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   19814           0 :     void *argp1 = 0 ;
   19815             :     int res1 = 0 ;
   19816             :     int argvi = 0;
   19817             :     int result;
   19818           0 :     dXSARGS;
   19819             :     
   19820           0 :     if ((items < 1) || (items > 1)) {
   19821           0 :       SWIG_croak("Usage: scalebarObj_style_get(self);");
   19822             :     }
   19823           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   19824           0 :     if (!SWIG_IsOK(res1)) {
   19825           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_style_get" "', argument " "1"" of type '" "scalebarObj *""'"); 
   19826             :     }
   19827           0 :     arg1 = (scalebarObj *)(argp1);
   19828           0 :     result = (int) ((arg1)->style);
   19829           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   19830             :     
   19831           0 :     XSRETURN(argvi);
   19832             :   fail:
   19833             :     
   19834           0 :     SWIG_croak_null();
   19835             :   }
   19836             : }
   19837             : 
   19838             : 
   19839           0 : XS(_wrap_scalebarObj_intervals_set) {
   19840             :   {
   19841             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   19842             :     int arg2 ;
   19843           0 :     void *argp1 = 0 ;
   19844             :     int res1 = 0 ;
   19845             :     int val2 ;
   19846             :     int ecode2 = 0 ;
   19847             :     int argvi = 0;
   19848           0 :     dXSARGS;
   19849             :     
   19850           0 :     if ((items < 2) || (items > 2)) {
   19851           0 :       SWIG_croak("Usage: scalebarObj_intervals_set(self,intervals);");
   19852             :     }
   19853           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   19854           0 :     if (!SWIG_IsOK(res1)) {
   19855           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_intervals_set" "', argument " "1"" of type '" "scalebarObj *""'"); 
   19856             :     }
   19857           0 :     arg1 = (scalebarObj *)(argp1);
   19858           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   19859           0 :     if (!SWIG_IsOK(ecode2)) {
   19860           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scalebarObj_intervals_set" "', argument " "2"" of type '" "int""'");
   19861             :     } 
   19862           0 :     arg2 = (int)(val2);
   19863           0 :     if (arg1) (arg1)->intervals = arg2;
   19864           0 :     ST(argvi) = sv_newmortal();
   19865             :     
   19866             :     
   19867           0 :     XSRETURN(argvi);
   19868             :   fail:
   19869             :     
   19870             :     
   19871           0 :     SWIG_croak_null();
   19872             :   }
   19873             : }
   19874             : 
   19875             : 
   19876           0 : XS(_wrap_scalebarObj_intervals_get) {
   19877             :   {
   19878             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   19879           0 :     void *argp1 = 0 ;
   19880             :     int res1 = 0 ;
   19881             :     int argvi = 0;
   19882             :     int result;
   19883           0 :     dXSARGS;
   19884             :     
   19885           0 :     if ((items < 1) || (items > 1)) {
   19886           0 :       SWIG_croak("Usage: scalebarObj_intervals_get(self);");
   19887             :     }
   19888           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   19889           0 :     if (!SWIG_IsOK(res1)) {
   19890           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_intervals_get" "', argument " "1"" of type '" "scalebarObj *""'"); 
   19891             :     }
   19892           0 :     arg1 = (scalebarObj *)(argp1);
   19893           0 :     result = (int) ((arg1)->intervals);
   19894           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   19895             :     
   19896           0 :     XSRETURN(argvi);
   19897             :   fail:
   19898             :     
   19899           0 :     SWIG_croak_null();
   19900             :   }
   19901             : }
   19902             : 
   19903             : 
   19904           0 : XS(_wrap_scalebarObj_label_set) {
   19905             :   {
   19906             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   19907             :     labelObj *arg2 = (labelObj *) 0 ;
   19908           0 :     void *argp1 = 0 ;
   19909             :     int res1 = 0 ;
   19910           0 :     void *argp2 = 0 ;
   19911             :     int res2 = 0 ;
   19912             :     int argvi = 0;
   19913           0 :     dXSARGS;
   19914             :     
   19915           0 :     if ((items < 2) || (items > 2)) {
   19916           0 :       SWIG_croak("Usage: scalebarObj_label_set(self,label);");
   19917             :     }
   19918           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   19919           0 :     if (!SWIG_IsOK(res1)) {
   19920           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_label_set" "', argument " "1"" of type '" "scalebarObj *""'"); 
   19921             :     }
   19922           0 :     arg1 = (scalebarObj *)(argp1);
   19923           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_labelObj, 0 |  0 );
   19924           0 :     if (!SWIG_IsOK(res2)) {
   19925           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "scalebarObj_label_set" "', argument " "2"" of type '" "labelObj *""'"); 
   19926             :     }
   19927           0 :     arg2 = (labelObj *)(argp2);
   19928           0 :     if (arg1) (arg1)->label = *arg2;
   19929           0 :     ST(argvi) = sv_newmortal();
   19930             :     
   19931             :     
   19932           0 :     XSRETURN(argvi);
   19933             :   fail:
   19934             :     
   19935             :     
   19936           0 :     SWIG_croak_null();
   19937             :   }
   19938             : }
   19939             : 
   19940             : 
   19941           0 : XS(_wrap_scalebarObj_label_get) {
   19942             :   {
   19943             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   19944           0 :     void *argp1 = 0 ;
   19945             :     int res1 = 0 ;
   19946             :     int argvi = 0;
   19947             :     labelObj *result = 0 ;
   19948           0 :     dXSARGS;
   19949             :     
   19950           0 :     if ((items < 1) || (items > 1)) {
   19951           0 :       SWIG_croak("Usage: scalebarObj_label_get(self);");
   19952             :     }
   19953           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   19954           0 :     if (!SWIG_IsOK(res1)) {
   19955           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_label_get" "', argument " "1"" of type '" "scalebarObj *""'"); 
   19956             :     }
   19957           0 :     arg1 = (scalebarObj *)(argp1);
   19958           0 :     result = (labelObj *)& ((arg1)->label);
   19959           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelObj, 0 | SWIG_SHADOW); argvi++ ;
   19960             :     
   19961           0 :     XSRETURN(argvi);
   19962             :   fail:
   19963             :     
   19964           0 :     SWIG_croak_null();
   19965             :   }
   19966             : }
   19967             : 
   19968             : 
   19969           0 : XS(_wrap_scalebarObj_color_set) {
   19970             :   {
   19971             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   19972             :     colorObj *arg2 = (colorObj *) 0 ;
   19973           0 :     void *argp1 = 0 ;
   19974             :     int res1 = 0 ;
   19975           0 :     void *argp2 = 0 ;
   19976             :     int res2 = 0 ;
   19977             :     int argvi = 0;
   19978           0 :     dXSARGS;
   19979             :     
   19980           0 :     if ((items < 2) || (items > 2)) {
   19981           0 :       SWIG_croak("Usage: scalebarObj_color_set(self,color);");
   19982             :     }
   19983           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   19984           0 :     if (!SWIG_IsOK(res1)) {
   19985           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_color_set" "', argument " "1"" of type '" "scalebarObj *""'"); 
   19986             :     }
   19987           0 :     arg1 = (scalebarObj *)(argp1);
   19988           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 |  0 );
   19989           0 :     if (!SWIG_IsOK(res2)) {
   19990           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "scalebarObj_color_set" "', argument " "2"" of type '" "colorObj *""'"); 
   19991             :     }
   19992           0 :     arg2 = (colorObj *)(argp2);
   19993           0 :     if (arg1) (arg1)->color = *arg2;
   19994           0 :     ST(argvi) = sv_newmortal();
   19995             :     
   19996             :     
   19997           0 :     XSRETURN(argvi);
   19998             :   fail:
   19999             :     
   20000             :     
   20001           0 :     SWIG_croak_null();
   20002             :   }
   20003             : }
   20004             : 
   20005             : 
   20006           0 : XS(_wrap_scalebarObj_color_get) {
   20007             :   {
   20008             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   20009           0 :     void *argp1 = 0 ;
   20010             :     int res1 = 0 ;
   20011             :     int argvi = 0;
   20012             :     colorObj *result = 0 ;
   20013           0 :     dXSARGS;
   20014             :     
   20015           0 :     if ((items < 1) || (items > 1)) {
   20016           0 :       SWIG_croak("Usage: scalebarObj_color_get(self);");
   20017             :     }
   20018           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   20019           0 :     if (!SWIG_IsOK(res1)) {
   20020           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_color_get" "', argument " "1"" of type '" "scalebarObj *""'"); 
   20021             :     }
   20022           0 :     arg1 = (scalebarObj *)(argp1);
   20023           0 :     result = (colorObj *)& ((arg1)->color);
   20024           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
   20025             :     
   20026           0 :     XSRETURN(argvi);
   20027             :   fail:
   20028             :     
   20029           0 :     SWIG_croak_null();
   20030             :   }
   20031             : }
   20032             : 
   20033             : 
   20034           0 : XS(_wrap_scalebarObj_backgroundcolor_set) {
   20035             :   {
   20036             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   20037             :     colorObj *arg2 = (colorObj *) 0 ;
   20038           0 :     void *argp1 = 0 ;
   20039             :     int res1 = 0 ;
   20040           0 :     void *argp2 = 0 ;
   20041             :     int res2 = 0 ;
   20042             :     int argvi = 0;
   20043           0 :     dXSARGS;
   20044             :     
   20045           0 :     if ((items < 2) || (items > 2)) {
   20046           0 :       SWIG_croak("Usage: scalebarObj_backgroundcolor_set(self,backgroundcolor);");
   20047             :     }
   20048           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   20049           0 :     if (!SWIG_IsOK(res1)) {
   20050           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_backgroundcolor_set" "', argument " "1"" of type '" "scalebarObj *""'"); 
   20051             :     }
   20052           0 :     arg1 = (scalebarObj *)(argp1);
   20053           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 |  0 );
   20054           0 :     if (!SWIG_IsOK(res2)) {
   20055           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "scalebarObj_backgroundcolor_set" "', argument " "2"" of type '" "colorObj *""'"); 
   20056             :     }
   20057           0 :     arg2 = (colorObj *)(argp2);
   20058           0 :     if (arg1) (arg1)->backgroundcolor = *arg2;
   20059           0 :     ST(argvi) = sv_newmortal();
   20060             :     
   20061             :     
   20062           0 :     XSRETURN(argvi);
   20063             :   fail:
   20064             :     
   20065             :     
   20066           0 :     SWIG_croak_null();
   20067             :   }
   20068             : }
   20069             : 
   20070             : 
   20071           0 : XS(_wrap_scalebarObj_backgroundcolor_get) {
   20072             :   {
   20073             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   20074           0 :     void *argp1 = 0 ;
   20075             :     int res1 = 0 ;
   20076             :     int argvi = 0;
   20077             :     colorObj *result = 0 ;
   20078           0 :     dXSARGS;
   20079             :     
   20080           0 :     if ((items < 1) || (items > 1)) {
   20081           0 :       SWIG_croak("Usage: scalebarObj_backgroundcolor_get(self);");
   20082             :     }
   20083           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   20084           0 :     if (!SWIG_IsOK(res1)) {
   20085           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_backgroundcolor_get" "', argument " "1"" of type '" "scalebarObj *""'"); 
   20086             :     }
   20087           0 :     arg1 = (scalebarObj *)(argp1);
   20088           0 :     result = (colorObj *)& ((arg1)->backgroundcolor);
   20089           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
   20090             :     
   20091           0 :     XSRETURN(argvi);
   20092             :   fail:
   20093             :     
   20094           0 :     SWIG_croak_null();
   20095             :   }
   20096             : }
   20097             : 
   20098             : 
   20099           0 : XS(_wrap_scalebarObj_outlinecolor_set) {
   20100             :   {
   20101             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   20102             :     colorObj *arg2 = (colorObj *) 0 ;
   20103           0 :     void *argp1 = 0 ;
   20104             :     int res1 = 0 ;
   20105           0 :     void *argp2 = 0 ;
   20106             :     int res2 = 0 ;
   20107             :     int argvi = 0;
   20108           0 :     dXSARGS;
   20109             :     
   20110           0 :     if ((items < 2) || (items > 2)) {
   20111           0 :       SWIG_croak("Usage: scalebarObj_outlinecolor_set(self,outlinecolor);");
   20112             :     }
   20113           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   20114           0 :     if (!SWIG_IsOK(res1)) {
   20115           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_outlinecolor_set" "', argument " "1"" of type '" "scalebarObj *""'"); 
   20116             :     }
   20117           0 :     arg1 = (scalebarObj *)(argp1);
   20118           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 |  0 );
   20119           0 :     if (!SWIG_IsOK(res2)) {
   20120           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "scalebarObj_outlinecolor_set" "', argument " "2"" of type '" "colorObj *""'"); 
   20121             :     }
   20122           0 :     arg2 = (colorObj *)(argp2);
   20123           0 :     if (arg1) (arg1)->outlinecolor = *arg2;
   20124           0 :     ST(argvi) = sv_newmortal();
   20125             :     
   20126             :     
   20127           0 :     XSRETURN(argvi);
   20128             :   fail:
   20129             :     
   20130             :     
   20131           0 :     SWIG_croak_null();
   20132             :   }
   20133             : }
   20134             : 
   20135             : 
   20136           0 : XS(_wrap_scalebarObj_outlinecolor_get) {
   20137             :   {
   20138             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   20139           0 :     void *argp1 = 0 ;
   20140             :     int res1 = 0 ;
   20141             :     int argvi = 0;
   20142             :     colorObj *result = 0 ;
   20143           0 :     dXSARGS;
   20144             :     
   20145           0 :     if ((items < 1) || (items > 1)) {
   20146           0 :       SWIG_croak("Usage: scalebarObj_outlinecolor_get(self);");
   20147             :     }
   20148           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   20149           0 :     if (!SWIG_IsOK(res1)) {
   20150           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_outlinecolor_get" "', argument " "1"" of type '" "scalebarObj *""'"); 
   20151             :     }
   20152           0 :     arg1 = (scalebarObj *)(argp1);
   20153           0 :     result = (colorObj *)& ((arg1)->outlinecolor);
   20154           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
   20155             :     
   20156           0 :     XSRETURN(argvi);
   20157             :   fail:
   20158             :     
   20159           0 :     SWIG_croak_null();
   20160             :   }
   20161             : }
   20162             : 
   20163             : 
   20164           0 : XS(_wrap_scalebarObj_units_set) {
   20165             :   {
   20166             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   20167             :     int arg2 ;
   20168           0 :     void *argp1 = 0 ;
   20169             :     int res1 = 0 ;
   20170             :     int val2 ;
   20171             :     int ecode2 = 0 ;
   20172             :     int argvi = 0;
   20173           0 :     dXSARGS;
   20174             :     
   20175           0 :     if ((items < 2) || (items > 2)) {
   20176           0 :       SWIG_croak("Usage: scalebarObj_units_set(self,units);");
   20177             :     }
   20178           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   20179           0 :     if (!SWIG_IsOK(res1)) {
   20180           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_units_set" "', argument " "1"" of type '" "scalebarObj *""'"); 
   20181             :     }
   20182           0 :     arg1 = (scalebarObj *)(argp1);
   20183           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   20184           0 :     if (!SWIG_IsOK(ecode2)) {
   20185           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scalebarObj_units_set" "', argument " "2"" of type '" "int""'");
   20186             :     } 
   20187           0 :     arg2 = (int)(val2);
   20188           0 :     if (arg1) (arg1)->units = arg2;
   20189           0 :     ST(argvi) = sv_newmortal();
   20190             :     
   20191             :     
   20192           0 :     XSRETURN(argvi);
   20193             :   fail:
   20194             :     
   20195             :     
   20196           0 :     SWIG_croak_null();
   20197             :   }
   20198             : }
   20199             : 
   20200             : 
   20201           0 : XS(_wrap_scalebarObj_units_get) {
   20202             :   {
   20203             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   20204           0 :     void *argp1 = 0 ;
   20205             :     int res1 = 0 ;
   20206             :     int argvi = 0;
   20207             :     int result;
   20208           0 :     dXSARGS;
   20209             :     
   20210           0 :     if ((items < 1) || (items > 1)) {
   20211           0 :       SWIG_croak("Usage: scalebarObj_units_get(self);");
   20212             :     }
   20213           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   20214           0 :     if (!SWIG_IsOK(res1)) {
   20215           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_units_get" "', argument " "1"" of type '" "scalebarObj *""'"); 
   20216             :     }
   20217           0 :     arg1 = (scalebarObj *)(argp1);
   20218           0 :     result = (int) ((arg1)->units);
   20219           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   20220             :     
   20221           0 :     XSRETURN(argvi);
   20222             :   fail:
   20223             :     
   20224           0 :     SWIG_croak_null();
   20225             :   }
   20226             : }
   20227             : 
   20228             : 
   20229           0 : XS(_wrap_scalebarObj_status_set) {
   20230             :   {
   20231             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   20232             :     int arg2 ;
   20233           0 :     void *argp1 = 0 ;
   20234             :     int res1 = 0 ;
   20235             :     int val2 ;
   20236             :     int ecode2 = 0 ;
   20237             :     int argvi = 0;
   20238           0 :     dXSARGS;
   20239             :     
   20240           0 :     if ((items < 2) || (items > 2)) {
   20241           0 :       SWIG_croak("Usage: scalebarObj_status_set(self,status);");
   20242             :     }
   20243           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   20244           0 :     if (!SWIG_IsOK(res1)) {
   20245           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_status_set" "', argument " "1"" of type '" "scalebarObj *""'"); 
   20246             :     }
   20247           0 :     arg1 = (scalebarObj *)(argp1);
   20248           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   20249           0 :     if (!SWIG_IsOK(ecode2)) {
   20250           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scalebarObj_status_set" "', argument " "2"" of type '" "int""'");
   20251             :     } 
   20252           0 :     arg2 = (int)(val2);
   20253           0 :     if (arg1) (arg1)->status = arg2;
   20254           0 :     ST(argvi) = sv_newmortal();
   20255             :     
   20256             :     
   20257           0 :     XSRETURN(argvi);
   20258             :   fail:
   20259             :     
   20260             :     
   20261           0 :     SWIG_croak_null();
   20262             :   }
   20263             : }
   20264             : 
   20265             : 
   20266           0 : XS(_wrap_scalebarObj_status_get) {
   20267             :   {
   20268             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   20269           0 :     void *argp1 = 0 ;
   20270             :     int res1 = 0 ;
   20271             :     int argvi = 0;
   20272             :     int result;
   20273           0 :     dXSARGS;
   20274             :     
   20275           0 :     if ((items < 1) || (items > 1)) {
   20276           0 :       SWIG_croak("Usage: scalebarObj_status_get(self);");
   20277             :     }
   20278           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   20279           0 :     if (!SWIG_IsOK(res1)) {
   20280           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_status_get" "', argument " "1"" of type '" "scalebarObj *""'"); 
   20281             :     }
   20282           0 :     arg1 = (scalebarObj *)(argp1);
   20283           0 :     result = (int) ((arg1)->status);
   20284           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   20285             :     
   20286           0 :     XSRETURN(argvi);
   20287             :   fail:
   20288             :     
   20289           0 :     SWIG_croak_null();
   20290             :   }
   20291             : }
   20292             : 
   20293             : 
   20294           0 : XS(_wrap_scalebarObj_position_set) {
   20295             :   {
   20296             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   20297             :     int arg2 ;
   20298           0 :     void *argp1 = 0 ;
   20299             :     int res1 = 0 ;
   20300             :     int val2 ;
   20301             :     int ecode2 = 0 ;
   20302             :     int argvi = 0;
   20303           0 :     dXSARGS;
   20304             :     
   20305           0 :     if ((items < 2) || (items > 2)) {
   20306           0 :       SWIG_croak("Usage: scalebarObj_position_set(self,position);");
   20307             :     }
   20308           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   20309           0 :     if (!SWIG_IsOK(res1)) {
   20310           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_position_set" "', argument " "1"" of type '" "scalebarObj *""'"); 
   20311             :     }
   20312           0 :     arg1 = (scalebarObj *)(argp1);
   20313           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   20314           0 :     if (!SWIG_IsOK(ecode2)) {
   20315           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scalebarObj_position_set" "', argument " "2"" of type '" "int""'");
   20316             :     } 
   20317           0 :     arg2 = (int)(val2);
   20318           0 :     if (arg1) (arg1)->position = arg2;
   20319           0 :     ST(argvi) = sv_newmortal();
   20320             :     
   20321             :     
   20322           0 :     XSRETURN(argvi);
   20323             :   fail:
   20324             :     
   20325             :     
   20326           0 :     SWIG_croak_null();
   20327             :   }
   20328             : }
   20329             : 
   20330             : 
   20331           0 : XS(_wrap_scalebarObj_position_get) {
   20332             :   {
   20333             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   20334           0 :     void *argp1 = 0 ;
   20335             :     int res1 = 0 ;
   20336             :     int argvi = 0;
   20337             :     int result;
   20338           0 :     dXSARGS;
   20339             :     
   20340           0 :     if ((items < 1) || (items > 1)) {
   20341           0 :       SWIG_croak("Usage: scalebarObj_position_get(self);");
   20342             :     }
   20343           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   20344           0 :     if (!SWIG_IsOK(res1)) {
   20345           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_position_get" "', argument " "1"" of type '" "scalebarObj *""'"); 
   20346             :     }
   20347           0 :     arg1 = (scalebarObj *)(argp1);
   20348           0 :     result = (int) ((arg1)->position);
   20349           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   20350             :     
   20351           0 :     XSRETURN(argvi);
   20352             :   fail:
   20353             :     
   20354           0 :     SWIG_croak_null();
   20355             :   }
   20356             : }
   20357             : 
   20358             : 
   20359           0 : XS(_wrap_scalebarObj_postlabelcache_set) {
   20360             :   {
   20361             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   20362             :     int arg2 ;
   20363           0 :     void *argp1 = 0 ;
   20364             :     int res1 = 0 ;
   20365             :     int val2 ;
   20366             :     int ecode2 = 0 ;
   20367             :     int argvi = 0;
   20368           0 :     dXSARGS;
   20369             :     
   20370           0 :     if ((items < 2) || (items > 2)) {
   20371           0 :       SWIG_croak("Usage: scalebarObj_postlabelcache_set(self,postlabelcache);");
   20372             :     }
   20373           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   20374           0 :     if (!SWIG_IsOK(res1)) {
   20375           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_postlabelcache_set" "', argument " "1"" of type '" "scalebarObj *""'"); 
   20376             :     }
   20377           0 :     arg1 = (scalebarObj *)(argp1);
   20378           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   20379           0 :     if (!SWIG_IsOK(ecode2)) {
   20380           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scalebarObj_postlabelcache_set" "', argument " "2"" of type '" "int""'");
   20381             :     } 
   20382           0 :     arg2 = (int)(val2);
   20383           0 :     if (arg1) (arg1)->postlabelcache = arg2;
   20384           0 :     ST(argvi) = sv_newmortal();
   20385             :     
   20386             :     
   20387           0 :     XSRETURN(argvi);
   20388             :   fail:
   20389             :     
   20390             :     
   20391           0 :     SWIG_croak_null();
   20392             :   }
   20393             : }
   20394             : 
   20395             : 
   20396           0 : XS(_wrap_scalebarObj_postlabelcache_get) {
   20397             :   {
   20398             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   20399           0 :     void *argp1 = 0 ;
   20400             :     int res1 = 0 ;
   20401             :     int argvi = 0;
   20402             :     int result;
   20403           0 :     dXSARGS;
   20404             :     
   20405           0 :     if ((items < 1) || (items > 1)) {
   20406           0 :       SWIG_croak("Usage: scalebarObj_postlabelcache_get(self);");
   20407             :     }
   20408           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   20409           0 :     if (!SWIG_IsOK(res1)) {
   20410           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_postlabelcache_get" "', argument " "1"" of type '" "scalebarObj *""'"); 
   20411             :     }
   20412           0 :     arg1 = (scalebarObj *)(argp1);
   20413           0 :     result = (int) ((arg1)->postlabelcache);
   20414           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   20415             :     
   20416           0 :     XSRETURN(argvi);
   20417             :   fail:
   20418             :     
   20419           0 :     SWIG_croak_null();
   20420             :   }
   20421             : }
   20422             : 
   20423             : 
   20424           0 : XS(_wrap_scalebarObj_align_set) {
   20425             :   {
   20426             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   20427             :     int arg2 ;
   20428           0 :     void *argp1 = 0 ;
   20429             :     int res1 = 0 ;
   20430             :     int val2 ;
   20431             :     int ecode2 = 0 ;
   20432             :     int argvi = 0;
   20433           0 :     dXSARGS;
   20434             :     
   20435           0 :     if ((items < 2) || (items > 2)) {
   20436           0 :       SWIG_croak("Usage: scalebarObj_align_set(self,align);");
   20437             :     }
   20438           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   20439           0 :     if (!SWIG_IsOK(res1)) {
   20440           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_align_set" "', argument " "1"" of type '" "scalebarObj *""'"); 
   20441             :     }
   20442           0 :     arg1 = (scalebarObj *)(argp1);
   20443           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   20444           0 :     if (!SWIG_IsOK(ecode2)) {
   20445           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scalebarObj_align_set" "', argument " "2"" of type '" "int""'");
   20446             :     } 
   20447           0 :     arg2 = (int)(val2);
   20448           0 :     if (arg1) (arg1)->align = arg2;
   20449           0 :     ST(argvi) = sv_newmortal();
   20450             :     
   20451             :     
   20452           0 :     XSRETURN(argvi);
   20453             :   fail:
   20454             :     
   20455             :     
   20456           0 :     SWIG_croak_null();
   20457             :   }
   20458             : }
   20459             : 
   20460             : 
   20461           0 : XS(_wrap_scalebarObj_align_get) {
   20462             :   {
   20463             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   20464           0 :     void *argp1 = 0 ;
   20465             :     int res1 = 0 ;
   20466             :     int argvi = 0;
   20467             :     int result;
   20468           0 :     dXSARGS;
   20469             :     
   20470           0 :     if ((items < 1) || (items > 1)) {
   20471           0 :       SWIG_croak("Usage: scalebarObj_align_get(self);");
   20472             :     }
   20473           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   20474           0 :     if (!SWIG_IsOK(res1)) {
   20475           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_align_get" "', argument " "1"" of type '" "scalebarObj *""'"); 
   20476             :     }
   20477           0 :     arg1 = (scalebarObj *)(argp1);
   20478           0 :     result = (int) ((arg1)->align);
   20479           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   20480             :     
   20481           0 :     XSRETURN(argvi);
   20482             :   fail:
   20483             :     
   20484           0 :     SWIG_croak_null();
   20485             :   }
   20486             : }
   20487             : 
   20488             : 
   20489           0 : XS(_wrap_scalebarObj_offsetx_set) {
   20490             :   {
   20491             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   20492             :     int arg2 ;
   20493           0 :     void *argp1 = 0 ;
   20494             :     int res1 = 0 ;
   20495             :     int val2 ;
   20496             :     int ecode2 = 0 ;
   20497             :     int argvi = 0;
   20498           0 :     dXSARGS;
   20499             :     
   20500           0 :     if ((items < 2) || (items > 2)) {
   20501           0 :       SWIG_croak("Usage: scalebarObj_offsetx_set(self,offsetx);");
   20502             :     }
   20503           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   20504           0 :     if (!SWIG_IsOK(res1)) {
   20505           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_offsetx_set" "', argument " "1"" of type '" "scalebarObj *""'"); 
   20506             :     }
   20507           0 :     arg1 = (scalebarObj *)(argp1);
   20508           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   20509           0 :     if (!SWIG_IsOK(ecode2)) {
   20510           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scalebarObj_offsetx_set" "', argument " "2"" of type '" "int""'");
   20511             :     } 
   20512           0 :     arg2 = (int)(val2);
   20513           0 :     if (arg1) (arg1)->offsetx = arg2;
   20514           0 :     ST(argvi) = sv_newmortal();
   20515             :     
   20516             :     
   20517           0 :     XSRETURN(argvi);
   20518             :   fail:
   20519             :     
   20520             :     
   20521           0 :     SWIG_croak_null();
   20522             :   }
   20523             : }
   20524             : 
   20525             : 
   20526           0 : XS(_wrap_scalebarObj_offsetx_get) {
   20527             :   {
   20528             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   20529           0 :     void *argp1 = 0 ;
   20530             :     int res1 = 0 ;
   20531             :     int argvi = 0;
   20532             :     int result;
   20533           0 :     dXSARGS;
   20534             :     
   20535           0 :     if ((items < 1) || (items > 1)) {
   20536           0 :       SWIG_croak("Usage: scalebarObj_offsetx_get(self);");
   20537             :     }
   20538           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   20539           0 :     if (!SWIG_IsOK(res1)) {
   20540           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_offsetx_get" "', argument " "1"" of type '" "scalebarObj *""'"); 
   20541             :     }
   20542           0 :     arg1 = (scalebarObj *)(argp1);
   20543           0 :     result = (int) ((arg1)->offsetx);
   20544           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   20545             :     
   20546           0 :     XSRETURN(argvi);
   20547             :   fail:
   20548             :     
   20549           0 :     SWIG_croak_null();
   20550             :   }
   20551             : }
   20552             : 
   20553             : 
   20554           0 : XS(_wrap_scalebarObj_offsety_set) {
   20555             :   {
   20556             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   20557             :     int arg2 ;
   20558           0 :     void *argp1 = 0 ;
   20559             :     int res1 = 0 ;
   20560             :     int val2 ;
   20561             :     int ecode2 = 0 ;
   20562             :     int argvi = 0;
   20563           0 :     dXSARGS;
   20564             :     
   20565           0 :     if ((items < 2) || (items > 2)) {
   20566           0 :       SWIG_croak("Usage: scalebarObj_offsety_set(self,offsety);");
   20567             :     }
   20568           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   20569           0 :     if (!SWIG_IsOK(res1)) {
   20570           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_offsety_set" "', argument " "1"" of type '" "scalebarObj *""'"); 
   20571             :     }
   20572           0 :     arg1 = (scalebarObj *)(argp1);
   20573           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   20574           0 :     if (!SWIG_IsOK(ecode2)) {
   20575           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scalebarObj_offsety_set" "', argument " "2"" of type '" "int""'");
   20576             :     } 
   20577           0 :     arg2 = (int)(val2);
   20578           0 :     if (arg1) (arg1)->offsety = arg2;
   20579           0 :     ST(argvi) = sv_newmortal();
   20580             :     
   20581             :     
   20582           0 :     XSRETURN(argvi);
   20583             :   fail:
   20584             :     
   20585             :     
   20586           0 :     SWIG_croak_null();
   20587             :   }
   20588             : }
   20589             : 
   20590             : 
   20591           0 : XS(_wrap_scalebarObj_offsety_get) {
   20592             :   {
   20593             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   20594           0 :     void *argp1 = 0 ;
   20595             :     int res1 = 0 ;
   20596             :     int argvi = 0;
   20597             :     int result;
   20598           0 :     dXSARGS;
   20599             :     
   20600           0 :     if ((items < 1) || (items > 1)) {
   20601           0 :       SWIG_croak("Usage: scalebarObj_offsety_get(self);");
   20602             :     }
   20603           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   20604           0 :     if (!SWIG_IsOK(res1)) {
   20605           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_offsety_get" "', argument " "1"" of type '" "scalebarObj *""'"); 
   20606             :     }
   20607           0 :     arg1 = (scalebarObj *)(argp1);
   20608           0 :     result = (int) ((arg1)->offsety);
   20609           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   20610             :     
   20611           0 :     XSRETURN(argvi);
   20612             :   fail:
   20613             :     
   20614           0 :     SWIG_croak_null();
   20615             :   }
   20616             : }
   20617             : 
   20618             : 
   20619           0 : XS(_wrap_scalebarObj_updateFromString) {
   20620             :   {
   20621             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   20622             :     char *arg2 = (char *) 0 ;
   20623           0 :     void *argp1 = 0 ;
   20624             :     int res1 = 0 ;
   20625             :     int res2 ;
   20626           0 :     char *buf2 = 0 ;
   20627           0 :     int alloc2 = 0 ;
   20628             :     int argvi = 0;
   20629             :     int result;
   20630           0 :     dXSARGS;
   20631             :     
   20632           0 :     if ((items < 2) || (items > 2)) {
   20633           0 :       SWIG_croak("Usage: scalebarObj_updateFromString(self,snippet);");
   20634             :     }
   20635           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   20636           0 :     if (!SWIG_IsOK(res1)) {
   20637           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_updateFromString" "', argument " "1"" of type '" "scalebarObj *""'"); 
   20638             :     }
   20639           0 :     arg1 = (scalebarObj *)(argp1);
   20640           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   20641           0 :     if (!SWIG_IsOK(res2)) {
   20642           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "scalebarObj_updateFromString" "', argument " "2"" of type '" "char *""'");
   20643             :     }
   20644           0 :     arg2 = (char *)(buf2);
   20645             :     result = (int)scalebarObj_updateFromString(arg1,arg2);
   20646           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   20647             :     
   20648           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   20649           0 :     XSRETURN(argvi);
   20650             :   fail:
   20651             :     
   20652           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   20653           0 :     SWIG_croak_null();
   20654             :   }
   20655             : }
   20656             : 
   20657             : 
   20658           0 : XS(_wrap_scalebarObj_convertToString) {
   20659             :   {
   20660             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   20661           0 :     void *argp1 = 0 ;
   20662             :     int res1 = 0 ;
   20663             :     int argvi = 0;
   20664             :     char *result = 0 ;
   20665           0 :     dXSARGS;
   20666             :     
   20667           0 :     if ((items < 1) || (items > 1)) {
   20668           0 :       SWIG_croak("Usage: scalebarObj_convertToString(self);");
   20669             :     }
   20670           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   20671           0 :     if (!SWIG_IsOK(res1)) {
   20672           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_convertToString" "', argument " "1"" of type '" "scalebarObj *""'"); 
   20673             :     }
   20674           0 :     arg1 = (scalebarObj *)(argp1);
   20675             :     result = (char *)scalebarObj_convertToString(arg1);
   20676           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   20677             :     
   20678           0 :     free((char*)result);
   20679           0 :     XSRETURN(argvi);
   20680             :   fail:
   20681             :     
   20682           0 :     SWIG_croak_null();
   20683             :   }
   20684             : }
   20685             : 
   20686             : 
   20687           0 : XS(_wrap_new_scalebarObj) {
   20688             :   {
   20689             :     int argvi = 0;
   20690             :     scalebarObj *result = 0 ;
   20691           0 :     dXSARGS;
   20692             :     
   20693           0 :     if ((items < 0) || (items > 0)) {
   20694           0 :       SWIG_croak("Usage: new_scalebarObj();");
   20695             :     }
   20696           0 :     result = (scalebarObj *)calloc(1, sizeof(scalebarObj));
   20697           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_scalebarObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   20698           0 :     XSRETURN(argvi);
   20699             :   fail:
   20700           0 :     SWIG_croak_null();
   20701             :   }
   20702             : }
   20703             : 
   20704             : 
   20705           0 : XS(_wrap_delete_scalebarObj) {
   20706             :   {
   20707             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   20708           0 :     void *argp1 = 0 ;
   20709             :     int res1 = 0 ;
   20710             :     int argvi = 0;
   20711           0 :     dXSARGS;
   20712             :     
   20713           0 :     if ((items < 1) || (items > 1)) {
   20714           0 :       SWIG_croak("Usage: delete_scalebarObj(self);");
   20715             :     }
   20716           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, SWIG_POINTER_DISOWN |  0 );
   20717           0 :     if (!SWIG_IsOK(res1)) {
   20718           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_scalebarObj" "', argument " "1"" of type '" "scalebarObj *""'"); 
   20719             :     }
   20720           0 :     arg1 = (scalebarObj *)(argp1);
   20721           0 :     free((char *) arg1);
   20722           0 :     ST(argvi) = sv_newmortal();
   20723             :     
   20724           0 :     XSRETURN(argvi);
   20725             :   fail:
   20726             :     
   20727           0 :     SWIG_croak_null();
   20728             :   }
   20729             : }
   20730             : 
   20731             : 
   20732           0 : XS(_wrap_legendObj_imagecolor_set) {
   20733             :   {
   20734             :     legendObj *arg1 = (legendObj *) 0 ;
   20735             :     colorObj *arg2 = (colorObj *) 0 ;
   20736           0 :     void *argp1 = 0 ;
   20737             :     int res1 = 0 ;
   20738           0 :     void *argp2 = 0 ;
   20739             :     int res2 = 0 ;
   20740             :     int argvi = 0;
   20741           0 :     dXSARGS;
   20742             :     
   20743           0 :     if ((items < 2) || (items > 2)) {
   20744           0 :       SWIG_croak("Usage: legendObj_imagecolor_set(self,imagecolor);");
   20745             :     }
   20746           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 |  0 );
   20747           0 :     if (!SWIG_IsOK(res1)) {
   20748           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_imagecolor_set" "', argument " "1"" of type '" "legendObj *""'"); 
   20749             :     }
   20750           0 :     arg1 = (legendObj *)(argp1);
   20751           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 |  0 );
   20752           0 :     if (!SWIG_IsOK(res2)) {
   20753           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "legendObj_imagecolor_set" "', argument " "2"" of type '" "colorObj *""'"); 
   20754             :     }
   20755           0 :     arg2 = (colorObj *)(argp2);
   20756           0 :     if (arg1) (arg1)->imagecolor = *arg2;
   20757           0 :     ST(argvi) = sv_newmortal();
   20758             :     
   20759             :     
   20760           0 :     XSRETURN(argvi);
   20761             :   fail:
   20762             :     
   20763             :     
   20764           0 :     SWIG_croak_null();
   20765             :   }
   20766             : }
   20767             : 
   20768             : 
   20769           0 : XS(_wrap_legendObj_imagecolor_get) {
   20770             :   {
   20771             :     legendObj *arg1 = (legendObj *) 0 ;
   20772           0 :     void *argp1 = 0 ;
   20773             :     int res1 = 0 ;
   20774             :     int argvi = 0;
   20775             :     colorObj *result = 0 ;
   20776           0 :     dXSARGS;
   20777             :     
   20778           0 :     if ((items < 1) || (items > 1)) {
   20779           0 :       SWIG_croak("Usage: legendObj_imagecolor_get(self);");
   20780             :     }
   20781           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 |  0 );
   20782           0 :     if (!SWIG_IsOK(res1)) {
   20783           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_imagecolor_get" "', argument " "1"" of type '" "legendObj *""'"); 
   20784             :     }
   20785           0 :     arg1 = (legendObj *)(argp1);
   20786           0 :     result = (colorObj *)& ((arg1)->imagecolor);
   20787           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
   20788             :     
   20789           0 :     XSRETURN(argvi);
   20790             :   fail:
   20791             :     
   20792           0 :     SWIG_croak_null();
   20793             :   }
   20794             : }
   20795             : 
   20796             : 
   20797           0 : XS(_wrap_legendObj_label_get) {
   20798             :   {
   20799             :     legendObj *arg1 = (legendObj *) 0 ;
   20800           0 :     void *argp1 = 0 ;
   20801             :     int res1 = 0 ;
   20802             :     int argvi = 0;
   20803             :     labelObj *result = 0 ;
   20804           0 :     dXSARGS;
   20805             :     
   20806           0 :     if ((items < 1) || (items > 1)) {
   20807           0 :       SWIG_croak("Usage: legendObj_label_get(self);");
   20808             :     }
   20809           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 |  0 );
   20810           0 :     if (!SWIG_IsOK(res1)) {
   20811           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_label_get" "', argument " "1"" of type '" "legendObj *""'"); 
   20812             :     }
   20813           0 :     arg1 = (legendObj *)(argp1);
   20814           0 :     result = (labelObj *)& ((arg1)->label);
   20815           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelObj, 0 | SWIG_SHADOW); argvi++ ;
   20816             :     
   20817           0 :     XSRETURN(argvi);
   20818             :   fail:
   20819             :     
   20820           0 :     SWIG_croak_null();
   20821             :   }
   20822             : }
   20823             : 
   20824             : 
   20825           0 : XS(_wrap_legendObj_keysizex_set) {
   20826             :   {
   20827             :     legendObj *arg1 = (legendObj *) 0 ;
   20828             :     int arg2 ;
   20829           0 :     void *argp1 = 0 ;
   20830             :     int res1 = 0 ;
   20831             :     int val2 ;
   20832             :     int ecode2 = 0 ;
   20833             :     int argvi = 0;
   20834           0 :     dXSARGS;
   20835             :     
   20836           0 :     if ((items < 2) || (items > 2)) {
   20837           0 :       SWIG_croak("Usage: legendObj_keysizex_set(self,keysizex);");
   20838             :     }
   20839           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 |  0 );
   20840           0 :     if (!SWIG_IsOK(res1)) {
   20841           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_keysizex_set" "', argument " "1"" of type '" "legendObj *""'"); 
   20842             :     }
   20843           0 :     arg1 = (legendObj *)(argp1);
   20844           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   20845           0 :     if (!SWIG_IsOK(ecode2)) {
   20846           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "legendObj_keysizex_set" "', argument " "2"" of type '" "int""'");
   20847             :     } 
   20848           0 :     arg2 = (int)(val2);
   20849           0 :     if (arg1) (arg1)->keysizex = arg2;
   20850           0 :     ST(argvi) = sv_newmortal();
   20851             :     
   20852             :     
   20853           0 :     XSRETURN(argvi);
   20854             :   fail:
   20855             :     
   20856             :     
   20857           0 :     SWIG_croak_null();
   20858             :   }
   20859             : }
   20860             : 
   20861             : 
   20862           0 : XS(_wrap_legendObj_keysizex_get) {
   20863             :   {
   20864             :     legendObj *arg1 = (legendObj *) 0 ;
   20865           0 :     void *argp1 = 0 ;
   20866             :     int res1 = 0 ;
   20867             :     int argvi = 0;
   20868             :     int result;
   20869           0 :     dXSARGS;
   20870             :     
   20871           0 :     if ((items < 1) || (items > 1)) {
   20872           0 :       SWIG_croak("Usage: legendObj_keysizex_get(self);");
   20873             :     }
   20874           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 |  0 );
   20875           0 :     if (!SWIG_IsOK(res1)) {
   20876           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_keysizex_get" "', argument " "1"" of type '" "legendObj *""'"); 
   20877             :     }
   20878           0 :     arg1 = (legendObj *)(argp1);
   20879           0 :     result = (int) ((arg1)->keysizex);
   20880           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   20881             :     
   20882           0 :     XSRETURN(argvi);
   20883             :   fail:
   20884             :     
   20885           0 :     SWIG_croak_null();
   20886             :   }
   20887             : }
   20888             : 
   20889             : 
   20890           0 : XS(_wrap_legendObj_keysizey_set) {
   20891             :   {
   20892             :     legendObj *arg1 = (legendObj *) 0 ;
   20893             :     int arg2 ;
   20894           0 :     void *argp1 = 0 ;
   20895             :     int res1 = 0 ;
   20896             :     int val2 ;
   20897             :     int ecode2 = 0 ;
   20898             :     int argvi = 0;
   20899           0 :     dXSARGS;
   20900             :     
   20901           0 :     if ((items < 2) || (items > 2)) {
   20902           0 :       SWIG_croak("Usage: legendObj_keysizey_set(self,keysizey);");
   20903             :     }
   20904           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 |  0 );
   20905           0 :     if (!SWIG_IsOK(res1)) {
   20906           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_keysizey_set" "', argument " "1"" of type '" "legendObj *""'"); 
   20907             :     }
   20908           0 :     arg1 = (legendObj *)(argp1);
   20909           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   20910           0 :     if (!SWIG_IsOK(ecode2)) {
   20911           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "legendObj_keysizey_set" "', argument " "2"" of type '" "int""'");
   20912             :     } 
   20913           0 :     arg2 = (int)(val2);
   20914           0 :     if (arg1) (arg1)->keysizey = arg2;
   20915           0 :     ST(argvi) = sv_newmortal();
   20916             :     
   20917             :     
   20918           0 :     XSRETURN(argvi);
   20919             :   fail:
   20920             :     
   20921             :     
   20922           0 :     SWIG_croak_null();
   20923             :   }
   20924             : }
   20925             : 
   20926             : 
   20927           0 : XS(_wrap_legendObj_keysizey_get) {
   20928             :   {
   20929             :     legendObj *arg1 = (legendObj *) 0 ;
   20930           0 :     void *argp1 = 0 ;
   20931             :     int res1 = 0 ;
   20932             :     int argvi = 0;
   20933             :     int result;
   20934           0 :     dXSARGS;
   20935             :     
   20936           0 :     if ((items < 1) || (items > 1)) {
   20937           0 :       SWIG_croak("Usage: legendObj_keysizey_get(self);");
   20938             :     }
   20939           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 |  0 );
   20940           0 :     if (!SWIG_IsOK(res1)) {
   20941           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_keysizey_get" "', argument " "1"" of type '" "legendObj *""'"); 
   20942             :     }
   20943           0 :     arg1 = (legendObj *)(argp1);
   20944           0 :     result = (int) ((arg1)->keysizey);
   20945           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   20946             :     
   20947           0 :     XSRETURN(argvi);
   20948             :   fail:
   20949             :     
   20950           0 :     SWIG_croak_null();
   20951             :   }
   20952             : }
   20953             : 
   20954             : 
   20955           0 : XS(_wrap_legendObj_keyspacingx_set) {
   20956             :   {
   20957             :     legendObj *arg1 = (legendObj *) 0 ;
   20958             :     int arg2 ;
   20959           0 :     void *argp1 = 0 ;
   20960             :     int res1 = 0 ;
   20961             :     int val2 ;
   20962             :     int ecode2 = 0 ;
   20963             :     int argvi = 0;
   20964           0 :     dXSARGS;
   20965             :     
   20966           0 :     if ((items < 2) || (items > 2)) {
   20967           0 :       SWIG_croak("Usage: legendObj_keyspacingx_set(self,keyspacingx);");
   20968             :     }
   20969           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 |  0 );
   20970           0 :     if (!SWIG_IsOK(res1)) {
   20971           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_keyspacingx_set" "', argument " "1"" of type '" "legendObj *""'"); 
   20972             :     }
   20973           0 :     arg1 = (legendObj *)(argp1);
   20974           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   20975           0 :     if (!SWIG_IsOK(ecode2)) {
   20976           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "legendObj_keyspacingx_set" "', argument " "2"" of type '" "int""'");
   20977             :     } 
   20978           0 :     arg2 = (int)(val2);
   20979           0 :     if (arg1) (arg1)->keyspacingx = arg2;
   20980           0 :     ST(argvi) = sv_newmortal();
   20981             :     
   20982             :     
   20983           0 :     XSRETURN(argvi);
   20984             :   fail:
   20985             :     
   20986             :     
   20987           0 :     SWIG_croak_null();
   20988             :   }
   20989             : }
   20990             : 
   20991             : 
   20992           0 : XS(_wrap_legendObj_keyspacingx_get) {
   20993             :   {
   20994             :     legendObj *arg1 = (legendObj *) 0 ;
   20995           0 :     void *argp1 = 0 ;
   20996             :     int res1 = 0 ;
   20997             :     int argvi = 0;
   20998             :     int result;
   20999           0 :     dXSARGS;
   21000             :     
   21001           0 :     if ((items < 1) || (items > 1)) {
   21002           0 :       SWIG_croak("Usage: legendObj_keyspacingx_get(self);");
   21003             :     }
   21004           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 |  0 );
   21005           0 :     if (!SWIG_IsOK(res1)) {
   21006           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_keyspacingx_get" "', argument " "1"" of type '" "legendObj *""'"); 
   21007             :     }
   21008           0 :     arg1 = (legendObj *)(argp1);
   21009           0 :     result = (int) ((arg1)->keyspacingx);
   21010           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   21011             :     
   21012           0 :     XSRETURN(argvi);
   21013             :   fail:
   21014             :     
   21015           0 :     SWIG_croak_null();
   21016             :   }
   21017             : }
   21018             : 
   21019             : 
   21020           0 : XS(_wrap_legendObj_keyspacingy_set) {
   21021             :   {
   21022             :     legendObj *arg1 = (legendObj *) 0 ;
   21023             :     int arg2 ;
   21024           0 :     void *argp1 = 0 ;
   21025             :     int res1 = 0 ;
   21026             :     int val2 ;
   21027             :     int ecode2 = 0 ;
   21028             :     int argvi = 0;
   21029           0 :     dXSARGS;
   21030             :     
   21031           0 :     if ((items < 2) || (items > 2)) {
   21032           0 :       SWIG_croak("Usage: legendObj_keyspacingy_set(self,keyspacingy);");
   21033             :     }
   21034           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 |  0 );
   21035           0 :     if (!SWIG_IsOK(res1)) {
   21036           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_keyspacingy_set" "', argument " "1"" of type '" "legendObj *""'"); 
   21037             :     }
   21038           0 :     arg1 = (legendObj *)(argp1);
   21039           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   21040           0 :     if (!SWIG_IsOK(ecode2)) {
   21041           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "legendObj_keyspacingy_set" "', argument " "2"" of type '" "int""'");
   21042             :     } 
   21043           0 :     arg2 = (int)(val2);
   21044           0 :     if (arg1) (arg1)->keyspacingy = arg2;
   21045           0 :     ST(argvi) = sv_newmortal();
   21046             :     
   21047             :     
   21048           0 :     XSRETURN(argvi);
   21049             :   fail:
   21050             :     
   21051             :     
   21052           0 :     SWIG_croak_null();
   21053             :   }
   21054             : }
   21055             : 
   21056             : 
   21057           0 : XS(_wrap_legendObj_keyspacingy_get) {
   21058             :   {
   21059             :     legendObj *arg1 = (legendObj *) 0 ;
   21060           0 :     void *argp1 = 0 ;
   21061             :     int res1 = 0 ;
   21062             :     int argvi = 0;
   21063             :     int result;
   21064           0 :     dXSARGS;
   21065             :     
   21066           0 :     if ((items < 1) || (items > 1)) {
   21067           0 :       SWIG_croak("Usage: legendObj_keyspacingy_get(self);");
   21068             :     }
   21069           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 |  0 );
   21070           0 :     if (!SWIG_IsOK(res1)) {
   21071           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_keyspacingy_get" "', argument " "1"" of type '" "legendObj *""'"); 
   21072             :     }
   21073           0 :     arg1 = (legendObj *)(argp1);
   21074           0 :     result = (int) ((arg1)->keyspacingy);
   21075           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   21076             :     
   21077           0 :     XSRETURN(argvi);
   21078             :   fail:
   21079             :     
   21080           0 :     SWIG_croak_null();
   21081             :   }
   21082             : }
   21083             : 
   21084             : 
   21085           0 : XS(_wrap_legendObj_outlinecolor_set) {
   21086             :   {
   21087             :     legendObj *arg1 = (legendObj *) 0 ;
   21088             :     colorObj *arg2 = (colorObj *) 0 ;
   21089           0 :     void *argp1 = 0 ;
   21090             :     int res1 = 0 ;
   21091           0 :     void *argp2 = 0 ;
   21092             :     int res2 = 0 ;
   21093             :     int argvi = 0;
   21094           0 :     dXSARGS;
   21095             :     
   21096           0 :     if ((items < 2) || (items > 2)) {
   21097           0 :       SWIG_croak("Usage: legendObj_outlinecolor_set(self,outlinecolor);");
   21098             :     }
   21099           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 |  0 );
   21100           0 :     if (!SWIG_IsOK(res1)) {
   21101           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_outlinecolor_set" "', argument " "1"" of type '" "legendObj *""'"); 
   21102             :     }
   21103           0 :     arg1 = (legendObj *)(argp1);
   21104           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 |  0 );
   21105           0 :     if (!SWIG_IsOK(res2)) {
   21106           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "legendObj_outlinecolor_set" "', argument " "2"" of type '" "colorObj *""'"); 
   21107             :     }
   21108           0 :     arg2 = (colorObj *)(argp2);
   21109           0 :     if (arg1) (arg1)->outlinecolor = *arg2;
   21110           0 :     ST(argvi) = sv_newmortal();
   21111             :     
   21112             :     
   21113           0 :     XSRETURN(argvi);
   21114             :   fail:
   21115             :     
   21116             :     
   21117           0 :     SWIG_croak_null();
   21118             :   }
   21119             : }
   21120             : 
   21121             : 
   21122           0 : XS(_wrap_legendObj_outlinecolor_get) {
   21123             :   {
   21124             :     legendObj *arg1 = (legendObj *) 0 ;
   21125           0 :     void *argp1 = 0 ;
   21126             :     int res1 = 0 ;
   21127             :     int argvi = 0;
   21128             :     colorObj *result = 0 ;
   21129           0 :     dXSARGS;
   21130             :     
   21131           0 :     if ((items < 1) || (items > 1)) {
   21132           0 :       SWIG_croak("Usage: legendObj_outlinecolor_get(self);");
   21133             :     }
   21134           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 |  0 );
   21135           0 :     if (!SWIG_IsOK(res1)) {
   21136           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_outlinecolor_get" "', argument " "1"" of type '" "legendObj *""'"); 
   21137             :     }
   21138           0 :     arg1 = (legendObj *)(argp1);
   21139           0 :     result = (colorObj *)& ((arg1)->outlinecolor);
   21140           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
   21141             :     
   21142           0 :     XSRETURN(argvi);
   21143             :   fail:
   21144             :     
   21145           0 :     SWIG_croak_null();
   21146             :   }
   21147             : }
   21148             : 
   21149             : 
   21150           0 : XS(_wrap_legendObj_status_set) {
   21151             :   {
   21152             :     legendObj *arg1 = (legendObj *) 0 ;
   21153             :     int arg2 ;
   21154           0 :     void *argp1 = 0 ;
   21155             :     int res1 = 0 ;
   21156             :     int val2 ;
   21157             :     int ecode2 = 0 ;
   21158             :     int argvi = 0;
   21159           0 :     dXSARGS;
   21160             :     
   21161           0 :     if ((items < 2) || (items > 2)) {
   21162           0 :       SWIG_croak("Usage: legendObj_status_set(self,status);");
   21163             :     }
   21164           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 |  0 );
   21165           0 :     if (!SWIG_IsOK(res1)) {
   21166           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_status_set" "', argument " "1"" of type '" "legendObj *""'"); 
   21167             :     }
   21168           0 :     arg1 = (legendObj *)(argp1);
   21169           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   21170           0 :     if (!SWIG_IsOK(ecode2)) {
   21171           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "legendObj_status_set" "', argument " "2"" of type '" "int""'");
   21172             :     } 
   21173           0 :     arg2 = (int)(val2);
   21174           0 :     if (arg1) (arg1)->status = arg2;
   21175           0 :     ST(argvi) = sv_newmortal();
   21176             :     
   21177             :     
   21178           0 :     XSRETURN(argvi);
   21179             :   fail:
   21180             :     
   21181             :     
   21182           0 :     SWIG_croak_null();
   21183             :   }
   21184             : }
   21185             : 
   21186             : 
   21187           0 : XS(_wrap_legendObj_status_get) {
   21188             :   {
   21189             :     legendObj *arg1 = (legendObj *) 0 ;
   21190           0 :     void *argp1 = 0 ;
   21191             :     int res1 = 0 ;
   21192             :     int argvi = 0;
   21193             :     int result;
   21194           0 :     dXSARGS;
   21195             :     
   21196           0 :     if ((items < 1) || (items > 1)) {
   21197           0 :       SWIG_croak("Usage: legendObj_status_get(self);");
   21198             :     }
   21199           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 |  0 );
   21200           0 :     if (!SWIG_IsOK(res1)) {
   21201           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_status_get" "', argument " "1"" of type '" "legendObj *""'"); 
   21202             :     }
   21203           0 :     arg1 = (legendObj *)(argp1);
   21204           0 :     result = (int) ((arg1)->status);
   21205           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   21206             :     
   21207           0 :     XSRETURN(argvi);
   21208             :   fail:
   21209             :     
   21210           0 :     SWIG_croak_null();
   21211             :   }
   21212             : }
   21213             : 
   21214             : 
   21215           0 : XS(_wrap_legendObj_height_set) {
   21216             :   {
   21217             :     legendObj *arg1 = (legendObj *) 0 ;
   21218             :     int arg2 ;
   21219           0 :     void *argp1 = 0 ;
   21220             :     int res1 = 0 ;
   21221             :     int val2 ;
   21222             :     int ecode2 = 0 ;
   21223             :     int argvi = 0;
   21224           0 :     dXSARGS;
   21225             :     
   21226           0 :     if ((items < 2) || (items > 2)) {
   21227           0 :       SWIG_croak("Usage: legendObj_height_set(self,height);");
   21228             :     }
   21229           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 |  0 );
   21230           0 :     if (!SWIG_IsOK(res1)) {
   21231           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_height_set" "', argument " "1"" of type '" "legendObj *""'"); 
   21232             :     }
   21233           0 :     arg1 = (legendObj *)(argp1);
   21234           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   21235           0 :     if (!SWIG_IsOK(ecode2)) {
   21236           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "legendObj_height_set" "', argument " "2"" of type '" "int""'");
   21237             :     } 
   21238           0 :     arg2 = (int)(val2);
   21239           0 :     if (arg1) (arg1)->height = arg2;
   21240           0 :     ST(argvi) = sv_newmortal();
   21241             :     
   21242             :     
   21243           0 :     XSRETURN(argvi);
   21244             :   fail:
   21245             :     
   21246             :     
   21247           0 :     SWIG_croak_null();
   21248             :   }
   21249             : }
   21250             : 
   21251             : 
   21252           0 : XS(_wrap_legendObj_height_get) {
   21253             :   {
   21254             :     legendObj *arg1 = (legendObj *) 0 ;
   21255           0 :     void *argp1 = 0 ;
   21256             :     int res1 = 0 ;
   21257             :     int argvi = 0;
   21258             :     int result;
   21259           0 :     dXSARGS;
   21260             :     
   21261           0 :     if ((items < 1) || (items > 1)) {
   21262           0 :       SWIG_croak("Usage: legendObj_height_get(self);");
   21263             :     }
   21264           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 |  0 );
   21265           0 :     if (!SWIG_IsOK(res1)) {
   21266           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_height_get" "', argument " "1"" of type '" "legendObj *""'"); 
   21267             :     }
   21268           0 :     arg1 = (legendObj *)(argp1);
   21269           0 :     result = (int) ((arg1)->height);
   21270           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   21271             :     
   21272           0 :     XSRETURN(argvi);
   21273             :   fail:
   21274             :     
   21275           0 :     SWIG_croak_null();
   21276             :   }
   21277             : }
   21278             : 
   21279             : 
   21280           0 : XS(_wrap_legendObj_width_set) {
   21281             :   {
   21282             :     legendObj *arg1 = (legendObj *) 0 ;
   21283             :     int arg2 ;
   21284           0 :     void *argp1 = 0 ;
   21285             :     int res1 = 0 ;
   21286             :     int val2 ;
   21287             :     int ecode2 = 0 ;
   21288             :     int argvi = 0;
   21289           0 :     dXSARGS;
   21290             :     
   21291           0 :     if ((items < 2) || (items > 2)) {
   21292           0 :       SWIG_croak("Usage: legendObj_width_set(self,width);");
   21293             :     }
   21294           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 |  0 );
   21295           0 :     if (!SWIG_IsOK(res1)) {
   21296           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_width_set" "', argument " "1"" of type '" "legendObj *""'"); 
   21297             :     }
   21298           0 :     arg1 = (legendObj *)(argp1);
   21299           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   21300           0 :     if (!SWIG_IsOK(ecode2)) {
   21301           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "legendObj_width_set" "', argument " "2"" of type '" "int""'");
   21302             :     } 
   21303           0 :     arg2 = (int)(val2);
   21304           0 :     if (arg1) (arg1)->width = arg2;
   21305           0 :     ST(argvi) = sv_newmortal();
   21306             :     
   21307             :     
   21308           0 :     XSRETURN(argvi);
   21309             :   fail:
   21310             :     
   21311             :     
   21312           0 :     SWIG_croak_null();
   21313             :   }
   21314             : }
   21315             : 
   21316             : 
   21317           0 : XS(_wrap_legendObj_width_get) {
   21318             :   {
   21319             :     legendObj *arg1 = (legendObj *) 0 ;
   21320           0 :     void *argp1 = 0 ;
   21321             :     int res1 = 0 ;
   21322             :     int argvi = 0;
   21323             :     int result;
   21324           0 :     dXSARGS;
   21325             :     
   21326           0 :     if ((items < 1) || (items > 1)) {
   21327           0 :       SWIG_croak("Usage: legendObj_width_get(self);");
   21328             :     }
   21329           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 |  0 );
   21330           0 :     if (!SWIG_IsOK(res1)) {
   21331           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_width_get" "', argument " "1"" of type '" "legendObj *""'"); 
   21332             :     }
   21333           0 :     arg1 = (legendObj *)(argp1);
   21334           0 :     result = (int) ((arg1)->width);
   21335           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   21336             :     
   21337           0 :     XSRETURN(argvi);
   21338             :   fail:
   21339             :     
   21340           0 :     SWIG_croak_null();
   21341             :   }
   21342             : }
   21343             : 
   21344             : 
   21345           0 : XS(_wrap_legendObj_position_set) {
   21346             :   {
   21347             :     legendObj *arg1 = (legendObj *) 0 ;
   21348             :     int arg2 ;
   21349           0 :     void *argp1 = 0 ;
   21350             :     int res1 = 0 ;
   21351             :     int val2 ;
   21352             :     int ecode2 = 0 ;
   21353             :     int argvi = 0;
   21354           0 :     dXSARGS;
   21355             :     
   21356           0 :     if ((items < 2) || (items > 2)) {
   21357           0 :       SWIG_croak("Usage: legendObj_position_set(self,position);");
   21358             :     }
   21359           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 |  0 );
   21360           0 :     if (!SWIG_IsOK(res1)) {
   21361           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_position_set" "', argument " "1"" of type '" "legendObj *""'"); 
   21362             :     }
   21363           0 :     arg1 = (legendObj *)(argp1);
   21364           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   21365           0 :     if (!SWIG_IsOK(ecode2)) {
   21366           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "legendObj_position_set" "', argument " "2"" of type '" "int""'");
   21367             :     } 
   21368           0 :     arg2 = (int)(val2);
   21369           0 :     if (arg1) (arg1)->position = arg2;
   21370           0 :     ST(argvi) = sv_newmortal();
   21371             :     
   21372             :     
   21373           0 :     XSRETURN(argvi);
   21374             :   fail:
   21375             :     
   21376             :     
   21377           0 :     SWIG_croak_null();
   21378             :   }
   21379             : }
   21380             : 
   21381             : 
   21382           0 : XS(_wrap_legendObj_position_get) {
   21383             :   {
   21384             :     legendObj *arg1 = (legendObj *) 0 ;
   21385           0 :     void *argp1 = 0 ;
   21386             :     int res1 = 0 ;
   21387             :     int argvi = 0;
   21388             :     int result;
   21389           0 :     dXSARGS;
   21390             :     
   21391           0 :     if ((items < 1) || (items > 1)) {
   21392           0 :       SWIG_croak("Usage: legendObj_position_get(self);");
   21393             :     }
   21394           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 |  0 );
   21395           0 :     if (!SWIG_IsOK(res1)) {
   21396           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_position_get" "', argument " "1"" of type '" "legendObj *""'"); 
   21397             :     }
   21398           0 :     arg1 = (legendObj *)(argp1);
   21399           0 :     result = (int) ((arg1)->position);
   21400           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   21401             :     
   21402           0 :     XSRETURN(argvi);
   21403             :   fail:
   21404             :     
   21405           0 :     SWIG_croak_null();
   21406             :   }
   21407             : }
   21408             : 
   21409             : 
   21410           0 : XS(_wrap_legendObj_postlabelcache_set) {
   21411             :   {
   21412             :     legendObj *arg1 = (legendObj *) 0 ;
   21413             :     int arg2 ;
   21414           0 :     void *argp1 = 0 ;
   21415             :     int res1 = 0 ;
   21416             :     int val2 ;
   21417             :     int ecode2 = 0 ;
   21418             :     int argvi = 0;
   21419           0 :     dXSARGS;
   21420             :     
   21421           0 :     if ((items < 2) || (items > 2)) {
   21422           0 :       SWIG_croak("Usage: legendObj_postlabelcache_set(self,postlabelcache);");
   21423             :     }
   21424           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 |  0 );
   21425           0 :     if (!SWIG_IsOK(res1)) {
   21426           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_postlabelcache_set" "', argument " "1"" of type '" "legendObj *""'"); 
   21427             :     }
   21428           0 :     arg1 = (legendObj *)(argp1);
   21429           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   21430           0 :     if (!SWIG_IsOK(ecode2)) {
   21431           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "legendObj_postlabelcache_set" "', argument " "2"" of type '" "int""'");
   21432             :     } 
   21433           0 :     arg2 = (int)(val2);
   21434           0 :     if (arg1) (arg1)->postlabelcache = arg2;
   21435           0 :     ST(argvi) = sv_newmortal();
   21436             :     
   21437             :     
   21438           0 :     XSRETURN(argvi);
   21439             :   fail:
   21440             :     
   21441             :     
   21442           0 :     SWIG_croak_null();
   21443             :   }
   21444             : }
   21445             : 
   21446             : 
   21447           0 : XS(_wrap_legendObj_postlabelcache_get) {
   21448             :   {
   21449             :     legendObj *arg1 = (legendObj *) 0 ;
   21450           0 :     void *argp1 = 0 ;
   21451             :     int res1 = 0 ;
   21452             :     int argvi = 0;
   21453             :     int result;
   21454           0 :     dXSARGS;
   21455             :     
   21456           0 :     if ((items < 1) || (items > 1)) {
   21457           0 :       SWIG_croak("Usage: legendObj_postlabelcache_get(self);");
   21458             :     }
   21459           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 |  0 );
   21460           0 :     if (!SWIG_IsOK(res1)) {
   21461           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_postlabelcache_get" "', argument " "1"" of type '" "legendObj *""'"); 
   21462             :     }
   21463           0 :     arg1 = (legendObj *)(argp1);
   21464           0 :     result = (int) ((arg1)->postlabelcache);
   21465           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   21466             :     
   21467           0 :     XSRETURN(argvi);
   21468             :   fail:
   21469             :     
   21470           0 :     SWIG_croak_null();
   21471             :   }
   21472             : }
   21473             : 
   21474             : 
   21475           0 : XS(_wrap_legendObj_template_set) {
   21476             :   {
   21477             :     legendObj *arg1 = (legendObj *) 0 ;
   21478             :     char *arg2 = (char *) 0 ;
   21479           0 :     void *argp1 = 0 ;
   21480             :     int res1 = 0 ;
   21481             :     int res2 ;
   21482           0 :     char *buf2 = 0 ;
   21483           0 :     int alloc2 = 0 ;
   21484             :     int argvi = 0;
   21485           0 :     dXSARGS;
   21486             :     
   21487           0 :     if ((items < 2) || (items > 2)) {
   21488           0 :       SWIG_croak("Usage: legendObj_template_set(self,template);");
   21489             :     }
   21490           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 |  0 );
   21491           0 :     if (!SWIG_IsOK(res1)) {
   21492           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_template_set" "', argument " "1"" of type '" "legendObj *""'"); 
   21493             :     }
   21494           0 :     arg1 = (legendObj *)(argp1);
   21495           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   21496           0 :     if (!SWIG_IsOK(res2)) {
   21497           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "legendObj_template_set" "', argument " "2"" of type '" "char *""'");
   21498             :     }
   21499           0 :     arg2 = (char *)(buf2);
   21500             :     {
   21501           0 :       if (arg1->template) free((char*)arg1->template);
   21502           0 :       if (arg2) {
   21503           0 :         arg1->template = (char *) malloc(strlen(arg2)+1);
   21504             :         strcpy((char*)arg1->template,arg2);
   21505             :       } else {
   21506           0 :         arg1->template = 0;
   21507             :       }
   21508             :     }
   21509           0 :     ST(argvi) = sv_newmortal();
   21510             :     
   21511           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   21512           0 :     XSRETURN(argvi);
   21513             :   fail:
   21514             :     
   21515           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   21516           0 :     SWIG_croak_null();
   21517             :   }
   21518             : }
   21519             : 
   21520             : 
   21521           0 : XS(_wrap_legendObj_template_get) {
   21522             :   {
   21523             :     legendObj *arg1 = (legendObj *) 0 ;
   21524           0 :     void *argp1 = 0 ;
   21525             :     int res1 = 0 ;
   21526             :     int argvi = 0;
   21527             :     char *result = 0 ;
   21528           0 :     dXSARGS;
   21529             :     
   21530           0 :     if ((items < 1) || (items > 1)) {
   21531           0 :       SWIG_croak("Usage: legendObj_template_get(self);");
   21532             :     }
   21533           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 |  0 );
   21534           0 :     if (!SWIG_IsOK(res1)) {
   21535           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_template_get" "', argument " "1"" of type '" "legendObj *""'"); 
   21536             :     }
   21537           0 :     arg1 = (legendObj *)(argp1);
   21538           0 :     result = (char *) ((arg1)->template);
   21539           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   21540             :     
   21541           0 :     XSRETURN(argvi);
   21542             :   fail:
   21543             :     
   21544           0 :     SWIG_croak_null();
   21545             :   }
   21546             : }
   21547             : 
   21548             : 
   21549           0 : XS(_wrap_legendObj_map_get) {
   21550             :   {
   21551             :     legendObj *arg1 = (legendObj *) 0 ;
   21552           0 :     void *argp1 = 0 ;
   21553             :     int res1 = 0 ;
   21554             :     int argvi = 0;
   21555             :     struct mapObj *result = 0 ;
   21556           0 :     dXSARGS;
   21557             :     
   21558           0 :     if ((items < 1) || (items > 1)) {
   21559           0 :       SWIG_croak("Usage: legendObj_map_get(self);");
   21560             :     }
   21561           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 |  0 );
   21562           0 :     if (!SWIG_IsOK(res1)) {
   21563           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_map_get" "', argument " "1"" of type '" "legendObj *""'"); 
   21564             :     }
   21565           0 :     arg1 = (legendObj *)(argp1);
   21566             :     {
   21567             :       /* Accessing map */
   21568           0 :       result = (struct mapObj *) ((arg1)->map);;
   21569           0 :       MS_REFCNT_INCR(result);
   21570             :     }
   21571           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mapObj, 0 | SWIG_SHADOW); argvi++ ;
   21572             :     
   21573           0 :     XSRETURN(argvi);
   21574             :   fail:
   21575             :     
   21576           0 :     SWIG_croak_null();
   21577             :   }
   21578             : }
   21579             : 
   21580             : 
   21581           0 : XS(_wrap_legendObj_updateFromString) {
   21582             :   {
   21583             :     legendObj *arg1 = (legendObj *) 0 ;
   21584             :     char *arg2 = (char *) 0 ;
   21585           0 :     void *argp1 = 0 ;
   21586             :     int res1 = 0 ;
   21587             :     int res2 ;
   21588           0 :     char *buf2 = 0 ;
   21589           0 :     int alloc2 = 0 ;
   21590             :     int argvi = 0;
   21591             :     int result;
   21592           0 :     dXSARGS;
   21593             :     
   21594           0 :     if ((items < 2) || (items > 2)) {
   21595           0 :       SWIG_croak("Usage: legendObj_updateFromString(self,snippet);");
   21596             :     }
   21597           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 |  0 );
   21598           0 :     if (!SWIG_IsOK(res1)) {
   21599           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_updateFromString" "', argument " "1"" of type '" "legendObj *""'"); 
   21600             :     }
   21601           0 :     arg1 = (legendObj *)(argp1);
   21602           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   21603           0 :     if (!SWIG_IsOK(res2)) {
   21604           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "legendObj_updateFromString" "', argument " "2"" of type '" "char *""'");
   21605             :     }
   21606           0 :     arg2 = (char *)(buf2);
   21607             :     result = (int)legendObj_updateFromString(arg1,arg2);
   21608           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   21609             :     
   21610           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   21611           0 :     XSRETURN(argvi);
   21612             :   fail:
   21613             :     
   21614           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   21615           0 :     SWIG_croak_null();
   21616             :   }
   21617             : }
   21618             : 
   21619             : 
   21620           0 : XS(_wrap_legendObj_convertToString) {
   21621             :   {
   21622             :     legendObj *arg1 = (legendObj *) 0 ;
   21623           0 :     void *argp1 = 0 ;
   21624             :     int res1 = 0 ;
   21625             :     int argvi = 0;
   21626             :     char *result = 0 ;
   21627           0 :     dXSARGS;
   21628             :     
   21629           0 :     if ((items < 1) || (items > 1)) {
   21630           0 :       SWIG_croak("Usage: legendObj_convertToString(self);");
   21631             :     }
   21632           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 |  0 );
   21633           0 :     if (!SWIG_IsOK(res1)) {
   21634           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_convertToString" "', argument " "1"" of type '" "legendObj *""'"); 
   21635             :     }
   21636           0 :     arg1 = (legendObj *)(argp1);
   21637             :     result = (char *)legendObj_convertToString(arg1);
   21638           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   21639             :     
   21640           0 :     free((char*)result);
   21641           0 :     XSRETURN(argvi);
   21642             :   fail:
   21643             :     
   21644           0 :     SWIG_croak_null();
   21645             :   }
   21646             : }
   21647             : 
   21648             : 
   21649           0 : XS(_wrap_new_legendObj) {
   21650             :   {
   21651             :     int argvi = 0;
   21652             :     legendObj *result = 0 ;
   21653           0 :     dXSARGS;
   21654             :     
   21655           0 :     if ((items < 0) || (items > 0)) {
   21656           0 :       SWIG_croak("Usage: new_legendObj();");
   21657             :     }
   21658           0 :     result = (legendObj *)calloc(1, sizeof(legendObj));
   21659           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_legendObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   21660           0 :     XSRETURN(argvi);
   21661             :   fail:
   21662           0 :     SWIG_croak_null();
   21663             :   }
   21664             : }
   21665             : 
   21666             : 
   21667           0 : XS(_wrap_delete_legendObj) {
   21668             :   {
   21669             :     legendObj *arg1 = (legendObj *) 0 ;
   21670           0 :     void *argp1 = 0 ;
   21671             :     int res1 = 0 ;
   21672             :     int argvi = 0;
   21673           0 :     dXSARGS;
   21674             :     
   21675           0 :     if ((items < 1) || (items > 1)) {
   21676           0 :       SWIG_croak("Usage: delete_legendObj(self);");
   21677             :     }
   21678           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, SWIG_POINTER_DISOWN |  0 );
   21679           0 :     if (!SWIG_IsOK(res1)) {
   21680           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_legendObj" "', argument " "1"" of type '" "legendObj *""'"); 
   21681             :     }
   21682           0 :     arg1 = (legendObj *)(argp1);
   21683           0 :     free((char *) arg1);
   21684           0 :     ST(argvi) = sv_newmortal();
   21685             :     
   21686           0 :     XSRETURN(argvi);
   21687             :   fail:
   21688             :     
   21689           0 :     SWIG_croak_null();
   21690             :   }
   21691             : }
   21692             : 
   21693             : 
   21694           0 : XS(_wrap_imageObj_width_get) {
   21695             :   {
   21696             :     struct imageObj *arg1 = (struct imageObj *) 0 ;
   21697           0 :     void *argp1 = 0 ;
   21698             :     int res1 = 0 ;
   21699             :     int argvi = 0;
   21700             :     int result;
   21701           0 :     dXSARGS;
   21702             :     
   21703           0 :     if ((items < 1) || (items > 1)) {
   21704           0 :       SWIG_croak("Usage: imageObj_width_get(self);");
   21705             :     }
   21706           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_imageObj, 0 |  0 );
   21707           0 :     if (!SWIG_IsOK(res1)) {
   21708           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imageObj_width_get" "', argument " "1"" of type '" "struct imageObj *""'"); 
   21709             :     }
   21710           0 :     arg1 = (struct imageObj *)(argp1);
   21711           0 :     result = (int) ((arg1)->width);
   21712           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   21713             :     
   21714           0 :     XSRETURN(argvi);
   21715             :   fail:
   21716             :     
   21717           0 :     SWIG_croak_null();
   21718             :   }
   21719             : }
   21720             : 
   21721             : 
   21722           0 : XS(_wrap_imageObj_height_get) {
   21723             :   {
   21724             :     struct imageObj *arg1 = (struct imageObj *) 0 ;
   21725           0 :     void *argp1 = 0 ;
   21726             :     int res1 = 0 ;
   21727             :     int argvi = 0;
   21728             :     int result;
   21729           0 :     dXSARGS;
   21730             :     
   21731           0 :     if ((items < 1) || (items > 1)) {
   21732           0 :       SWIG_croak("Usage: imageObj_height_get(self);");
   21733             :     }
   21734           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_imageObj, 0 |  0 );
   21735           0 :     if (!SWIG_IsOK(res1)) {
   21736           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imageObj_height_get" "', argument " "1"" of type '" "struct imageObj *""'"); 
   21737             :     }
   21738           0 :     arg1 = (struct imageObj *)(argp1);
   21739           0 :     result = (int) ((arg1)->height);
   21740           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   21741             :     
   21742           0 :     XSRETURN(argvi);
   21743             :   fail:
   21744             :     
   21745           0 :     SWIG_croak_null();
   21746             :   }
   21747             : }
   21748             : 
   21749             : 
   21750           0 : XS(_wrap_imageObj_resolution_get) {
   21751             :   {
   21752             :     struct imageObj *arg1 = (struct imageObj *) 0 ;
   21753           0 :     void *argp1 = 0 ;
   21754             :     int res1 = 0 ;
   21755             :     int argvi = 0;
   21756             :     double result;
   21757           0 :     dXSARGS;
   21758             :     
   21759           0 :     if ((items < 1) || (items > 1)) {
   21760           0 :       SWIG_croak("Usage: imageObj_resolution_get(self);");
   21761             :     }
   21762           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_imageObj, 0 |  0 );
   21763           0 :     if (!SWIG_IsOK(res1)) {
   21764           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imageObj_resolution_get" "', argument " "1"" of type '" "struct imageObj *""'"); 
   21765             :     }
   21766           0 :     arg1 = (struct imageObj *)(argp1);
   21767           0 :     result = (double) ((arg1)->resolution);
   21768           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   21769             :     
   21770           0 :     XSRETURN(argvi);
   21771             :   fail:
   21772             :     
   21773           0 :     SWIG_croak_null();
   21774             :   }
   21775             : }
   21776             : 
   21777             : 
   21778           0 : XS(_wrap_imageObj_resolutionfactor_get) {
   21779             :   {
   21780             :     struct imageObj *arg1 = (struct imageObj *) 0 ;
   21781           0 :     void *argp1 = 0 ;
   21782             :     int res1 = 0 ;
   21783             :     int argvi = 0;
   21784             :     double result;
   21785           0 :     dXSARGS;
   21786             :     
   21787           0 :     if ((items < 1) || (items > 1)) {
   21788           0 :       SWIG_croak("Usage: imageObj_resolutionfactor_get(self);");
   21789             :     }
   21790           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_imageObj, 0 |  0 );
   21791           0 :     if (!SWIG_IsOK(res1)) {
   21792           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imageObj_resolutionfactor_get" "', argument " "1"" of type '" "struct imageObj *""'"); 
   21793             :     }
   21794           0 :     arg1 = (struct imageObj *)(argp1);
   21795           0 :     result = (double) ((arg1)->resolutionfactor);
   21796           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   21797             :     
   21798           0 :     XSRETURN(argvi);
   21799             :   fail:
   21800             :     
   21801           0 :     SWIG_croak_null();
   21802             :   }
   21803             : }
   21804             : 
   21805             : 
   21806           0 : XS(_wrap_imageObj_imagepath_get) {
   21807             :   {
   21808             :     struct imageObj *arg1 = (struct imageObj *) 0 ;
   21809           0 :     void *argp1 = 0 ;
   21810             :     int res1 = 0 ;
   21811             :     int argvi = 0;
   21812             :     char *result = 0 ;
   21813           0 :     dXSARGS;
   21814             :     
   21815           0 :     if ((items < 1) || (items > 1)) {
   21816           0 :       SWIG_croak("Usage: imageObj_imagepath_get(self);");
   21817             :     }
   21818           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_imageObj, 0 |  0 );
   21819           0 :     if (!SWIG_IsOK(res1)) {
   21820           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imageObj_imagepath_get" "', argument " "1"" of type '" "struct imageObj *""'"); 
   21821             :     }
   21822           0 :     arg1 = (struct imageObj *)(argp1);
   21823           0 :     result = (char *) ((arg1)->imagepath);
   21824           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   21825             :     
   21826           0 :     XSRETURN(argvi);
   21827             :   fail:
   21828             :     
   21829           0 :     SWIG_croak_null();
   21830             :   }
   21831             : }
   21832             : 
   21833             : 
   21834           0 : XS(_wrap_imageObj_imageurl_get) {
   21835             :   {
   21836             :     struct imageObj *arg1 = (struct imageObj *) 0 ;
   21837           0 :     void *argp1 = 0 ;
   21838             :     int res1 = 0 ;
   21839             :     int argvi = 0;
   21840             :     char *result = 0 ;
   21841           0 :     dXSARGS;
   21842             :     
   21843           0 :     if ((items < 1) || (items > 1)) {
   21844           0 :       SWIG_croak("Usage: imageObj_imageurl_get(self);");
   21845             :     }
   21846           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_imageObj, 0 |  0 );
   21847           0 :     if (!SWIG_IsOK(res1)) {
   21848           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imageObj_imageurl_get" "', argument " "1"" of type '" "struct imageObj *""'"); 
   21849             :     }
   21850           0 :     arg1 = (struct imageObj *)(argp1);
   21851           0 :     result = (char *) ((arg1)->imageurl);
   21852           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   21853             :     
   21854           0 :     XSRETURN(argvi);
   21855             :   fail:
   21856             :     
   21857           0 :     SWIG_croak_null();
   21858             :   }
   21859             : }
   21860             : 
   21861             : 
   21862           0 : XS(_wrap_imageObj_format_get) {
   21863             :   {
   21864             :     struct imageObj *arg1 = (struct imageObj *) 0 ;
   21865           0 :     void *argp1 = 0 ;
   21866             :     int res1 = 0 ;
   21867             :     int argvi = 0;
   21868             :     outputFormatObj *result = 0 ;
   21869           0 :     dXSARGS;
   21870             :     
   21871           0 :     if ((items < 1) || (items > 1)) {
   21872           0 :       SWIG_croak("Usage: imageObj_format_get(self);");
   21873             :     }
   21874           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_imageObj, 0 |  0 );
   21875           0 :     if (!SWIG_IsOK(res1)) {
   21876           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imageObj_format_get" "', argument " "1"" of type '" "struct imageObj *""'"); 
   21877             :     }
   21878           0 :     arg1 = (struct imageObj *)(argp1);
   21879           0 :     result = (outputFormatObj *) ((arg1)->format);
   21880           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_outputFormatObj, 0 | SWIG_SHADOW); argvi++ ;
   21881             :     
   21882           0 :     XSRETURN(argvi);
   21883             :   fail:
   21884             :     
   21885           0 :     SWIG_croak_null();
   21886             :   }
   21887             : }
   21888             : 
   21889             : 
   21890           0 : XS(_wrap_new_imageObj) {
   21891             :   {
   21892             :     int arg1 ;
   21893             :     int arg2 ;
   21894             :     outputFormatObj *arg3 = (outputFormatObj *) NULL ;
   21895             :     char *arg4 = (char *) NULL ;
   21896             :     double arg5 = (double) MS_DEFAULT_RESOLUTION ;
   21897             :     double arg6 = (double) MS_DEFAULT_RESOLUTION ;
   21898             :     int val1 ;
   21899             :     int ecode1 = 0 ;
   21900             :     int val2 ;
   21901             :     int ecode2 = 0 ;
   21902           0 :     void *argp3 = 0 ;
   21903             :     int res3 = 0 ;
   21904             :     int res4 ;
   21905           0 :     char *buf4 = 0 ;
   21906           0 :     int alloc4 = 0 ;
   21907             :     double val5 ;
   21908             :     int ecode5 = 0 ;
   21909             :     double val6 ;
   21910             :     int ecode6 = 0 ;
   21911             :     int argvi = 0;
   21912             :     struct imageObj *result = 0 ;
   21913           0 :     dXSARGS;
   21914             :     
   21915           0 :     if ((items < 2) || (items > 6)) {
   21916           0 :       SWIG_croak("Usage: new_imageObj(width,height,input_format,file,resolution,defresolution);");
   21917             :     }
   21918           0 :     ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
   21919           0 :     if (!SWIG_IsOK(ecode1)) {
   21920           0 :       SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_imageObj" "', argument " "1"" of type '" "int""'");
   21921             :     } 
   21922           0 :     arg1 = (int)(val1);
   21923           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   21924           0 :     if (!SWIG_IsOK(ecode2)) {
   21925           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_imageObj" "', argument " "2"" of type '" "int""'");
   21926             :     } 
   21927           0 :     arg2 = (int)(val2);
   21928           0 :     if (items > 2) {
   21929           0 :       res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_outputFormatObj, 0 |  0 );
   21930           0 :       if (!SWIG_IsOK(res3)) {
   21931           0 :         SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_imageObj" "', argument " "3"" of type '" "outputFormatObj *""'"); 
   21932             :       }
   21933           0 :       arg3 = (outputFormatObj *)(argp3);
   21934             :     }
   21935           0 :     if (items > 3) {
   21936           0 :       res4 = SWIG_AsCharPtrAndSize(ST(3), &buf4, NULL, &alloc4);
   21937           0 :       if (!SWIG_IsOK(res4)) {
   21938           0 :         SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_imageObj" "', argument " "4"" of type '" "char const *""'");
   21939             :       }
   21940           0 :       arg4 = (char *)(buf4);
   21941             :     }
   21942           0 :     if (items > 4) {
   21943           0 :       ecode5 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
   21944           0 :       if (!SWIG_IsOK(ecode5)) {
   21945           0 :         SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_imageObj" "', argument " "5"" of type '" "double""'");
   21946             :       } 
   21947           0 :       arg5 = (double)(val5);
   21948             :     }
   21949           0 :     if (items > 5) {
   21950           0 :       ecode6 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(5), &val6);
   21951           0 :       if (!SWIG_IsOK(ecode6)) {
   21952           0 :         SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_imageObj" "', argument " "6"" of type '" "double""'");
   21953             :       } 
   21954           0 :       arg6 = (double)(val6);
   21955             :     }
   21956           0 :     result = (struct imageObj *)new_imageObj(arg1,arg2,arg3,(char const *)arg4,arg5,arg6);
   21957           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_imageObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   21958             :     
   21959             :     
   21960             :     
   21961           0 :     if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
   21962             :     
   21963             :     
   21964           0 :     XSRETURN(argvi);
   21965             :   fail:
   21966             :     
   21967             :     
   21968             :     
   21969           0 :     if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
   21970             :     
   21971             :     
   21972           0 :     SWIG_croak_null();
   21973             :   }
   21974             : }
   21975             : 
   21976             : 
   21977           0 : XS(_wrap_delete_imageObj) {
   21978             :   {
   21979             :     struct imageObj *arg1 = (struct imageObj *) 0 ;
   21980           0 :     void *argp1 = 0 ;
   21981             :     int res1 = 0 ;
   21982             :     int argvi = 0;
   21983           0 :     dXSARGS;
   21984             :     
   21985           0 :     if ((items < 1) || (items > 1)) {
   21986           0 :       SWIG_croak("Usage: delete_imageObj(self);");
   21987             :     }
   21988           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_imageObj, SWIG_POINTER_DISOWN |  0 );
   21989           0 :     if (!SWIG_IsOK(res1)) {
   21990           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_imageObj" "', argument " "1"" of type '" "struct imageObj *""'"); 
   21991             :     }
   21992           0 :     arg1 = (struct imageObj *)(argp1);
   21993             :     delete_imageObj(arg1);
   21994           0 :     ST(argvi) = sv_newmortal();
   21995             :     
   21996           0 :     XSRETURN(argvi);
   21997             :   fail:
   21998             :     
   21999           0 :     SWIG_croak_null();
   22000             :   }
   22001             : }
   22002             : 
   22003             : 
   22004           0 : XS(_wrap_imageObj_save) {
   22005             :   {
   22006             :     struct imageObj *arg1 = (struct imageObj *) 0 ;
   22007             :     char *arg2 = (char *) 0 ;
   22008             :     mapObj *arg3 = (mapObj *) NULL ;
   22009           0 :     void *argp1 = 0 ;
   22010             :     int res1 = 0 ;
   22011             :     int res2 ;
   22012           0 :     char *buf2 = 0 ;
   22013           0 :     int alloc2 = 0 ;
   22014           0 :     void *argp3 = 0 ;
   22015             :     int res3 = 0 ;
   22016             :     int argvi = 0;
   22017           0 :     dXSARGS;
   22018             :     
   22019           0 :     if ((items < 2) || (items > 3)) {
   22020           0 :       SWIG_croak("Usage: imageObj_save(self,filename,map);");
   22021             :     }
   22022           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_imageObj, 0 |  0 );
   22023           0 :     if (!SWIG_IsOK(res1)) {
   22024           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imageObj_save" "', argument " "1"" of type '" "struct imageObj *""'"); 
   22025             :     }
   22026           0 :     arg1 = (struct imageObj *)(argp1);
   22027           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   22028           0 :     if (!SWIG_IsOK(res2)) {
   22029           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "imageObj_save" "', argument " "2"" of type '" "char *""'");
   22030             :     }
   22031           0 :     arg2 = (char *)(buf2);
   22032           0 :     if (items > 2) {
   22033           0 :       res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_mapObj, 0 |  0 );
   22034           0 :       if (!SWIG_IsOK(res3)) {
   22035           0 :         SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "imageObj_save" "', argument " "3"" of type '" "mapObj *""'"); 
   22036             :       }
   22037           0 :       arg3 = (mapObj *)(argp3);
   22038             :     }
   22039             :     imageObj_save(arg1,arg2,arg3);
   22040           0 :     ST(argvi) = sv_newmortal();
   22041             :     
   22042           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   22043             :     
   22044           0 :     XSRETURN(argvi);
   22045             :   fail:
   22046             :     
   22047           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   22048             :     
   22049           0 :     SWIG_croak_null();
   22050             :   }
   22051             : }
   22052             : 
   22053             : 
   22054           0 : XS(_wrap_imageObj_write) {
   22055             :   {
   22056             :     struct imageObj *arg1 = (struct imageObj *) 0 ;
   22057             :     FILE *arg2 = (FILE *) NULL ;
   22058           0 :     void *argp1 = 0 ;
   22059             :     int res1 = 0 ;
   22060             :     int argvi = 0;
   22061             :     int result;
   22062           0 :     dXSARGS;
   22063             :     
   22064           0 :     if ((items < 1) || (items > 2)) {
   22065           0 :       SWIG_croak("Usage: imageObj_write(self,file);");
   22066             :     }
   22067           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_imageObj, 0 |  0 );
   22068           0 :     if (!SWIG_IsOK(res1)) {
   22069           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imageObj_write" "', argument " "1"" of type '" "struct imageObj *""'"); 
   22070             :     }
   22071           0 :     arg1 = (struct imageObj *)(argp1);
   22072           0 :     if (items > 1) {
   22073             :       {
   22074           0 :         arg2 = PerlIO_exportFILE (IoIFP (sv_2io (ST(1))), NULL);
   22075             :       }
   22076             :     }
   22077           0 :     result = (int)imageObj_write(arg1,arg2);
   22078           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   22079             :     
   22080             :     
   22081           0 :     XSRETURN(argvi);
   22082             :   fail:
   22083             :     
   22084             :     
   22085           0 :     SWIG_croak_null();
   22086             :   }
   22087             : }
   22088             : 
   22089             : 
   22090           0 : XS(_wrap_imageObj_getBytes) {
   22091             :   {
   22092             :     struct imageObj *arg1 = (struct imageObj *) 0 ;
   22093           0 :     void *argp1 = 0 ;
   22094             :     int res1 = 0 ;
   22095             :     int argvi = 0;
   22096             :     gdBuffer result;
   22097           0 :     dXSARGS;
   22098             :     
   22099           0 :     if ((items < 1) || (items > 1)) {
   22100           0 :       SWIG_croak("Usage: imageObj_getBytes(self);");
   22101             :     }
   22102           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_imageObj, 0 |  0 );
   22103           0 :     if (!SWIG_IsOK(res1)) {
   22104           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imageObj_getBytes" "', argument " "1"" of type '" "struct imageObj *""'"); 
   22105             :     }
   22106           0 :     arg1 = (struct imageObj *)(argp1);
   22107           0 :     result = imageObj_getBytes(arg1);
   22108             :     {
   22109             :       SV *mysv;
   22110           0 :       mysv = sv_newmortal();
   22111           0 :       if ((&result)->data == NULL)
   22112           0 :       sv_setpv(mysv,"");
   22113             :       else
   22114           0 :       sv_setpvn(mysv,(const char*)(&result)->data,(&result)->size);
   22115           0 :       ST(argvi) = newRV(mysv);
   22116           0 :       sv_2mortal(ST(argvi));
   22117             :       argvi++;
   22118           0 :       if( (&result)->owns_data )
   22119           0 :       msFree((&result)->data);
   22120             :     }
   22121             :     
   22122           0 :     XSRETURN(argvi);
   22123             :   fail:
   22124             :     
   22125           0 :     SWIG_croak_null();
   22126             :   }
   22127             : }
   22128             : 
   22129             : 
   22130           0 : XS(_wrap_imageObj_getSize) {
   22131             :   {
   22132             :     struct imageObj *arg1 = (struct imageObj *) 0 ;
   22133           0 :     void *argp1 = 0 ;
   22134             :     int res1 = 0 ;
   22135             :     int argvi = 0;
   22136             :     int result;
   22137           0 :     dXSARGS;
   22138             :     
   22139           0 :     if ((items < 1) || (items > 1)) {
   22140           0 :       SWIG_croak("Usage: imageObj_getSize(self);");
   22141             :     }
   22142           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_imageObj, 0 |  0 );
   22143           0 :     if (!SWIG_IsOK(res1)) {
   22144           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imageObj_getSize" "', argument " "1"" of type '" "struct imageObj *""'"); 
   22145             :     }
   22146           0 :     arg1 = (struct imageObj *)(argp1);
   22147           0 :     result = (int)imageObj_getSize(arg1);
   22148           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   22149             :     
   22150           0 :     XSRETURN(argvi);
   22151             :   fail:
   22152             :     
   22153           0 :     SWIG_croak_null();
   22154             :   }
   22155             : }
   22156             : 
   22157             : 
   22158           0 : XS(_wrap_scaleTokenEntryObj_minscale_set) {
   22159             :   {
   22160             :     scaleTokenEntryObj *arg1 = (scaleTokenEntryObj *) 0 ;
   22161             :     double arg2 ;
   22162           0 :     void *argp1 = 0 ;
   22163             :     int res1 = 0 ;
   22164             :     double val2 ;
   22165             :     int ecode2 = 0 ;
   22166             :     int argvi = 0;
   22167           0 :     dXSARGS;
   22168             :     
   22169           0 :     if ((items < 2) || (items > 2)) {
   22170           0 :       SWIG_croak("Usage: scaleTokenEntryObj_minscale_set(self,minscale);");
   22171             :     }
   22172           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenEntryObj, 0 |  0 );
   22173           0 :     if (!SWIG_IsOK(res1)) {
   22174           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scaleTokenEntryObj_minscale_set" "', argument " "1"" of type '" "scaleTokenEntryObj *""'"); 
   22175             :     }
   22176           0 :     arg1 = (scaleTokenEntryObj *)(argp1);
   22177           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   22178           0 :     if (!SWIG_IsOK(ecode2)) {
   22179           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scaleTokenEntryObj_minscale_set" "', argument " "2"" of type '" "double""'");
   22180             :     } 
   22181           0 :     arg2 = (double)(val2);
   22182           0 :     if (arg1) (arg1)->minscale = arg2;
   22183           0 :     ST(argvi) = sv_newmortal();
   22184             :     
   22185             :     
   22186           0 :     XSRETURN(argvi);
   22187             :   fail:
   22188             :     
   22189             :     
   22190           0 :     SWIG_croak_null();
   22191             :   }
   22192             : }
   22193             : 
   22194             : 
   22195           0 : XS(_wrap_scaleTokenEntryObj_minscale_get) {
   22196             :   {
   22197             :     scaleTokenEntryObj *arg1 = (scaleTokenEntryObj *) 0 ;
   22198           0 :     void *argp1 = 0 ;
   22199             :     int res1 = 0 ;
   22200             :     int argvi = 0;
   22201             :     double result;
   22202           0 :     dXSARGS;
   22203             :     
   22204           0 :     if ((items < 1) || (items > 1)) {
   22205           0 :       SWIG_croak("Usage: scaleTokenEntryObj_minscale_get(self);");
   22206             :     }
   22207           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenEntryObj, 0 |  0 );
   22208           0 :     if (!SWIG_IsOK(res1)) {
   22209           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scaleTokenEntryObj_minscale_get" "', argument " "1"" of type '" "scaleTokenEntryObj *""'"); 
   22210             :     }
   22211           0 :     arg1 = (scaleTokenEntryObj *)(argp1);
   22212           0 :     result = (double) ((arg1)->minscale);
   22213           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   22214             :     
   22215           0 :     XSRETURN(argvi);
   22216             :   fail:
   22217             :     
   22218           0 :     SWIG_croak_null();
   22219             :   }
   22220             : }
   22221             : 
   22222             : 
   22223           0 : XS(_wrap_scaleTokenEntryObj_maxscale_set) {
   22224             :   {
   22225             :     scaleTokenEntryObj *arg1 = (scaleTokenEntryObj *) 0 ;
   22226             :     double arg2 ;
   22227           0 :     void *argp1 = 0 ;
   22228             :     int res1 = 0 ;
   22229             :     double val2 ;
   22230             :     int ecode2 = 0 ;
   22231             :     int argvi = 0;
   22232           0 :     dXSARGS;
   22233             :     
   22234           0 :     if ((items < 2) || (items > 2)) {
   22235           0 :       SWIG_croak("Usage: scaleTokenEntryObj_maxscale_set(self,maxscale);");
   22236             :     }
   22237           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenEntryObj, 0 |  0 );
   22238           0 :     if (!SWIG_IsOK(res1)) {
   22239           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scaleTokenEntryObj_maxscale_set" "', argument " "1"" of type '" "scaleTokenEntryObj *""'"); 
   22240             :     }
   22241           0 :     arg1 = (scaleTokenEntryObj *)(argp1);
   22242           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   22243           0 :     if (!SWIG_IsOK(ecode2)) {
   22244           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scaleTokenEntryObj_maxscale_set" "', argument " "2"" of type '" "double""'");
   22245             :     } 
   22246           0 :     arg2 = (double)(val2);
   22247           0 :     if (arg1) (arg1)->maxscale = arg2;
   22248           0 :     ST(argvi) = sv_newmortal();
   22249             :     
   22250             :     
   22251           0 :     XSRETURN(argvi);
   22252             :   fail:
   22253             :     
   22254             :     
   22255           0 :     SWIG_croak_null();
   22256             :   }
   22257             : }
   22258             : 
   22259             : 
   22260           0 : XS(_wrap_scaleTokenEntryObj_maxscale_get) {
   22261             :   {
   22262             :     scaleTokenEntryObj *arg1 = (scaleTokenEntryObj *) 0 ;
   22263           0 :     void *argp1 = 0 ;
   22264             :     int res1 = 0 ;
   22265             :     int argvi = 0;
   22266             :     double result;
   22267           0 :     dXSARGS;
   22268             :     
   22269           0 :     if ((items < 1) || (items > 1)) {
   22270           0 :       SWIG_croak("Usage: scaleTokenEntryObj_maxscale_get(self);");
   22271             :     }
   22272           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenEntryObj, 0 |  0 );
   22273           0 :     if (!SWIG_IsOK(res1)) {
   22274           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scaleTokenEntryObj_maxscale_get" "', argument " "1"" of type '" "scaleTokenEntryObj *""'"); 
   22275             :     }
   22276           0 :     arg1 = (scaleTokenEntryObj *)(argp1);
   22277           0 :     result = (double) ((arg1)->maxscale);
   22278           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   22279             :     
   22280           0 :     XSRETURN(argvi);
   22281             :   fail:
   22282             :     
   22283           0 :     SWIG_croak_null();
   22284             :   }
   22285             : }
   22286             : 
   22287             : 
   22288           0 : XS(_wrap_scaleTokenEntryObj_value_set) {
   22289             :   {
   22290             :     scaleTokenEntryObj *arg1 = (scaleTokenEntryObj *) 0 ;
   22291             :     char *arg2 = (char *) 0 ;
   22292           0 :     void *argp1 = 0 ;
   22293             :     int res1 = 0 ;
   22294             :     int res2 ;
   22295           0 :     char *buf2 = 0 ;
   22296           0 :     int alloc2 = 0 ;
   22297             :     int argvi = 0;
   22298           0 :     dXSARGS;
   22299             :     
   22300           0 :     if ((items < 2) || (items > 2)) {
   22301           0 :       SWIG_croak("Usage: scaleTokenEntryObj_value_set(self,value);");
   22302             :     }
   22303           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenEntryObj, 0 |  0 );
   22304           0 :     if (!SWIG_IsOK(res1)) {
   22305           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scaleTokenEntryObj_value_set" "', argument " "1"" of type '" "scaleTokenEntryObj *""'"); 
   22306             :     }
   22307           0 :     arg1 = (scaleTokenEntryObj *)(argp1);
   22308           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   22309           0 :     if (!SWIG_IsOK(res2)) {
   22310           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "scaleTokenEntryObj_value_set" "', argument " "2"" of type '" "char *""'");
   22311             :     }
   22312           0 :     arg2 = (char *)(buf2);
   22313             :     {
   22314           0 :       if (arg1->value) free((char*)arg1->value);
   22315           0 :       if (arg2) {
   22316           0 :         arg1->value = (char *) malloc(strlen(arg2)+1);
   22317             :         strcpy((char*)arg1->value,arg2);
   22318             :       } else {
   22319           0 :         arg1->value = 0;
   22320             :       }
   22321             :     }
   22322           0 :     ST(argvi) = sv_newmortal();
   22323             :     
   22324           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   22325           0 :     XSRETURN(argvi);
   22326             :   fail:
   22327             :     
   22328           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   22329           0 :     SWIG_croak_null();
   22330             :   }
   22331             : }
   22332             : 
   22333             : 
   22334           0 : XS(_wrap_scaleTokenEntryObj_value_get) {
   22335             :   {
   22336             :     scaleTokenEntryObj *arg1 = (scaleTokenEntryObj *) 0 ;
   22337           0 :     void *argp1 = 0 ;
   22338             :     int res1 = 0 ;
   22339             :     int argvi = 0;
   22340             :     char *result = 0 ;
   22341           0 :     dXSARGS;
   22342             :     
   22343           0 :     if ((items < 1) || (items > 1)) {
   22344           0 :       SWIG_croak("Usage: scaleTokenEntryObj_value_get(self);");
   22345             :     }
   22346           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenEntryObj, 0 |  0 );
   22347           0 :     if (!SWIG_IsOK(res1)) {
   22348           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scaleTokenEntryObj_value_get" "', argument " "1"" of type '" "scaleTokenEntryObj *""'"); 
   22349             :     }
   22350           0 :     arg1 = (scaleTokenEntryObj *)(argp1);
   22351           0 :     result = (char *) ((arg1)->value);
   22352           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   22353             :     
   22354           0 :     XSRETURN(argvi);
   22355             :   fail:
   22356             :     
   22357           0 :     SWIG_croak_null();
   22358             :   }
   22359             : }
   22360             : 
   22361             : 
   22362           0 : XS(_wrap_new_scaleTokenEntryObj) {
   22363             :   {
   22364             :     int argvi = 0;
   22365             :     scaleTokenEntryObj *result = 0 ;
   22366           0 :     dXSARGS;
   22367             :     
   22368           0 :     if ((items < 0) || (items > 0)) {
   22369           0 :       SWIG_croak("Usage: new_scaleTokenEntryObj();");
   22370             :     }
   22371           0 :     result = (scaleTokenEntryObj *)calloc(1, sizeof(scaleTokenEntryObj));
   22372           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_scaleTokenEntryObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   22373           0 :     XSRETURN(argvi);
   22374             :   fail:
   22375           0 :     SWIG_croak_null();
   22376             :   }
   22377             : }
   22378             : 
   22379             : 
   22380           0 : XS(_wrap_delete_scaleTokenEntryObj) {
   22381             :   {
   22382             :     scaleTokenEntryObj *arg1 = (scaleTokenEntryObj *) 0 ;
   22383           0 :     void *argp1 = 0 ;
   22384             :     int res1 = 0 ;
   22385             :     int argvi = 0;
   22386           0 :     dXSARGS;
   22387             :     
   22388           0 :     if ((items < 1) || (items > 1)) {
   22389           0 :       SWIG_croak("Usage: delete_scaleTokenEntryObj(self);");
   22390             :     }
   22391           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenEntryObj, SWIG_POINTER_DISOWN |  0 );
   22392           0 :     if (!SWIG_IsOK(res1)) {
   22393           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_scaleTokenEntryObj" "', argument " "1"" of type '" "scaleTokenEntryObj *""'"); 
   22394             :     }
   22395           0 :     arg1 = (scaleTokenEntryObj *)(argp1);
   22396           0 :     free((char *) arg1);
   22397           0 :     ST(argvi) = sv_newmortal();
   22398             :     
   22399           0 :     XSRETURN(argvi);
   22400             :   fail:
   22401             :     
   22402           0 :     SWIG_croak_null();
   22403             :   }
   22404             : }
   22405             : 
   22406             : 
   22407           0 : XS(_wrap_scaleTokenObj_name_set) {
   22408             :   {
   22409             :     scaleTokenObj *arg1 = (scaleTokenObj *) 0 ;
   22410             :     char *arg2 = (char *) 0 ;
   22411           0 :     void *argp1 = 0 ;
   22412             :     int res1 = 0 ;
   22413             :     int res2 ;
   22414           0 :     char *buf2 = 0 ;
   22415           0 :     int alloc2 = 0 ;
   22416             :     int argvi = 0;
   22417           0 :     dXSARGS;
   22418             :     
   22419           0 :     if ((items < 2) || (items > 2)) {
   22420           0 :       SWIG_croak("Usage: scaleTokenObj_name_set(self,name);");
   22421             :     }
   22422           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenObj, 0 |  0 );
   22423           0 :     if (!SWIG_IsOK(res1)) {
   22424           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scaleTokenObj_name_set" "', argument " "1"" of type '" "scaleTokenObj *""'"); 
   22425             :     }
   22426           0 :     arg1 = (scaleTokenObj *)(argp1);
   22427           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   22428           0 :     if (!SWIG_IsOK(res2)) {
   22429           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "scaleTokenObj_name_set" "', argument " "2"" of type '" "char *""'");
   22430             :     }
   22431           0 :     arg2 = (char *)(buf2);
   22432             :     {
   22433           0 :       if (arg1->name) free((char*)arg1->name);
   22434           0 :       if (arg2) {
   22435           0 :         arg1->name = (char *) malloc(strlen(arg2)+1);
   22436             :         strcpy((char*)arg1->name,arg2);
   22437             :       } else {
   22438           0 :         arg1->name = 0;
   22439             :       }
   22440             :     }
   22441           0 :     ST(argvi) = sv_newmortal();
   22442             :     
   22443           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   22444           0 :     XSRETURN(argvi);
   22445             :   fail:
   22446             :     
   22447           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   22448           0 :     SWIG_croak_null();
   22449             :   }
   22450             : }
   22451             : 
   22452             : 
   22453           0 : XS(_wrap_scaleTokenObj_name_get) {
   22454             :   {
   22455             :     scaleTokenObj *arg1 = (scaleTokenObj *) 0 ;
   22456           0 :     void *argp1 = 0 ;
   22457             :     int res1 = 0 ;
   22458             :     int argvi = 0;
   22459             :     char *result = 0 ;
   22460           0 :     dXSARGS;
   22461             :     
   22462           0 :     if ((items < 1) || (items > 1)) {
   22463           0 :       SWIG_croak("Usage: scaleTokenObj_name_get(self);");
   22464             :     }
   22465           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenObj, 0 |  0 );
   22466           0 :     if (!SWIG_IsOK(res1)) {
   22467           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scaleTokenObj_name_get" "', argument " "1"" of type '" "scaleTokenObj *""'"); 
   22468             :     }
   22469           0 :     arg1 = (scaleTokenObj *)(argp1);
   22470           0 :     result = (char *) ((arg1)->name);
   22471           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   22472             :     
   22473           0 :     XSRETURN(argvi);
   22474             :   fail:
   22475             :     
   22476           0 :     SWIG_croak_null();
   22477             :   }
   22478             : }
   22479             : 
   22480             : 
   22481           0 : XS(_wrap_scaleTokenObj_n_entries_set) {
   22482             :   {
   22483             :     scaleTokenObj *arg1 = (scaleTokenObj *) 0 ;
   22484             :     int arg2 ;
   22485           0 :     void *argp1 = 0 ;
   22486             :     int res1 = 0 ;
   22487             :     int val2 ;
   22488             :     int ecode2 = 0 ;
   22489             :     int argvi = 0;
   22490           0 :     dXSARGS;
   22491             :     
   22492           0 :     if ((items < 2) || (items > 2)) {
   22493           0 :       SWIG_croak("Usage: scaleTokenObj_n_entries_set(self,n_entries);");
   22494             :     }
   22495           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenObj, 0 |  0 );
   22496           0 :     if (!SWIG_IsOK(res1)) {
   22497           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scaleTokenObj_n_entries_set" "', argument " "1"" of type '" "scaleTokenObj *""'"); 
   22498             :     }
   22499           0 :     arg1 = (scaleTokenObj *)(argp1);
   22500           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   22501           0 :     if (!SWIG_IsOK(ecode2)) {
   22502           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scaleTokenObj_n_entries_set" "', argument " "2"" of type '" "int""'");
   22503             :     } 
   22504           0 :     arg2 = (int)(val2);
   22505           0 :     if (arg1) (arg1)->n_entries = arg2;
   22506           0 :     ST(argvi) = sv_newmortal();
   22507             :     
   22508             :     
   22509           0 :     XSRETURN(argvi);
   22510             :   fail:
   22511             :     
   22512             :     
   22513           0 :     SWIG_croak_null();
   22514             :   }
   22515             : }
   22516             : 
   22517             : 
   22518           0 : XS(_wrap_scaleTokenObj_n_entries_get) {
   22519             :   {
   22520             :     scaleTokenObj *arg1 = (scaleTokenObj *) 0 ;
   22521           0 :     void *argp1 = 0 ;
   22522             :     int res1 = 0 ;
   22523             :     int argvi = 0;
   22524             :     int result;
   22525           0 :     dXSARGS;
   22526             :     
   22527           0 :     if ((items < 1) || (items > 1)) {
   22528           0 :       SWIG_croak("Usage: scaleTokenObj_n_entries_get(self);");
   22529             :     }
   22530           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenObj, 0 |  0 );
   22531           0 :     if (!SWIG_IsOK(res1)) {
   22532           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scaleTokenObj_n_entries_get" "', argument " "1"" of type '" "scaleTokenObj *""'"); 
   22533             :     }
   22534           0 :     arg1 = (scaleTokenObj *)(argp1);
   22535           0 :     result = (int) ((arg1)->n_entries);
   22536           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   22537             :     
   22538           0 :     XSRETURN(argvi);
   22539             :   fail:
   22540             :     
   22541           0 :     SWIG_croak_null();
   22542             :   }
   22543             : }
   22544             : 
   22545             : 
   22546           0 : XS(_wrap_scaleTokenObj_tokens_set) {
   22547             :   {
   22548             :     scaleTokenObj *arg1 = (scaleTokenObj *) 0 ;
   22549             :     scaleTokenEntryObj *arg2 = (scaleTokenEntryObj *) 0 ;
   22550           0 :     void *argp1 = 0 ;
   22551             :     int res1 = 0 ;
   22552           0 :     void *argp2 = 0 ;
   22553             :     int res2 = 0 ;
   22554             :     int argvi = 0;
   22555           0 :     dXSARGS;
   22556             :     
   22557           0 :     if ((items < 2) || (items > 2)) {
   22558           0 :       SWIG_croak("Usage: scaleTokenObj_tokens_set(self,tokens);");
   22559             :     }
   22560           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenObj, 0 |  0 );
   22561           0 :     if (!SWIG_IsOK(res1)) {
   22562           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scaleTokenObj_tokens_set" "', argument " "1"" of type '" "scaleTokenObj *""'"); 
   22563             :     }
   22564           0 :     arg1 = (scaleTokenObj *)(argp1);
   22565           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_scaleTokenEntryObj, SWIG_POINTER_DISOWN |  0 );
   22566           0 :     if (!SWIG_IsOK(res2)) {
   22567           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "scaleTokenObj_tokens_set" "', argument " "2"" of type '" "scaleTokenEntryObj *""'"); 
   22568             :     }
   22569           0 :     arg2 = (scaleTokenEntryObj *)(argp2);
   22570           0 :     if (arg1) (arg1)->tokens = arg2;
   22571           0 :     ST(argvi) = sv_newmortal();
   22572             :     
   22573             :     
   22574           0 :     XSRETURN(argvi);
   22575             :   fail:
   22576             :     
   22577             :     
   22578           0 :     SWIG_croak_null();
   22579             :   }
   22580             : }
   22581             : 
   22582             : 
   22583           0 : XS(_wrap_scaleTokenObj_tokens_get) {
   22584             :   {
   22585             :     scaleTokenObj *arg1 = (scaleTokenObj *) 0 ;
   22586           0 :     void *argp1 = 0 ;
   22587             :     int res1 = 0 ;
   22588             :     int argvi = 0;
   22589             :     scaleTokenEntryObj *result = 0 ;
   22590           0 :     dXSARGS;
   22591             :     
   22592           0 :     if ((items < 1) || (items > 1)) {
   22593           0 :       SWIG_croak("Usage: scaleTokenObj_tokens_get(self);");
   22594             :     }
   22595           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenObj, 0 |  0 );
   22596           0 :     if (!SWIG_IsOK(res1)) {
   22597           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scaleTokenObj_tokens_get" "', argument " "1"" of type '" "scaleTokenObj *""'"); 
   22598             :     }
   22599           0 :     arg1 = (scaleTokenObj *)(argp1);
   22600           0 :     result = (scaleTokenEntryObj *) ((arg1)->tokens);
   22601           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_scaleTokenEntryObj, 0 | SWIG_SHADOW); argvi++ ;
   22602             :     
   22603           0 :     XSRETURN(argvi);
   22604             :   fail:
   22605             :     
   22606           0 :     SWIG_croak_null();
   22607             :   }
   22608             : }
   22609             : 
   22610             : 
   22611           0 : XS(_wrap_new_scaleTokenObj) {
   22612             :   {
   22613             :     int argvi = 0;
   22614             :     scaleTokenObj *result = 0 ;
   22615           0 :     dXSARGS;
   22616             :     
   22617           0 :     if ((items < 0) || (items > 0)) {
   22618           0 :       SWIG_croak("Usage: new_scaleTokenObj();");
   22619             :     }
   22620           0 :     result = (scaleTokenObj *)calloc(1, sizeof(scaleTokenObj));
   22621           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_scaleTokenObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   22622           0 :     XSRETURN(argvi);
   22623             :   fail:
   22624           0 :     SWIG_croak_null();
   22625             :   }
   22626             : }
   22627             : 
   22628             : 
   22629           0 : XS(_wrap_delete_scaleTokenObj) {
   22630             :   {
   22631             :     scaleTokenObj *arg1 = (scaleTokenObj *) 0 ;
   22632           0 :     void *argp1 = 0 ;
   22633             :     int res1 = 0 ;
   22634             :     int argvi = 0;
   22635           0 :     dXSARGS;
   22636             :     
   22637           0 :     if ((items < 1) || (items > 1)) {
   22638           0 :       SWIG_croak("Usage: delete_scaleTokenObj(self);");
   22639             :     }
   22640           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenObj, SWIG_POINTER_DISOWN |  0 );
   22641           0 :     if (!SWIG_IsOK(res1)) {
   22642           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_scaleTokenObj" "', argument " "1"" of type '" "scaleTokenObj *""'"); 
   22643             :     }
   22644           0 :     arg1 = (scaleTokenObj *)(argp1);
   22645           0 :     free((char *) arg1);
   22646           0 :     ST(argvi) = sv_newmortal();
   22647             :     
   22648           0 :     XSRETURN(argvi);
   22649             :   fail:
   22650             :     
   22651           0 :     SWIG_croak_null();
   22652             :   }
   22653             : }
   22654             : 
   22655             : 
   22656           0 : XS(_wrap_layerObj_classitem_set) {
   22657             :   {
   22658             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   22659             :     char *arg2 = (char *) 0 ;
   22660           0 :     void *argp1 = 0 ;
   22661             :     int res1 = 0 ;
   22662             :     int res2 ;
   22663           0 :     char *buf2 = 0 ;
   22664           0 :     int alloc2 = 0 ;
   22665             :     int argvi = 0;
   22666           0 :     dXSARGS;
   22667             :     
   22668           0 :     if ((items < 2) || (items > 2)) {
   22669           0 :       SWIG_croak("Usage: layerObj_classitem_set(self,classitem);");
   22670             :     }
   22671           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   22672           0 :     if (!SWIG_IsOK(res1)) {
   22673           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_classitem_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   22674             :     }
   22675           0 :     arg1 = (struct layerObj *)(argp1);
   22676           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   22677           0 :     if (!SWIG_IsOK(res2)) {
   22678           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_classitem_set" "', argument " "2"" of type '" "char *""'");
   22679             :     }
   22680           0 :     arg2 = (char *)(buf2);
   22681             :     {
   22682           0 :       if (arg1->classitem) free((char*)arg1->classitem);
   22683           0 :       if (arg2) {
   22684           0 :         arg1->classitem = (char *) malloc(strlen(arg2)+1);
   22685             :         strcpy((char*)arg1->classitem,arg2);
   22686             :       } else {
   22687           0 :         arg1->classitem = 0;
   22688             :       }
   22689             :     }
   22690           0 :     ST(argvi) = sv_newmortal();
   22691             :     
   22692           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   22693           0 :     XSRETURN(argvi);
   22694             :   fail:
   22695             :     
   22696           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   22697           0 :     SWIG_croak_null();
   22698             :   }
   22699             : }
   22700             : 
   22701             : 
   22702           0 : XS(_wrap_layerObj_classitem_get) {
   22703             :   {
   22704             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   22705           0 :     void *argp1 = 0 ;
   22706             :     int res1 = 0 ;
   22707             :     int argvi = 0;
   22708             :     char *result = 0 ;
   22709           0 :     dXSARGS;
   22710             :     
   22711           0 :     if ((items < 1) || (items > 1)) {
   22712           0 :       SWIG_croak("Usage: layerObj_classitem_get(self);");
   22713             :     }
   22714           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   22715           0 :     if (!SWIG_IsOK(res1)) {
   22716           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_classitem_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   22717             :     }
   22718           0 :     arg1 = (struct layerObj *)(argp1);
   22719           0 :     result = (char *) ((arg1)->classitem);
   22720           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   22721             :     
   22722           0 :     XSRETURN(argvi);
   22723             :   fail:
   22724             :     
   22725           0 :     SWIG_croak_null();
   22726             :   }
   22727             : }
   22728             : 
   22729             : 
   22730           0 : XS(_wrap_layerObj_refcount_get) {
   22731             :   {
   22732             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   22733           0 :     void *argp1 = 0 ;
   22734             :     int res1 = 0 ;
   22735             :     int argvi = 0;
   22736             :     int result;
   22737           0 :     dXSARGS;
   22738             :     
   22739           0 :     if ((items < 1) || (items > 1)) {
   22740           0 :       SWIG_croak("Usage: layerObj_refcount_get(self);");
   22741             :     }
   22742           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   22743           0 :     if (!SWIG_IsOK(res1)) {
   22744           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_refcount_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   22745             :     }
   22746           0 :     arg1 = (struct layerObj *)(argp1);
   22747           0 :     result = (int) ((arg1)->refcount);
   22748           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   22749             :     
   22750           0 :     XSRETURN(argvi);
   22751             :   fail:
   22752             :     
   22753           0 :     SWIG_croak_null();
   22754             :   }
   22755             : }
   22756             : 
   22757             : 
   22758           0 : XS(_wrap_layerObj_numclasses_get) {
   22759             :   {
   22760             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   22761           0 :     void *argp1 = 0 ;
   22762             :     int res1 = 0 ;
   22763             :     int argvi = 0;
   22764             :     int result;
   22765           0 :     dXSARGS;
   22766             :     
   22767           0 :     if ((items < 1) || (items > 1)) {
   22768           0 :       SWIG_croak("Usage: layerObj_numclasses_get(self);");
   22769             :     }
   22770           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   22771           0 :     if (!SWIG_IsOK(res1)) {
   22772           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_numclasses_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   22773             :     }
   22774           0 :     arg1 = (struct layerObj *)(argp1);
   22775           0 :     result = (int) ((arg1)->numclasses);
   22776           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   22777             :     
   22778           0 :     XSRETURN(argvi);
   22779             :   fail:
   22780             :     
   22781           0 :     SWIG_croak_null();
   22782             :   }
   22783             : }
   22784             : 
   22785             : 
   22786           0 : XS(_wrap_layerObj_maxclasses_get) {
   22787             :   {
   22788             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   22789           0 :     void *argp1 = 0 ;
   22790             :     int res1 = 0 ;
   22791             :     int argvi = 0;
   22792             :     int result;
   22793           0 :     dXSARGS;
   22794             :     
   22795           0 :     if ((items < 1) || (items > 1)) {
   22796           0 :       SWIG_croak("Usage: layerObj_maxclasses_get(self);");
   22797             :     }
   22798           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   22799           0 :     if (!SWIG_IsOK(res1)) {
   22800           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_maxclasses_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   22801             :     }
   22802           0 :     arg1 = (struct layerObj *)(argp1);
   22803           0 :     result = (int) ((arg1)->maxclasses);
   22804           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   22805             :     
   22806           0 :     XSRETURN(argvi);
   22807             :   fail:
   22808             :     
   22809           0 :     SWIG_croak_null();
   22810             :   }
   22811             : }
   22812             : 
   22813             : 
   22814           0 : XS(_wrap_layerObj_index_get) {
   22815             :   {
   22816             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   22817           0 :     void *argp1 = 0 ;
   22818             :     int res1 = 0 ;
   22819             :     int argvi = 0;
   22820             :     int result;
   22821           0 :     dXSARGS;
   22822             :     
   22823           0 :     if ((items < 1) || (items > 1)) {
   22824           0 :       SWIG_croak("Usage: layerObj_index_get(self);");
   22825             :     }
   22826           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   22827           0 :     if (!SWIG_IsOK(res1)) {
   22828           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_index_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   22829             :     }
   22830           0 :     arg1 = (struct layerObj *)(argp1);
   22831           0 :     result = (int) ((arg1)->index);
   22832           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   22833             :     
   22834           0 :     XSRETURN(argvi);
   22835             :   fail:
   22836             :     
   22837           0 :     SWIG_croak_null();
   22838             :   }
   22839             : }
   22840             : 
   22841             : 
   22842           1 : XS(_wrap_layerObj_map_get) {
   22843             :   {
   22844             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   22845           1 :     void *argp1 = 0 ;
   22846             :     int res1 = 0 ;
   22847             :     int argvi = 0;
   22848             :     struct mapObj *result = 0 ;
   22849           1 :     dXSARGS;
   22850             :     
   22851           1 :     if ((items < 1) || (items > 1)) {
   22852           0 :       SWIG_croak("Usage: layerObj_map_get(self);");
   22853             :     }
   22854           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   22855           1 :     if (!SWIG_IsOK(res1)) {
   22856           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_map_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   22857             :     }
   22858           1 :     arg1 = (struct layerObj *)(argp1);
   22859             :     {
   22860             :       /* Accessing map */
   22861           1 :       result = (struct mapObj *) ((arg1)->map);;
   22862           1 :       MS_REFCNT_INCR(result);
   22863             :     }
   22864           1 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mapObj, 0 | SWIG_SHADOW); argvi++ ;
   22865             :     
   22866           1 :     XSRETURN(argvi);
   22867             :   fail:
   22868             :     
   22869           0 :     SWIG_croak_null();
   22870             :   }
   22871             : }
   22872             : 
   22873             : 
   22874           0 : XS(_wrap_layerObj_header_set) {
   22875             :   {
   22876             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   22877             :     char *arg2 = (char *) 0 ;
   22878           0 :     void *argp1 = 0 ;
   22879             :     int res1 = 0 ;
   22880             :     int res2 ;
   22881           0 :     char *buf2 = 0 ;
   22882           0 :     int alloc2 = 0 ;
   22883             :     int argvi = 0;
   22884           0 :     dXSARGS;
   22885             :     
   22886           0 :     if ((items < 2) || (items > 2)) {
   22887           0 :       SWIG_croak("Usage: layerObj_header_set(self,header);");
   22888             :     }
   22889           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   22890           0 :     if (!SWIG_IsOK(res1)) {
   22891           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_header_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   22892             :     }
   22893           0 :     arg1 = (struct layerObj *)(argp1);
   22894           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   22895           0 :     if (!SWIG_IsOK(res2)) {
   22896           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_header_set" "', argument " "2"" of type '" "char *""'");
   22897             :     }
   22898           0 :     arg2 = (char *)(buf2);
   22899             :     {
   22900           0 :       if (arg1->header) free((char*)arg1->header);
   22901           0 :       if (arg2) {
   22902           0 :         arg1->header = (char *) malloc(strlen(arg2)+1);
   22903             :         strcpy((char*)arg1->header,arg2);
   22904             :       } else {
   22905           0 :         arg1->header = 0;
   22906             :       }
   22907             :     }
   22908           0 :     ST(argvi) = sv_newmortal();
   22909             :     
   22910           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   22911           0 :     XSRETURN(argvi);
   22912             :   fail:
   22913             :     
   22914           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   22915           0 :     SWIG_croak_null();
   22916             :   }
   22917             : }
   22918             : 
   22919             : 
   22920           0 : XS(_wrap_layerObj_header_get) {
   22921             :   {
   22922             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   22923           0 :     void *argp1 = 0 ;
   22924             :     int res1 = 0 ;
   22925             :     int argvi = 0;
   22926             :     char *result = 0 ;
   22927           0 :     dXSARGS;
   22928             :     
   22929           0 :     if ((items < 1) || (items > 1)) {
   22930           0 :       SWIG_croak("Usage: layerObj_header_get(self);");
   22931             :     }
   22932           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   22933           0 :     if (!SWIG_IsOK(res1)) {
   22934           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_header_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   22935             :     }
   22936           0 :     arg1 = (struct layerObj *)(argp1);
   22937           0 :     result = (char *) ((arg1)->header);
   22938           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   22939             :     
   22940           0 :     XSRETURN(argvi);
   22941             :   fail:
   22942             :     
   22943           0 :     SWIG_croak_null();
   22944             :   }
   22945             : }
   22946             : 
   22947             : 
   22948           0 : XS(_wrap_layerObj_footer_set) {
   22949             :   {
   22950             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   22951             :     char *arg2 = (char *) 0 ;
   22952           0 :     void *argp1 = 0 ;
   22953             :     int res1 = 0 ;
   22954             :     int res2 ;
   22955           0 :     char *buf2 = 0 ;
   22956           0 :     int alloc2 = 0 ;
   22957             :     int argvi = 0;
   22958           0 :     dXSARGS;
   22959             :     
   22960           0 :     if ((items < 2) || (items > 2)) {
   22961           0 :       SWIG_croak("Usage: layerObj_footer_set(self,footer);");
   22962             :     }
   22963           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   22964           0 :     if (!SWIG_IsOK(res1)) {
   22965           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_footer_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   22966             :     }
   22967           0 :     arg1 = (struct layerObj *)(argp1);
   22968           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   22969           0 :     if (!SWIG_IsOK(res2)) {
   22970           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_footer_set" "', argument " "2"" of type '" "char *""'");
   22971             :     }
   22972           0 :     arg2 = (char *)(buf2);
   22973             :     {
   22974           0 :       if (arg1->footer) free((char*)arg1->footer);
   22975           0 :       if (arg2) {
   22976           0 :         arg1->footer = (char *) malloc(strlen(arg2)+1);
   22977             :         strcpy((char*)arg1->footer,arg2);
   22978             :       } else {
   22979           0 :         arg1->footer = 0;
   22980             :       }
   22981             :     }
   22982           0 :     ST(argvi) = sv_newmortal();
   22983             :     
   22984           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   22985           0 :     XSRETURN(argvi);
   22986             :   fail:
   22987             :     
   22988           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   22989           0 :     SWIG_croak_null();
   22990             :   }
   22991             : }
   22992             : 
   22993             : 
   22994           0 : XS(_wrap_layerObj_footer_get) {
   22995             :   {
   22996             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   22997           0 :     void *argp1 = 0 ;
   22998             :     int res1 = 0 ;
   22999             :     int argvi = 0;
   23000             :     char *result = 0 ;
   23001           0 :     dXSARGS;
   23002             :     
   23003           0 :     if ((items < 1) || (items > 1)) {
   23004           0 :       SWIG_croak("Usage: layerObj_footer_get(self);");
   23005             :     }
   23006           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   23007           0 :     if (!SWIG_IsOK(res1)) {
   23008           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_footer_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   23009             :     }
   23010           0 :     arg1 = (struct layerObj *)(argp1);
   23011           0 :     result = (char *) ((arg1)->footer);
   23012           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   23013             :     
   23014           0 :     XSRETURN(argvi);
   23015             :   fail:
   23016             :     
   23017           0 :     SWIG_croak_null();
   23018             :   }
   23019             : }
   23020             : 
   23021             : 
   23022           0 : XS(_wrap_layerObj_template_set) {
   23023             :   {
   23024             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   23025             :     char *arg2 = (char *) 0 ;
   23026           0 :     void *argp1 = 0 ;
   23027             :     int res1 = 0 ;
   23028             :     int res2 ;
   23029           0 :     char *buf2 = 0 ;
   23030           0 :     int alloc2 = 0 ;
   23031             :     int argvi = 0;
   23032           0 :     dXSARGS;
   23033             :     
   23034           0 :     if ((items < 2) || (items > 2)) {
   23035           0 :       SWIG_croak("Usage: layerObj_template_set(self,template);");
   23036             :     }
   23037           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   23038           0 :     if (!SWIG_IsOK(res1)) {
   23039           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_template_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   23040             :     }
   23041           0 :     arg1 = (struct layerObj *)(argp1);
   23042           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   23043           0 :     if (!SWIG_IsOK(res2)) {
   23044           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_template_set" "', argument " "2"" of type '" "char *""'");
   23045             :     }
   23046           0 :     arg2 = (char *)(buf2);
   23047             :     {
   23048           0 :       if (arg1->template) free((char*)arg1->template);
   23049           0 :       if (arg2) {
   23050           0 :         arg1->template = (char *) malloc(strlen(arg2)+1);
   23051             :         strcpy((char*)arg1->template,arg2);
   23052             :       } else {
   23053           0 :         arg1->template = 0;
   23054             :       }
   23055             :     }
   23056           0 :     ST(argvi) = sv_newmortal();
   23057             :     
   23058           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   23059           0 :     XSRETURN(argvi);
   23060             :   fail:
   23061             :     
   23062           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   23063           0 :     SWIG_croak_null();
   23064             :   }
   23065             : }
   23066             : 
   23067             : 
   23068           0 : XS(_wrap_layerObj_template_get) {
   23069             :   {
   23070             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   23071           0 :     void *argp1 = 0 ;
   23072             :     int res1 = 0 ;
   23073             :     int argvi = 0;
   23074             :     char *result = 0 ;
   23075           0 :     dXSARGS;
   23076             :     
   23077           0 :     if ((items < 1) || (items > 1)) {
   23078           0 :       SWIG_croak("Usage: layerObj_template_get(self);");
   23079             :     }
   23080           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   23081           0 :     if (!SWIG_IsOK(res1)) {
   23082           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_template_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   23083             :     }
   23084           0 :     arg1 = (struct layerObj *)(argp1);
   23085           0 :     result = (char *) ((arg1)->template);
   23086           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   23087             :     
   23088           0 :     XSRETURN(argvi);
   23089             :   fail:
   23090             :     
   23091           0 :     SWIG_croak_null();
   23092             :   }
   23093             : }
   23094             : 
   23095             : 
   23096           0 : XS(_wrap_layerObj_name_set) {
   23097             :   {
   23098             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   23099             :     char *arg2 = (char *) 0 ;
   23100           0 :     void *argp1 = 0 ;
   23101             :     int res1 = 0 ;
   23102             :     int res2 ;
   23103           0 :     char *buf2 = 0 ;
   23104           0 :     int alloc2 = 0 ;
   23105             :     int argvi = 0;
   23106           0 :     dXSARGS;
   23107             :     
   23108           0 :     if ((items < 2) || (items > 2)) {
   23109           0 :       SWIG_croak("Usage: layerObj_name_set(self,name);");
   23110             :     }
   23111           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   23112           0 :     if (!SWIG_IsOK(res1)) {
   23113           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_name_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   23114             :     }
   23115           0 :     arg1 = (struct layerObj *)(argp1);
   23116           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   23117           0 :     if (!SWIG_IsOK(res2)) {
   23118           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_name_set" "', argument " "2"" of type '" "char *""'");
   23119             :     }
   23120           0 :     arg2 = (char *)(buf2);
   23121             :     {
   23122           0 :       if (arg1->name) free((char*)arg1->name);
   23123           0 :       if (arg2) {
   23124           0 :         arg1->name = (char *) malloc(strlen(arg2)+1);
   23125             :         strcpy((char*)arg1->name,arg2);
   23126             :       } else {
   23127           0 :         arg1->name = 0;
   23128             :       }
   23129             :     }
   23130           0 :     ST(argvi) = sv_newmortal();
   23131             :     
   23132           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   23133           0 :     XSRETURN(argvi);
   23134             :   fail:
   23135             :     
   23136           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   23137           0 :     SWIG_croak_null();
   23138             :   }
   23139             : }
   23140             : 
   23141             : 
   23142           0 : XS(_wrap_layerObj_name_get) {
   23143             :   {
   23144             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   23145           0 :     void *argp1 = 0 ;
   23146             :     int res1 = 0 ;
   23147             :     int argvi = 0;
   23148             :     char *result = 0 ;
   23149           0 :     dXSARGS;
   23150             :     
   23151           0 :     if ((items < 1) || (items > 1)) {
   23152           0 :       SWIG_croak("Usage: layerObj_name_get(self);");
   23153             :     }
   23154           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   23155           0 :     if (!SWIG_IsOK(res1)) {
   23156           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_name_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   23157             :     }
   23158           0 :     arg1 = (struct layerObj *)(argp1);
   23159           0 :     result = (char *) ((arg1)->name);
   23160           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   23161             :     
   23162           0 :     XSRETURN(argvi);
   23163             :   fail:
   23164             :     
   23165           0 :     SWIG_croak_null();
   23166             :   }
   23167             : }
   23168             : 
   23169             : 
   23170           0 : XS(_wrap_layerObj_group_set) {
   23171             :   {
   23172             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   23173             :     char *arg2 = (char *) 0 ;
   23174           0 :     void *argp1 = 0 ;
   23175             :     int res1 = 0 ;
   23176             :     int res2 ;
   23177           0 :     char *buf2 = 0 ;
   23178           0 :     int alloc2 = 0 ;
   23179             :     int argvi = 0;
   23180           0 :     dXSARGS;
   23181             :     
   23182           0 :     if ((items < 2) || (items > 2)) {
   23183           0 :       SWIG_croak("Usage: layerObj_group_set(self,group);");
   23184             :     }
   23185           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   23186           0 :     if (!SWIG_IsOK(res1)) {
   23187           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_group_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   23188             :     }
   23189           0 :     arg1 = (struct layerObj *)(argp1);
   23190           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   23191           0 :     if (!SWIG_IsOK(res2)) {
   23192           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_group_set" "', argument " "2"" of type '" "char *""'");
   23193             :     }
   23194           0 :     arg2 = (char *)(buf2);
   23195             :     {
   23196           0 :       if (arg1->group) free((char*)arg1->group);
   23197           0 :       if (arg2) {
   23198           0 :         arg1->group = (char *) malloc(strlen(arg2)+1);
   23199             :         strcpy((char*)arg1->group,arg2);
   23200             :       } else {
   23201           0 :         arg1->group = 0;
   23202             :       }
   23203             :     }
   23204           0 :     ST(argvi) = sv_newmortal();
   23205             :     
   23206           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   23207           0 :     XSRETURN(argvi);
   23208             :   fail:
   23209             :     
   23210           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   23211           0 :     SWIG_croak_null();
   23212             :   }
   23213             : }
   23214             : 
   23215             : 
   23216           0 : XS(_wrap_layerObj_group_get) {
   23217             :   {
   23218             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   23219           0 :     void *argp1 = 0 ;
   23220             :     int res1 = 0 ;
   23221             :     int argvi = 0;
   23222             :     char *result = 0 ;
   23223           0 :     dXSARGS;
   23224             :     
   23225           0 :     if ((items < 1) || (items > 1)) {
   23226           0 :       SWIG_croak("Usage: layerObj_group_get(self);");
   23227             :     }
   23228           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   23229           0 :     if (!SWIG_IsOK(res1)) {
   23230           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_group_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   23231             :     }
   23232           0 :     arg1 = (struct layerObj *)(argp1);
   23233           0 :     result = (char *) ((arg1)->group);
   23234           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   23235             :     
   23236           0 :     XSRETURN(argvi);
   23237             :   fail:
   23238             :     
   23239           0 :     SWIG_croak_null();
   23240             :   }
   23241             : }
   23242             : 
   23243             : 
   23244           0 : XS(_wrap_layerObj_status_set) {
   23245             :   {
   23246             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   23247             :     int arg2 ;
   23248           0 :     void *argp1 = 0 ;
   23249             :     int res1 = 0 ;
   23250             :     int val2 ;
   23251             :     int ecode2 = 0 ;
   23252             :     int argvi = 0;
   23253           0 :     dXSARGS;
   23254             :     
   23255           0 :     if ((items < 2) || (items > 2)) {
   23256           0 :       SWIG_croak("Usage: layerObj_status_set(self,status);");
   23257             :     }
   23258           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   23259           0 :     if (!SWIG_IsOK(res1)) {
   23260           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_status_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   23261             :     }
   23262           0 :     arg1 = (struct layerObj *)(argp1);
   23263           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   23264           0 :     if (!SWIG_IsOK(ecode2)) {
   23265           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_status_set" "', argument " "2"" of type '" "int""'");
   23266             :     } 
   23267           0 :     arg2 = (int)(val2);
   23268           0 :     if (arg1) (arg1)->status = arg2;
   23269           0 :     ST(argvi) = sv_newmortal();
   23270             :     
   23271             :     
   23272           0 :     XSRETURN(argvi);
   23273             :   fail:
   23274             :     
   23275             :     
   23276           0 :     SWIG_croak_null();
   23277             :   }
   23278             : }
   23279             : 
   23280             : 
   23281           0 : XS(_wrap_layerObj_status_get) {
   23282             :   {
   23283             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   23284           0 :     void *argp1 = 0 ;
   23285             :     int res1 = 0 ;
   23286             :     int argvi = 0;
   23287             :     int result;
   23288           0 :     dXSARGS;
   23289             :     
   23290           0 :     if ((items < 1) || (items > 1)) {
   23291           0 :       SWIG_croak("Usage: layerObj_status_get(self);");
   23292             :     }
   23293           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   23294           0 :     if (!SWIG_IsOK(res1)) {
   23295           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_status_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   23296             :     }
   23297           0 :     arg1 = (struct layerObj *)(argp1);
   23298           0 :     result = (int) ((arg1)->status);
   23299           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   23300             :     
   23301           0 :     XSRETURN(argvi);
   23302             :   fail:
   23303             :     
   23304           0 :     SWIG_croak_null();
   23305             :   }
   23306             : }
   23307             : 
   23308             : 
   23309           0 : XS(_wrap_layerObj_data_set) {
   23310             :   {
   23311             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   23312             :     char *arg2 = (char *) 0 ;
   23313           0 :     void *argp1 = 0 ;
   23314             :     int res1 = 0 ;
   23315             :     int res2 ;
   23316           0 :     char *buf2 = 0 ;
   23317           0 :     int alloc2 = 0 ;
   23318             :     int argvi = 0;
   23319           0 :     dXSARGS;
   23320             :     
   23321           0 :     if ((items < 2) || (items > 2)) {
   23322           0 :       SWIG_croak("Usage: layerObj_data_set(self,data);");
   23323             :     }
   23324           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   23325           0 :     if (!SWIG_IsOK(res1)) {
   23326           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_data_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   23327             :     }
   23328           0 :     arg1 = (struct layerObj *)(argp1);
   23329           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   23330           0 :     if (!SWIG_IsOK(res2)) {
   23331           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_data_set" "', argument " "2"" of type '" "char *""'");
   23332             :     }
   23333           0 :     arg2 = (char *)(buf2);
   23334             :     {
   23335           0 :       if (arg1->data) free((char*)arg1->data);
   23336           0 :       if (arg2) {
   23337           0 :         arg1->data = (char *) malloc(strlen(arg2)+1);
   23338             :         strcpy((char*)arg1->data,arg2);
   23339             :       } else {
   23340           0 :         arg1->data = 0;
   23341             :       }
   23342             :     }
   23343           0 :     ST(argvi) = sv_newmortal();
   23344             :     
   23345           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   23346           0 :     XSRETURN(argvi);
   23347             :   fail:
   23348             :     
   23349           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   23350           0 :     SWIG_croak_null();
   23351             :   }
   23352             : }
   23353             : 
   23354             : 
   23355           0 : XS(_wrap_layerObj_data_get) {
   23356             :   {
   23357             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   23358           0 :     void *argp1 = 0 ;
   23359             :     int res1 = 0 ;
   23360             :     int argvi = 0;
   23361             :     char *result = 0 ;
   23362           0 :     dXSARGS;
   23363             :     
   23364           0 :     if ((items < 1) || (items > 1)) {
   23365           0 :       SWIG_croak("Usage: layerObj_data_get(self);");
   23366             :     }
   23367           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   23368           0 :     if (!SWIG_IsOK(res1)) {
   23369           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_data_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   23370             :     }
   23371           0 :     arg1 = (struct layerObj *)(argp1);
   23372           0 :     result = (char *) ((arg1)->data);
   23373           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   23374             :     
   23375           0 :     XSRETURN(argvi);
   23376             :   fail:
   23377             :     
   23378           0 :     SWIG_croak_null();
   23379             :   }
   23380             : }
   23381             : 
   23382             : 
   23383           0 : XS(_wrap_layerObj_type_set) {
   23384             :   {
   23385             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   23386             :     enum MS_LAYER_TYPE arg2 ;
   23387           0 :     void *argp1 = 0 ;
   23388             :     int res1 = 0 ;
   23389             :     int val2 ;
   23390             :     int ecode2 = 0 ;
   23391             :     int argvi = 0;
   23392           0 :     dXSARGS;
   23393             :     
   23394           0 :     if ((items < 2) || (items > 2)) {
   23395           0 :       SWIG_croak("Usage: layerObj_type_set(self,type);");
   23396             :     }
   23397           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   23398           0 :     if (!SWIG_IsOK(res1)) {
   23399           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_type_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   23400             :     }
   23401           0 :     arg1 = (struct layerObj *)(argp1);
   23402           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   23403           0 :     if (!SWIG_IsOK(ecode2)) {
   23404           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_type_set" "', argument " "2"" of type '" "enum MS_LAYER_TYPE""'");
   23405             :     } 
   23406           0 :     arg2 = (enum MS_LAYER_TYPE)(val2);
   23407           0 :     if (arg1) (arg1)->type = arg2;
   23408           0 :     ST(argvi) = sv_newmortal();
   23409             :     
   23410             :     
   23411           0 :     XSRETURN(argvi);
   23412             :   fail:
   23413             :     
   23414             :     
   23415           0 :     SWIG_croak_null();
   23416             :   }
   23417             : }
   23418             : 
   23419             : 
   23420           0 : XS(_wrap_layerObj_type_get) {
   23421             :   {
   23422             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   23423           0 :     void *argp1 = 0 ;
   23424             :     int res1 = 0 ;
   23425             :     int argvi = 0;
   23426             :     enum MS_LAYER_TYPE result;
   23427           0 :     dXSARGS;
   23428             :     
   23429           0 :     if ((items < 1) || (items > 1)) {
   23430           0 :       SWIG_croak("Usage: layerObj_type_get(self);");
   23431             :     }
   23432           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   23433           0 :     if (!SWIG_IsOK(res1)) {
   23434           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_type_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   23435             :     }
   23436           0 :     arg1 = (struct layerObj *)(argp1);
   23437           0 :     result = (enum MS_LAYER_TYPE) ((arg1)->type);
   23438           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   23439             :     
   23440           0 :     XSRETURN(argvi);
   23441             :   fail:
   23442             :     
   23443           0 :     SWIG_croak_null();
   23444             :   }
   23445             : }
   23446             : 
   23447             : 
   23448           0 : XS(_wrap_layerObj_tolerance_set) {
   23449             :   {
   23450             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   23451             :     double arg2 ;
   23452           0 :     void *argp1 = 0 ;
   23453             :     int res1 = 0 ;
   23454             :     double val2 ;
   23455             :     int ecode2 = 0 ;
   23456             :     int argvi = 0;
   23457           0 :     dXSARGS;
   23458             :     
   23459           0 :     if ((items < 2) || (items > 2)) {
   23460           0 :       SWIG_croak("Usage: layerObj_tolerance_set(self,tolerance);");
   23461             :     }
   23462           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   23463           0 :     if (!SWIG_IsOK(res1)) {
   23464           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_tolerance_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   23465             :     }
   23466           0 :     arg1 = (struct layerObj *)(argp1);
   23467           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   23468           0 :     if (!SWIG_IsOK(ecode2)) {
   23469           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_tolerance_set" "', argument " "2"" of type '" "double""'");
   23470             :     } 
   23471           0 :     arg2 = (double)(val2);
   23472           0 :     if (arg1) (arg1)->tolerance = arg2;
   23473           0 :     ST(argvi) = sv_newmortal();
   23474             :     
   23475             :     
   23476           0 :     XSRETURN(argvi);
   23477             :   fail:
   23478             :     
   23479             :     
   23480           0 :     SWIG_croak_null();
   23481             :   }
   23482             : }
   23483             : 
   23484             : 
   23485           0 : XS(_wrap_layerObj_tolerance_get) {
   23486             :   {
   23487             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   23488           0 :     void *argp1 = 0 ;
   23489             :     int res1 = 0 ;
   23490             :     int argvi = 0;
   23491             :     double result;
   23492           0 :     dXSARGS;
   23493             :     
   23494           0 :     if ((items < 1) || (items > 1)) {
   23495           0 :       SWIG_croak("Usage: layerObj_tolerance_get(self);");
   23496             :     }
   23497           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   23498           0 :     if (!SWIG_IsOK(res1)) {
   23499           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_tolerance_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   23500             :     }
   23501           0 :     arg1 = (struct layerObj *)(argp1);
   23502           0 :     result = (double) ((arg1)->tolerance);
   23503           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   23504             :     
   23505           0 :     XSRETURN(argvi);
   23506             :   fail:
   23507             :     
   23508           0 :     SWIG_croak_null();
   23509             :   }
   23510             : }
   23511             : 
   23512             : 
   23513           0 : XS(_wrap_layerObj_toleranceunits_set) {
   23514             :   {
   23515             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   23516             :     int arg2 ;
   23517           0 :     void *argp1 = 0 ;
   23518             :     int res1 = 0 ;
   23519             :     int val2 ;
   23520             :     int ecode2 = 0 ;
   23521             :     int argvi = 0;
   23522           0 :     dXSARGS;
   23523             :     
   23524           0 :     if ((items < 2) || (items > 2)) {
   23525           0 :       SWIG_croak("Usage: layerObj_toleranceunits_set(self,toleranceunits);");
   23526             :     }
   23527           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   23528           0 :     if (!SWIG_IsOK(res1)) {
   23529           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_toleranceunits_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   23530             :     }
   23531           0 :     arg1 = (struct layerObj *)(argp1);
   23532           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   23533           0 :     if (!SWIG_IsOK(ecode2)) {
   23534           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_toleranceunits_set" "', argument " "2"" of type '" "int""'");
   23535             :     } 
   23536           0 :     arg2 = (int)(val2);
   23537           0 :     if (arg1) (arg1)->toleranceunits = arg2;
   23538           0 :     ST(argvi) = sv_newmortal();
   23539             :     
   23540             :     
   23541           0 :     XSRETURN(argvi);
   23542             :   fail:
   23543             :     
   23544             :     
   23545           0 :     SWIG_croak_null();
   23546             :   }
   23547             : }
   23548             : 
   23549             : 
   23550           0 : XS(_wrap_layerObj_toleranceunits_get) {
   23551             :   {
   23552             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   23553           0 :     void *argp1 = 0 ;
   23554             :     int res1 = 0 ;
   23555             :     int argvi = 0;
   23556             :     int result;
   23557           0 :     dXSARGS;
   23558             :     
   23559           0 :     if ((items < 1) || (items > 1)) {
   23560           0 :       SWIG_croak("Usage: layerObj_toleranceunits_get(self);");
   23561             :     }
   23562           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   23563           0 :     if (!SWIG_IsOK(res1)) {
   23564           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_toleranceunits_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   23565             :     }
   23566           0 :     arg1 = (struct layerObj *)(argp1);
   23567           0 :     result = (int) ((arg1)->toleranceunits);
   23568           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   23569             :     
   23570           0 :     XSRETURN(argvi);
   23571             :   fail:
   23572             :     
   23573           0 :     SWIG_croak_null();
   23574             :   }
   23575             : }
   23576             : 
   23577             : 
   23578           0 : XS(_wrap_layerObj_symbolscaledenom_set) {
   23579             :   {
   23580             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   23581             :     double arg2 ;
   23582           0 :     void *argp1 = 0 ;
   23583             :     int res1 = 0 ;
   23584             :     double val2 ;
   23585             :     int ecode2 = 0 ;
   23586             :     int argvi = 0;
   23587           0 :     dXSARGS;
   23588             :     
   23589           0 :     if ((items < 2) || (items > 2)) {
   23590           0 :       SWIG_croak("Usage: layerObj_symbolscaledenom_set(self,symbolscaledenom);");
   23591             :     }
   23592           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   23593           0 :     if (!SWIG_IsOK(res1)) {
   23594           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_symbolscaledenom_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   23595             :     }
   23596           0 :     arg1 = (struct layerObj *)(argp1);
   23597           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   23598           0 :     if (!SWIG_IsOK(ecode2)) {
   23599           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_symbolscaledenom_set" "', argument " "2"" of type '" "double""'");
   23600             :     } 
   23601           0 :     arg2 = (double)(val2);
   23602           0 :     if (arg1) (arg1)->symbolscaledenom = arg2;
   23603           0 :     ST(argvi) = sv_newmortal();
   23604             :     
   23605             :     
   23606           0 :     XSRETURN(argvi);
   23607             :   fail:
   23608             :     
   23609             :     
   23610           0 :     SWIG_croak_null();
   23611             :   }
   23612             : }
   23613             : 
   23614             : 
   23615           0 : XS(_wrap_layerObj_symbolscaledenom_get) {
   23616             :   {
   23617             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   23618           0 :     void *argp1 = 0 ;
   23619             :     int res1 = 0 ;
   23620             :     int argvi = 0;
   23621             :     double result;
   23622           0 :     dXSARGS;
   23623             :     
   23624           0 :     if ((items < 1) || (items > 1)) {
   23625           0 :       SWIG_croak("Usage: layerObj_symbolscaledenom_get(self);");
   23626             :     }
   23627           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   23628           0 :     if (!SWIG_IsOK(res1)) {
   23629           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_symbolscaledenom_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   23630             :     }
   23631           0 :     arg1 = (struct layerObj *)(argp1);
   23632           0 :     result = (double) ((arg1)->symbolscaledenom);
   23633           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   23634             :     
   23635           0 :     XSRETURN(argvi);
   23636             :   fail:
   23637             :     
   23638           0 :     SWIG_croak_null();
   23639             :   }
   23640             : }
   23641             : 
   23642             : 
   23643           0 : XS(_wrap_layerObj_minscaledenom_set) {
   23644             :   {
   23645             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   23646             :     double arg2 ;
   23647           0 :     void *argp1 = 0 ;
   23648             :     int res1 = 0 ;
   23649             :     double val2 ;
   23650             :     int ecode2 = 0 ;
   23651             :     int argvi = 0;
   23652           0 :     dXSARGS;
   23653             :     
   23654           0 :     if ((items < 2) || (items > 2)) {
   23655           0 :       SWIG_croak("Usage: layerObj_minscaledenom_set(self,minscaledenom);");
   23656             :     }
   23657           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   23658           0 :     if (!SWIG_IsOK(res1)) {
   23659           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_minscaledenom_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   23660             :     }
   23661           0 :     arg1 = (struct layerObj *)(argp1);
   23662           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   23663           0 :     if (!SWIG_IsOK(ecode2)) {
   23664           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_minscaledenom_set" "', argument " "2"" of type '" "double""'");
   23665             :     } 
   23666           0 :     arg2 = (double)(val2);
   23667           0 :     if (arg1) (arg1)->minscaledenom = arg2;
   23668           0 :     ST(argvi) = sv_newmortal();
   23669             :     
   23670             :     
   23671           0 :     XSRETURN(argvi);
   23672             :   fail:
   23673             :     
   23674             :     
   23675           0 :     SWIG_croak_null();
   23676             :   }
   23677             : }
   23678             : 
   23679             : 
   23680           0 : XS(_wrap_layerObj_minscaledenom_get) {
   23681             :   {
   23682             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   23683           0 :     void *argp1 = 0 ;
   23684             :     int res1 = 0 ;
   23685             :     int argvi = 0;
   23686             :     double result;
   23687           0 :     dXSARGS;
   23688             :     
   23689           0 :     if ((items < 1) || (items > 1)) {
   23690           0 :       SWIG_croak("Usage: layerObj_minscaledenom_get(self);");
   23691             :     }
   23692           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   23693           0 :     if (!SWIG_IsOK(res1)) {
   23694           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_minscaledenom_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   23695             :     }
   23696           0 :     arg1 = (struct layerObj *)(argp1);
   23697           0 :     result = (double) ((arg1)->minscaledenom);
   23698           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   23699             :     
   23700           0 :     XSRETURN(argvi);
   23701             :   fail:
   23702             :     
   23703           0 :     SWIG_croak_null();
   23704             :   }
   23705             : }
   23706             : 
   23707             : 
   23708           0 : XS(_wrap_layerObj_maxscaledenom_set) {
   23709             :   {
   23710             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   23711             :     double arg2 ;
   23712           0 :     void *argp1 = 0 ;
   23713             :     int res1 = 0 ;
   23714             :     double val2 ;
   23715             :     int ecode2 = 0 ;
   23716             :     int argvi = 0;
   23717           0 :     dXSARGS;
   23718             :     
   23719           0 :     if ((items < 2) || (items > 2)) {
   23720           0 :       SWIG_croak("Usage: layerObj_maxscaledenom_set(self,maxscaledenom);");
   23721             :     }
   23722           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   23723           0 :     if (!SWIG_IsOK(res1)) {
   23724           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_maxscaledenom_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   23725             :     }
   23726           0 :     arg1 = (struct layerObj *)(argp1);
   23727           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   23728           0 :     if (!SWIG_IsOK(ecode2)) {
   23729           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_maxscaledenom_set" "', argument " "2"" of type '" "double""'");
   23730             :     } 
   23731           0 :     arg2 = (double)(val2);
   23732           0 :     if (arg1) (arg1)->maxscaledenom = arg2;
   23733           0 :     ST(argvi) = sv_newmortal();
   23734             :     
   23735             :     
   23736           0 :     XSRETURN(argvi);
   23737             :   fail:
   23738             :     
   23739             :     
   23740           0 :     SWIG_croak_null();
   23741             :   }
   23742             : }
   23743             : 
   23744             : 
   23745           0 : XS(_wrap_layerObj_maxscaledenom_get) {
   23746             :   {
   23747             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   23748           0 :     void *argp1 = 0 ;
   23749             :     int res1 = 0 ;
   23750             :     int argvi = 0;
   23751             :     double result;
   23752           0 :     dXSARGS;
   23753             :     
   23754           0 :     if ((items < 1) || (items > 1)) {
   23755           0 :       SWIG_croak("Usage: layerObj_maxscaledenom_get(self);");
   23756             :     }
   23757           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   23758           0 :     if (!SWIG_IsOK(res1)) {
   23759           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_maxscaledenom_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   23760             :     }
   23761           0 :     arg1 = (struct layerObj *)(argp1);
   23762           0 :     result = (double) ((arg1)->maxscaledenom);
   23763           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   23764             :     
   23765           0 :     XSRETURN(argvi);
   23766             :   fail:
   23767             :     
   23768           0 :     SWIG_croak_null();
   23769             :   }
   23770             : }
   23771             : 
   23772             : 
   23773           0 : XS(_wrap_layerObj_minfeaturesize_set) {
   23774             :   {
   23775             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   23776             :     int arg2 ;
   23777           0 :     void *argp1 = 0 ;
   23778             :     int res1 = 0 ;
   23779             :     int val2 ;
   23780             :     int ecode2 = 0 ;
   23781             :     int argvi = 0;
   23782           0 :     dXSARGS;
   23783             :     
   23784           0 :     if ((items < 2) || (items > 2)) {
   23785           0 :       SWIG_croak("Usage: layerObj_minfeaturesize_set(self,minfeaturesize);");
   23786             :     }
   23787           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   23788           0 :     if (!SWIG_IsOK(res1)) {
   23789           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_minfeaturesize_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   23790             :     }
   23791           0 :     arg1 = (struct layerObj *)(argp1);
   23792           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   23793           0 :     if (!SWIG_IsOK(ecode2)) {
   23794           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_minfeaturesize_set" "', argument " "2"" of type '" "int""'");
   23795             :     } 
   23796           0 :     arg2 = (int)(val2);
   23797           0 :     if (arg1) (arg1)->minfeaturesize = arg2;
   23798           0 :     ST(argvi) = sv_newmortal();
   23799             :     
   23800             :     
   23801           0 :     XSRETURN(argvi);
   23802             :   fail:
   23803             :     
   23804             :     
   23805           0 :     SWIG_croak_null();
   23806             :   }
   23807             : }
   23808             : 
   23809             : 
   23810           0 : XS(_wrap_layerObj_minfeaturesize_get) {
   23811             :   {
   23812             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   23813           0 :     void *argp1 = 0 ;
   23814             :     int res1 = 0 ;
   23815             :     int argvi = 0;
   23816             :     int result;
   23817           0 :     dXSARGS;
   23818             :     
   23819           0 :     if ((items < 1) || (items > 1)) {
   23820           0 :       SWIG_croak("Usage: layerObj_minfeaturesize_get(self);");
   23821             :     }
   23822           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   23823           0 :     if (!SWIG_IsOK(res1)) {
   23824           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_minfeaturesize_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   23825             :     }
   23826           0 :     arg1 = (struct layerObj *)(argp1);
   23827           0 :     result = (int) ((arg1)->minfeaturesize);
   23828           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   23829             :     
   23830           0 :     XSRETURN(argvi);
   23831             :   fail:
   23832             :     
   23833           0 :     SWIG_croak_null();
   23834             :   }
   23835             : }
   23836             : 
   23837             : 
   23838           0 : XS(_wrap_layerObj_labelminscaledenom_set) {
   23839             :   {
   23840             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   23841             :     double arg2 ;
   23842           0 :     void *argp1 = 0 ;
   23843             :     int res1 = 0 ;
   23844             :     double val2 ;
   23845             :     int ecode2 = 0 ;
   23846             :     int argvi = 0;
   23847           0 :     dXSARGS;
   23848             :     
   23849           0 :     if ((items < 2) || (items > 2)) {
   23850           0 :       SWIG_croak("Usage: layerObj_labelminscaledenom_set(self,labelminscaledenom);");
   23851             :     }
   23852           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   23853           0 :     if (!SWIG_IsOK(res1)) {
   23854           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_labelminscaledenom_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   23855             :     }
   23856           0 :     arg1 = (struct layerObj *)(argp1);
   23857           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   23858           0 :     if (!SWIG_IsOK(ecode2)) {
   23859           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_labelminscaledenom_set" "', argument " "2"" of type '" "double""'");
   23860             :     } 
   23861           0 :     arg2 = (double)(val2);
   23862           0 :     if (arg1) (arg1)->labelminscaledenom = arg2;
   23863           0 :     ST(argvi) = sv_newmortal();
   23864             :     
   23865             :     
   23866           0 :     XSRETURN(argvi);
   23867             :   fail:
   23868             :     
   23869             :     
   23870           0 :     SWIG_croak_null();
   23871             :   }
   23872             : }
   23873             : 
   23874             : 
   23875           0 : XS(_wrap_layerObj_labelminscaledenom_get) {
   23876             :   {
   23877             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   23878           0 :     void *argp1 = 0 ;
   23879             :     int res1 = 0 ;
   23880             :     int argvi = 0;
   23881             :     double result;
   23882           0 :     dXSARGS;
   23883             :     
   23884           0 :     if ((items < 1) || (items > 1)) {
   23885           0 :       SWIG_croak("Usage: layerObj_labelminscaledenom_get(self);");
   23886             :     }
   23887           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   23888           0 :     if (!SWIG_IsOK(res1)) {
   23889           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_labelminscaledenom_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   23890             :     }
   23891           0 :     arg1 = (struct layerObj *)(argp1);
   23892           0 :     result = (double) ((arg1)->labelminscaledenom);
   23893           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   23894             :     
   23895           0 :     XSRETURN(argvi);
   23896             :   fail:
   23897             :     
   23898           0 :     SWIG_croak_null();
   23899             :   }
   23900             : }
   23901             : 
   23902             : 
   23903           0 : XS(_wrap_layerObj_labelmaxscaledenom_set) {
   23904             :   {
   23905             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   23906             :     double arg2 ;
   23907           0 :     void *argp1 = 0 ;
   23908             :     int res1 = 0 ;
   23909             :     double val2 ;
   23910             :     int ecode2 = 0 ;
   23911             :     int argvi = 0;
   23912           0 :     dXSARGS;
   23913             :     
   23914           0 :     if ((items < 2) || (items > 2)) {
   23915           0 :       SWIG_croak("Usage: layerObj_labelmaxscaledenom_set(self,labelmaxscaledenom);");
   23916             :     }
   23917           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   23918           0 :     if (!SWIG_IsOK(res1)) {
   23919           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_labelmaxscaledenom_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   23920             :     }
   23921           0 :     arg1 = (struct layerObj *)(argp1);
   23922           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   23923           0 :     if (!SWIG_IsOK(ecode2)) {
   23924           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_labelmaxscaledenom_set" "', argument " "2"" of type '" "double""'");
   23925             :     } 
   23926           0 :     arg2 = (double)(val2);
   23927           0 :     if (arg1) (arg1)->labelmaxscaledenom = arg2;
   23928           0 :     ST(argvi) = sv_newmortal();
   23929             :     
   23930             :     
   23931           0 :     XSRETURN(argvi);
   23932             :   fail:
   23933             :     
   23934             :     
   23935           0 :     SWIG_croak_null();
   23936             :   }
   23937             : }
   23938             : 
   23939             : 
   23940           0 : XS(_wrap_layerObj_labelmaxscaledenom_get) {
   23941             :   {
   23942             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   23943           0 :     void *argp1 = 0 ;
   23944             :     int res1 = 0 ;
   23945             :     int argvi = 0;
   23946             :     double result;
   23947           0 :     dXSARGS;
   23948             :     
   23949           0 :     if ((items < 1) || (items > 1)) {
   23950           0 :       SWIG_croak("Usage: layerObj_labelmaxscaledenom_get(self);");
   23951             :     }
   23952           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   23953           0 :     if (!SWIG_IsOK(res1)) {
   23954           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_labelmaxscaledenom_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   23955             :     }
   23956           0 :     arg1 = (struct layerObj *)(argp1);
   23957           0 :     result = (double) ((arg1)->labelmaxscaledenom);
   23958           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   23959             :     
   23960           0 :     XSRETURN(argvi);
   23961             :   fail:
   23962             :     
   23963           0 :     SWIG_croak_null();
   23964             :   }
   23965             : }
   23966             : 
   23967             : 
   23968           0 : XS(_wrap_layerObj_mingeowidth_set) {
   23969             :   {
   23970             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   23971             :     double arg2 ;
   23972           0 :     void *argp1 = 0 ;
   23973             :     int res1 = 0 ;
   23974             :     double val2 ;
   23975             :     int ecode2 = 0 ;
   23976             :     int argvi = 0;
   23977           0 :     dXSARGS;
   23978             :     
   23979           0 :     if ((items < 2) || (items > 2)) {
   23980           0 :       SWIG_croak("Usage: layerObj_mingeowidth_set(self,mingeowidth);");
   23981             :     }
   23982           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   23983           0 :     if (!SWIG_IsOK(res1)) {
   23984           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_mingeowidth_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   23985             :     }
   23986           0 :     arg1 = (struct layerObj *)(argp1);
   23987           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   23988           0 :     if (!SWIG_IsOK(ecode2)) {
   23989           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_mingeowidth_set" "', argument " "2"" of type '" "double""'");
   23990             :     } 
   23991           0 :     arg2 = (double)(val2);
   23992           0 :     if (arg1) (arg1)->mingeowidth = arg2;
   23993           0 :     ST(argvi) = sv_newmortal();
   23994             :     
   23995             :     
   23996           0 :     XSRETURN(argvi);
   23997             :   fail:
   23998             :     
   23999             :     
   24000           0 :     SWIG_croak_null();
   24001             :   }
   24002             : }
   24003             : 
   24004             : 
   24005           0 : XS(_wrap_layerObj_mingeowidth_get) {
   24006             :   {
   24007             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   24008           0 :     void *argp1 = 0 ;
   24009             :     int res1 = 0 ;
   24010             :     int argvi = 0;
   24011             :     double result;
   24012           0 :     dXSARGS;
   24013             :     
   24014           0 :     if ((items < 1) || (items > 1)) {
   24015           0 :       SWIG_croak("Usage: layerObj_mingeowidth_get(self);");
   24016             :     }
   24017           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   24018           0 :     if (!SWIG_IsOK(res1)) {
   24019           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_mingeowidth_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   24020             :     }
   24021           0 :     arg1 = (struct layerObj *)(argp1);
   24022           0 :     result = (double) ((arg1)->mingeowidth);
   24023           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   24024             :     
   24025           0 :     XSRETURN(argvi);
   24026             :   fail:
   24027             :     
   24028           0 :     SWIG_croak_null();
   24029             :   }
   24030             : }
   24031             : 
   24032             : 
   24033           0 : XS(_wrap_layerObj_maxgeowidth_set) {
   24034             :   {
   24035             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   24036             :     double arg2 ;
   24037           0 :     void *argp1 = 0 ;
   24038             :     int res1 = 0 ;
   24039             :     double val2 ;
   24040             :     int ecode2 = 0 ;
   24041             :     int argvi = 0;
   24042           0 :     dXSARGS;
   24043             :     
   24044           0 :     if ((items < 2) || (items > 2)) {
   24045           0 :       SWIG_croak("Usage: layerObj_maxgeowidth_set(self,maxgeowidth);");
   24046             :     }
   24047           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   24048           0 :     if (!SWIG_IsOK(res1)) {
   24049           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_maxgeowidth_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   24050             :     }
   24051           0 :     arg1 = (struct layerObj *)(argp1);
   24052           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   24053           0 :     if (!SWIG_IsOK(ecode2)) {
   24054           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_maxgeowidth_set" "', argument " "2"" of type '" "double""'");
   24055             :     } 
   24056           0 :     arg2 = (double)(val2);
   24057           0 :     if (arg1) (arg1)->maxgeowidth = arg2;
   24058           0 :     ST(argvi) = sv_newmortal();
   24059             :     
   24060             :     
   24061           0 :     XSRETURN(argvi);
   24062             :   fail:
   24063             :     
   24064             :     
   24065           0 :     SWIG_croak_null();
   24066             :   }
   24067             : }
   24068             : 
   24069             : 
   24070           0 : XS(_wrap_layerObj_maxgeowidth_get) {
   24071             :   {
   24072             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   24073           0 :     void *argp1 = 0 ;
   24074             :     int res1 = 0 ;
   24075             :     int argvi = 0;
   24076             :     double result;
   24077           0 :     dXSARGS;
   24078             :     
   24079           0 :     if ((items < 1) || (items > 1)) {
   24080           0 :       SWIG_croak("Usage: layerObj_maxgeowidth_get(self);");
   24081             :     }
   24082           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   24083           0 :     if (!SWIG_IsOK(res1)) {
   24084           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_maxgeowidth_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   24085             :     }
   24086           0 :     arg1 = (struct layerObj *)(argp1);
   24087           0 :     result = (double) ((arg1)->maxgeowidth);
   24088           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   24089             :     
   24090           0 :     XSRETURN(argvi);
   24091             :   fail:
   24092             :     
   24093           0 :     SWIG_croak_null();
   24094             :   }
   24095             : }
   24096             : 
   24097             : 
   24098           0 : XS(_wrap_layerObj_sizeunits_set) {
   24099             :   {
   24100             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   24101             :     int arg2 ;
   24102           0 :     void *argp1 = 0 ;
   24103             :     int res1 = 0 ;
   24104             :     int val2 ;
   24105             :     int ecode2 = 0 ;
   24106             :     int argvi = 0;
   24107           0 :     dXSARGS;
   24108             :     
   24109           0 :     if ((items < 2) || (items > 2)) {
   24110           0 :       SWIG_croak("Usage: layerObj_sizeunits_set(self,sizeunits);");
   24111             :     }
   24112           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   24113           0 :     if (!SWIG_IsOK(res1)) {
   24114           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_sizeunits_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   24115             :     }
   24116           0 :     arg1 = (struct layerObj *)(argp1);
   24117           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   24118           0 :     if (!SWIG_IsOK(ecode2)) {
   24119           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_sizeunits_set" "', argument " "2"" of type '" "int""'");
   24120             :     } 
   24121           0 :     arg2 = (int)(val2);
   24122           0 :     if (arg1) (arg1)->sizeunits = arg2;
   24123           0 :     ST(argvi) = sv_newmortal();
   24124             :     
   24125             :     
   24126           0 :     XSRETURN(argvi);
   24127             :   fail:
   24128             :     
   24129             :     
   24130           0 :     SWIG_croak_null();
   24131             :   }
   24132             : }
   24133             : 
   24134             : 
   24135           0 : XS(_wrap_layerObj_sizeunits_get) {
   24136             :   {
   24137             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   24138           0 :     void *argp1 = 0 ;
   24139             :     int res1 = 0 ;
   24140             :     int argvi = 0;
   24141             :     int result;
   24142           0 :     dXSARGS;
   24143             :     
   24144           0 :     if ((items < 1) || (items > 1)) {
   24145           0 :       SWIG_croak("Usage: layerObj_sizeunits_get(self);");
   24146             :     }
   24147           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   24148           0 :     if (!SWIG_IsOK(res1)) {
   24149           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_sizeunits_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   24150             :     }
   24151           0 :     arg1 = (struct layerObj *)(argp1);
   24152           0 :     result = (int) ((arg1)->sizeunits);
   24153           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   24154             :     
   24155           0 :     XSRETURN(argvi);
   24156             :   fail:
   24157             :     
   24158           0 :     SWIG_croak_null();
   24159             :   }
   24160             : }
   24161             : 
   24162             : 
   24163           0 : XS(_wrap_layerObj_maxfeatures_set) {
   24164             :   {
   24165             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   24166             :     int arg2 ;
   24167           0 :     void *argp1 = 0 ;
   24168             :     int res1 = 0 ;
   24169             :     int val2 ;
   24170             :     int ecode2 = 0 ;
   24171             :     int argvi = 0;
   24172           0 :     dXSARGS;
   24173             :     
   24174           0 :     if ((items < 2) || (items > 2)) {
   24175           0 :       SWIG_croak("Usage: layerObj_maxfeatures_set(self,maxfeatures);");
   24176             :     }
   24177           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   24178           0 :     if (!SWIG_IsOK(res1)) {
   24179           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_maxfeatures_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   24180             :     }
   24181           0 :     arg1 = (struct layerObj *)(argp1);
   24182           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   24183           0 :     if (!SWIG_IsOK(ecode2)) {
   24184           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_maxfeatures_set" "', argument " "2"" of type '" "int""'");
   24185             :     } 
   24186           0 :     arg2 = (int)(val2);
   24187           0 :     if (arg1) (arg1)->maxfeatures = arg2;
   24188           0 :     ST(argvi) = sv_newmortal();
   24189             :     
   24190             :     
   24191           0 :     XSRETURN(argvi);
   24192             :   fail:
   24193             :     
   24194             :     
   24195           0 :     SWIG_croak_null();
   24196             :   }
   24197             : }
   24198             : 
   24199             : 
   24200           0 : XS(_wrap_layerObj_maxfeatures_get) {
   24201             :   {
   24202             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   24203           0 :     void *argp1 = 0 ;
   24204             :     int res1 = 0 ;
   24205             :     int argvi = 0;
   24206             :     int result;
   24207           0 :     dXSARGS;
   24208             :     
   24209           0 :     if ((items < 1) || (items > 1)) {
   24210           0 :       SWIG_croak("Usage: layerObj_maxfeatures_get(self);");
   24211             :     }
   24212           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   24213           0 :     if (!SWIG_IsOK(res1)) {
   24214           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_maxfeatures_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   24215             :     }
   24216           0 :     arg1 = (struct layerObj *)(argp1);
   24217           0 :     result = (int) ((arg1)->maxfeatures);
   24218           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   24219             :     
   24220           0 :     XSRETURN(argvi);
   24221             :   fail:
   24222             :     
   24223           0 :     SWIG_croak_null();
   24224             :   }
   24225             : }
   24226             : 
   24227             : 
   24228           0 : XS(_wrap_layerObj_startindex_set) {
   24229             :   {
   24230             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   24231             :     int arg2 ;
   24232           0 :     void *argp1 = 0 ;
   24233             :     int res1 = 0 ;
   24234             :     int val2 ;
   24235             :     int ecode2 = 0 ;
   24236             :     int argvi = 0;
   24237           0 :     dXSARGS;
   24238             :     
   24239           0 :     if ((items < 2) || (items > 2)) {
   24240           0 :       SWIG_croak("Usage: layerObj_startindex_set(self,startindex);");
   24241             :     }
   24242           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   24243           0 :     if (!SWIG_IsOK(res1)) {
   24244           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_startindex_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   24245             :     }
   24246           0 :     arg1 = (struct layerObj *)(argp1);
   24247           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   24248           0 :     if (!SWIG_IsOK(ecode2)) {
   24249           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_startindex_set" "', argument " "2"" of type '" "int""'");
   24250             :     } 
   24251           0 :     arg2 = (int)(val2);
   24252           0 :     if (arg1) (arg1)->startindex = arg2;
   24253           0 :     ST(argvi) = sv_newmortal();
   24254             :     
   24255             :     
   24256           0 :     XSRETURN(argvi);
   24257             :   fail:
   24258             :     
   24259             :     
   24260           0 :     SWIG_croak_null();
   24261             :   }
   24262             : }
   24263             : 
   24264             : 
   24265           0 : XS(_wrap_layerObj_startindex_get) {
   24266             :   {
   24267             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   24268           0 :     void *argp1 = 0 ;
   24269             :     int res1 = 0 ;
   24270             :     int argvi = 0;
   24271             :     int result;
   24272           0 :     dXSARGS;
   24273             :     
   24274           0 :     if ((items < 1) || (items > 1)) {
   24275           0 :       SWIG_croak("Usage: layerObj_startindex_get(self);");
   24276             :     }
   24277           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   24278           0 :     if (!SWIG_IsOK(res1)) {
   24279           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_startindex_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   24280             :     }
   24281           0 :     arg1 = (struct layerObj *)(argp1);
   24282           0 :     result = (int) ((arg1)->startindex);
   24283           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   24284             :     
   24285           0 :     XSRETURN(argvi);
   24286             :   fail:
   24287             :     
   24288           0 :     SWIG_croak_null();
   24289             :   }
   24290             : }
   24291             : 
   24292             : 
   24293           0 : XS(_wrap_layerObj_offsite_set) {
   24294             :   {
   24295             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   24296             :     colorObj *arg2 = (colorObj *) 0 ;
   24297           0 :     void *argp1 = 0 ;
   24298             :     int res1 = 0 ;
   24299           0 :     void *argp2 = 0 ;
   24300             :     int res2 = 0 ;
   24301             :     int argvi = 0;
   24302           0 :     dXSARGS;
   24303             :     
   24304           0 :     if ((items < 2) || (items > 2)) {
   24305           0 :       SWIG_croak("Usage: layerObj_offsite_set(self,offsite);");
   24306             :     }
   24307           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   24308           0 :     if (!SWIG_IsOK(res1)) {
   24309           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_offsite_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   24310             :     }
   24311           0 :     arg1 = (struct layerObj *)(argp1);
   24312           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 |  0 );
   24313           0 :     if (!SWIG_IsOK(res2)) {
   24314           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_offsite_set" "', argument " "2"" of type '" "colorObj *""'"); 
   24315             :     }
   24316           0 :     arg2 = (colorObj *)(argp2);
   24317           0 :     if (arg1) (arg1)->offsite = *arg2;
   24318           0 :     ST(argvi) = sv_newmortal();
   24319             :     
   24320             :     
   24321           0 :     XSRETURN(argvi);
   24322             :   fail:
   24323             :     
   24324             :     
   24325           0 :     SWIG_croak_null();
   24326             :   }
   24327             : }
   24328             : 
   24329             : 
   24330           0 : XS(_wrap_layerObj_offsite_get) {
   24331             :   {
   24332             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   24333           0 :     void *argp1 = 0 ;
   24334             :     int res1 = 0 ;
   24335             :     int argvi = 0;
   24336             :     colorObj *result = 0 ;
   24337           0 :     dXSARGS;
   24338             :     
   24339           0 :     if ((items < 1) || (items > 1)) {
   24340           0 :       SWIG_croak("Usage: layerObj_offsite_get(self);");
   24341             :     }
   24342           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   24343           0 :     if (!SWIG_IsOK(res1)) {
   24344           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_offsite_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   24345             :     }
   24346           0 :     arg1 = (struct layerObj *)(argp1);
   24347           0 :     result = (colorObj *)& ((arg1)->offsite);
   24348           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
   24349             :     
   24350           0 :     XSRETURN(argvi);
   24351             :   fail:
   24352             :     
   24353           0 :     SWIG_croak_null();
   24354             :   }
   24355             : }
   24356             : 
   24357             : 
   24358           0 : XS(_wrap_layerObj_transform_set) {
   24359             :   {
   24360             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   24361             :     int arg2 ;
   24362           0 :     void *argp1 = 0 ;
   24363             :     int res1 = 0 ;
   24364             :     int val2 ;
   24365             :     int ecode2 = 0 ;
   24366             :     int argvi = 0;
   24367           0 :     dXSARGS;
   24368             :     
   24369           0 :     if ((items < 2) || (items > 2)) {
   24370           0 :       SWIG_croak("Usage: layerObj_transform_set(self,transform);");
   24371             :     }
   24372           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   24373           0 :     if (!SWIG_IsOK(res1)) {
   24374           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_transform_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   24375             :     }
   24376           0 :     arg1 = (struct layerObj *)(argp1);
   24377           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   24378           0 :     if (!SWIG_IsOK(ecode2)) {
   24379           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_transform_set" "', argument " "2"" of type '" "int""'");
   24380             :     } 
   24381           0 :     arg2 = (int)(val2);
   24382           0 :     if (arg1) (arg1)->transform = arg2;
   24383           0 :     ST(argvi) = sv_newmortal();
   24384             :     
   24385             :     
   24386           0 :     XSRETURN(argvi);
   24387             :   fail:
   24388             :     
   24389             :     
   24390           0 :     SWIG_croak_null();
   24391             :   }
   24392             : }
   24393             : 
   24394             : 
   24395           0 : XS(_wrap_layerObj_transform_get) {
   24396             :   {
   24397             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   24398           0 :     void *argp1 = 0 ;
   24399             :     int res1 = 0 ;
   24400             :     int argvi = 0;
   24401             :     int result;
   24402           0 :     dXSARGS;
   24403             :     
   24404           0 :     if ((items < 1) || (items > 1)) {
   24405           0 :       SWIG_croak("Usage: layerObj_transform_get(self);");
   24406             :     }
   24407           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   24408           0 :     if (!SWIG_IsOK(res1)) {
   24409           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_transform_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   24410             :     }
   24411           0 :     arg1 = (struct layerObj *)(argp1);
   24412           0 :     result = (int) ((arg1)->transform);
   24413           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   24414             :     
   24415           0 :     XSRETURN(argvi);
   24416             :   fail:
   24417             :     
   24418           0 :     SWIG_croak_null();
   24419             :   }
   24420             : }
   24421             : 
   24422             : 
   24423           0 : XS(_wrap_layerObj_labelcache_set) {
   24424             :   {
   24425             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   24426             :     int arg2 ;
   24427           0 :     void *argp1 = 0 ;
   24428             :     int res1 = 0 ;
   24429             :     int val2 ;
   24430             :     int ecode2 = 0 ;
   24431             :     int argvi = 0;
   24432           0 :     dXSARGS;
   24433             :     
   24434           0 :     if ((items < 2) || (items > 2)) {
   24435           0 :       SWIG_croak("Usage: layerObj_labelcache_set(self,labelcache);");
   24436             :     }
   24437           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   24438           0 :     if (!SWIG_IsOK(res1)) {
   24439           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_labelcache_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   24440             :     }
   24441           0 :     arg1 = (struct layerObj *)(argp1);
   24442           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   24443           0 :     if (!SWIG_IsOK(ecode2)) {
   24444           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_labelcache_set" "', argument " "2"" of type '" "int""'");
   24445             :     } 
   24446           0 :     arg2 = (int)(val2);
   24447           0 :     if (arg1) (arg1)->labelcache = arg2;
   24448           0 :     ST(argvi) = sv_newmortal();
   24449             :     
   24450             :     
   24451           0 :     XSRETURN(argvi);
   24452             :   fail:
   24453             :     
   24454             :     
   24455           0 :     SWIG_croak_null();
   24456             :   }
   24457             : }
   24458             : 
   24459             : 
   24460           0 : XS(_wrap_layerObj_labelcache_get) {
   24461             :   {
   24462             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   24463           0 :     void *argp1 = 0 ;
   24464             :     int res1 = 0 ;
   24465             :     int argvi = 0;
   24466             :     int result;
   24467           0 :     dXSARGS;
   24468             :     
   24469           0 :     if ((items < 1) || (items > 1)) {
   24470           0 :       SWIG_croak("Usage: layerObj_labelcache_get(self);");
   24471             :     }
   24472           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   24473           0 :     if (!SWIG_IsOK(res1)) {
   24474           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_labelcache_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   24475             :     }
   24476           0 :     arg1 = (struct layerObj *)(argp1);
   24477           0 :     result = (int) ((arg1)->labelcache);
   24478           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   24479             :     
   24480           0 :     XSRETURN(argvi);
   24481             :   fail:
   24482             :     
   24483           0 :     SWIG_croak_null();
   24484             :   }
   24485             : }
   24486             : 
   24487             : 
   24488           0 : XS(_wrap_layerObj_postlabelcache_set) {
   24489             :   {
   24490             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   24491             :     int arg2 ;
   24492           0 :     void *argp1 = 0 ;
   24493             :     int res1 = 0 ;
   24494             :     int val2 ;
   24495             :     int ecode2 = 0 ;
   24496             :     int argvi = 0;
   24497           0 :     dXSARGS;
   24498             :     
   24499           0 :     if ((items < 2) || (items > 2)) {
   24500           0 :       SWIG_croak("Usage: layerObj_postlabelcache_set(self,postlabelcache);");
   24501             :     }
   24502           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   24503           0 :     if (!SWIG_IsOK(res1)) {
   24504           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_postlabelcache_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   24505             :     }
   24506           0 :     arg1 = (struct layerObj *)(argp1);
   24507           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   24508           0 :     if (!SWIG_IsOK(ecode2)) {
   24509           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_postlabelcache_set" "', argument " "2"" of type '" "int""'");
   24510             :     } 
   24511           0 :     arg2 = (int)(val2);
   24512           0 :     if (arg1) (arg1)->postlabelcache = arg2;
   24513           0 :     ST(argvi) = sv_newmortal();
   24514             :     
   24515             :     
   24516           0 :     XSRETURN(argvi);
   24517             :   fail:
   24518             :     
   24519             :     
   24520           0 :     SWIG_croak_null();
   24521             :   }
   24522             : }
   24523             : 
   24524             : 
   24525           0 : XS(_wrap_layerObj_postlabelcache_get) {
   24526             :   {
   24527             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   24528           0 :     void *argp1 = 0 ;
   24529             :     int res1 = 0 ;
   24530             :     int argvi = 0;
   24531             :     int result;
   24532           0 :     dXSARGS;
   24533             :     
   24534           0 :     if ((items < 1) || (items > 1)) {
   24535           0 :       SWIG_croak("Usage: layerObj_postlabelcache_get(self);");
   24536             :     }
   24537           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   24538           0 :     if (!SWIG_IsOK(res1)) {
   24539           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_postlabelcache_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   24540             :     }
   24541           0 :     arg1 = (struct layerObj *)(argp1);
   24542           0 :     result = (int) ((arg1)->postlabelcache);
   24543           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   24544             :     
   24545           0 :     XSRETURN(argvi);
   24546             :   fail:
   24547             :     
   24548           0 :     SWIG_croak_null();
   24549             :   }
   24550             : }
   24551             : 
   24552             : 
   24553           0 : XS(_wrap_layerObj_labelitem_set) {
   24554             :   {
   24555             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   24556             :     char *arg2 = (char *) 0 ;
   24557           0 :     void *argp1 = 0 ;
   24558             :     int res1 = 0 ;
   24559             :     int res2 ;
   24560           0 :     char *buf2 = 0 ;
   24561           0 :     int alloc2 = 0 ;
   24562             :     int argvi = 0;
   24563           0 :     dXSARGS;
   24564             :     
   24565           0 :     if ((items < 2) || (items > 2)) {
   24566           0 :       SWIG_croak("Usage: layerObj_labelitem_set(self,labelitem);");
   24567             :     }
   24568           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   24569           0 :     if (!SWIG_IsOK(res1)) {
   24570           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_labelitem_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   24571             :     }
   24572           0 :     arg1 = (struct layerObj *)(argp1);
   24573           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   24574           0 :     if (!SWIG_IsOK(res2)) {
   24575           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_labelitem_set" "', argument " "2"" of type '" "char *""'");
   24576             :     }
   24577           0 :     arg2 = (char *)(buf2);
   24578             :     {
   24579           0 :       if (arg1->labelitem) free((char*)arg1->labelitem);
   24580           0 :       if (arg2) {
   24581           0 :         arg1->labelitem = (char *) malloc(strlen(arg2)+1);
   24582             :         strcpy((char*)arg1->labelitem,arg2);
   24583             :       } else {
   24584           0 :         arg1->labelitem = 0;
   24585             :       }
   24586             :     }
   24587           0 :     ST(argvi) = sv_newmortal();
   24588             :     
   24589           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   24590           0 :     XSRETURN(argvi);
   24591             :   fail:
   24592             :     
   24593           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   24594           0 :     SWIG_croak_null();
   24595             :   }
   24596             : }
   24597             : 
   24598             : 
   24599           0 : XS(_wrap_layerObj_labelitem_get) {
   24600             :   {
   24601             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   24602           0 :     void *argp1 = 0 ;
   24603             :     int res1 = 0 ;
   24604             :     int argvi = 0;
   24605             :     char *result = 0 ;
   24606           0 :     dXSARGS;
   24607             :     
   24608           0 :     if ((items < 1) || (items > 1)) {
   24609           0 :       SWIG_croak("Usage: layerObj_labelitem_get(self);");
   24610             :     }
   24611           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   24612           0 :     if (!SWIG_IsOK(res1)) {
   24613           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_labelitem_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   24614             :     }
   24615           0 :     arg1 = (struct layerObj *)(argp1);
   24616           0 :     result = (char *) ((arg1)->labelitem);
   24617           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   24618             :     
   24619           0 :     XSRETURN(argvi);
   24620             :   fail:
   24621             :     
   24622           0 :     SWIG_croak_null();
   24623             :   }
   24624             : }
   24625             : 
   24626             : 
   24627           0 : XS(_wrap_layerObj_tileitem_set) {
   24628             :   {
   24629             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   24630             :     char *arg2 = (char *) 0 ;
   24631           0 :     void *argp1 = 0 ;
   24632             :     int res1 = 0 ;
   24633             :     int res2 ;
   24634           0 :     char *buf2 = 0 ;
   24635           0 :     int alloc2 = 0 ;
   24636             :     int argvi = 0;
   24637           0 :     dXSARGS;
   24638             :     
   24639           0 :     if ((items < 2) || (items > 2)) {
   24640           0 :       SWIG_croak("Usage: layerObj_tileitem_set(self,tileitem);");
   24641             :     }
   24642           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   24643           0 :     if (!SWIG_IsOK(res1)) {
   24644           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_tileitem_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   24645             :     }
   24646           0 :     arg1 = (struct layerObj *)(argp1);
   24647           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   24648           0 :     if (!SWIG_IsOK(res2)) {
   24649           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_tileitem_set" "', argument " "2"" of type '" "char *""'");
   24650             :     }
   24651           0 :     arg2 = (char *)(buf2);
   24652             :     {
   24653           0 :       if (arg1->tileitem) free((char*)arg1->tileitem);
   24654           0 :       if (arg2) {
   24655           0 :         arg1->tileitem = (char *) malloc(strlen(arg2)+1);
   24656             :         strcpy((char*)arg1->tileitem,arg2);
   24657             :       } else {
   24658           0 :         arg1->tileitem = 0;
   24659             :       }
   24660             :     }
   24661           0 :     ST(argvi) = sv_newmortal();
   24662             :     
   24663           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   24664           0 :     XSRETURN(argvi);
   24665             :   fail:
   24666             :     
   24667           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   24668           0 :     SWIG_croak_null();
   24669             :   }
   24670             : }
   24671             : 
   24672             : 
   24673           0 : XS(_wrap_layerObj_tileitem_get) {
   24674             :   {
   24675             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   24676           0 :     void *argp1 = 0 ;
   24677             :     int res1 = 0 ;
   24678             :     int argvi = 0;
   24679             :     char *result = 0 ;
   24680           0 :     dXSARGS;
   24681             :     
   24682           0 :     if ((items < 1) || (items > 1)) {
   24683           0 :       SWIG_croak("Usage: layerObj_tileitem_get(self);");
   24684             :     }
   24685           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   24686           0 :     if (!SWIG_IsOK(res1)) {
   24687           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_tileitem_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   24688             :     }
   24689           0 :     arg1 = (struct layerObj *)(argp1);
   24690           0 :     result = (char *) ((arg1)->tileitem);
   24691           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   24692             :     
   24693           0 :     XSRETURN(argvi);
   24694             :   fail:
   24695             :     
   24696           0 :     SWIG_croak_null();
   24697             :   }
   24698             : }
   24699             : 
   24700             : 
   24701           0 : XS(_wrap_layerObj_tileindex_set) {
   24702             :   {
   24703             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   24704             :     char *arg2 = (char *) 0 ;
   24705           0 :     void *argp1 = 0 ;
   24706             :     int res1 = 0 ;
   24707             :     int res2 ;
   24708           0 :     char *buf2 = 0 ;
   24709           0 :     int alloc2 = 0 ;
   24710             :     int argvi = 0;
   24711           0 :     dXSARGS;
   24712             :     
   24713           0 :     if ((items < 2) || (items > 2)) {
   24714           0 :       SWIG_croak("Usage: layerObj_tileindex_set(self,tileindex);");
   24715             :     }
   24716           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   24717           0 :     if (!SWIG_IsOK(res1)) {
   24718           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_tileindex_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   24719             :     }
   24720           0 :     arg1 = (struct layerObj *)(argp1);
   24721           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   24722           0 :     if (!SWIG_IsOK(res2)) {
   24723           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_tileindex_set" "', argument " "2"" of type '" "char *""'");
   24724             :     }
   24725           0 :     arg2 = (char *)(buf2);
   24726             :     {
   24727           0 :       if (arg1->tileindex) free((char*)arg1->tileindex);
   24728           0 :       if (arg2) {
   24729           0 :         arg1->tileindex = (char *) malloc(strlen(arg2)+1);
   24730             :         strcpy((char*)arg1->tileindex,arg2);
   24731             :       } else {
   24732           0 :         arg1->tileindex = 0;
   24733             :       }
   24734             :     }
   24735           0 :     ST(argvi) = sv_newmortal();
   24736             :     
   24737           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   24738           0 :     XSRETURN(argvi);
   24739             :   fail:
   24740             :     
   24741           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   24742           0 :     SWIG_croak_null();
   24743             :   }
   24744             : }
   24745             : 
   24746             : 
   24747           0 : XS(_wrap_layerObj_tileindex_get) {
   24748             :   {
   24749             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   24750           0 :     void *argp1 = 0 ;
   24751             :     int res1 = 0 ;
   24752             :     int argvi = 0;
   24753             :     char *result = 0 ;
   24754           0 :     dXSARGS;
   24755             :     
   24756           0 :     if ((items < 1) || (items > 1)) {
   24757           0 :       SWIG_croak("Usage: layerObj_tileindex_get(self);");
   24758             :     }
   24759           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   24760           0 :     if (!SWIG_IsOK(res1)) {
   24761           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_tileindex_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   24762             :     }
   24763           0 :     arg1 = (struct layerObj *)(argp1);
   24764           0 :     result = (char *) ((arg1)->tileindex);
   24765           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   24766             :     
   24767           0 :     XSRETURN(argvi);
   24768             :   fail:
   24769             :     
   24770           0 :     SWIG_croak_null();
   24771             :   }
   24772             : }
   24773             : 
   24774             : 
   24775           0 : XS(_wrap_layerObj_tilesrs_set) {
   24776             :   {
   24777             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   24778             :     char *arg2 = (char *) 0 ;
   24779           0 :     void *argp1 = 0 ;
   24780             :     int res1 = 0 ;
   24781             :     int res2 ;
   24782           0 :     char *buf2 = 0 ;
   24783           0 :     int alloc2 = 0 ;
   24784             :     int argvi = 0;
   24785           0 :     dXSARGS;
   24786             :     
   24787           0 :     if ((items < 2) || (items > 2)) {
   24788           0 :       SWIG_croak("Usage: layerObj_tilesrs_set(self,tilesrs);");
   24789             :     }
   24790           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   24791           0 :     if (!SWIG_IsOK(res1)) {
   24792           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_tilesrs_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   24793             :     }
   24794           0 :     arg1 = (struct layerObj *)(argp1);
   24795           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   24796           0 :     if (!SWIG_IsOK(res2)) {
   24797           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_tilesrs_set" "', argument " "2"" of type '" "char *""'");
   24798             :     }
   24799           0 :     arg2 = (char *)(buf2);
   24800             :     {
   24801           0 :       if (arg1->tilesrs) free((char*)arg1->tilesrs);
   24802           0 :       if (arg2) {
   24803           0 :         arg1->tilesrs = (char *) malloc(strlen(arg2)+1);
   24804             :         strcpy((char*)arg1->tilesrs,arg2);
   24805             :       } else {
   24806           0 :         arg1->tilesrs = 0;
   24807             :       }
   24808             :     }
   24809           0 :     ST(argvi) = sv_newmortal();
   24810             :     
   24811           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   24812           0 :     XSRETURN(argvi);
   24813             :   fail:
   24814             :     
   24815           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   24816           0 :     SWIG_croak_null();
   24817             :   }
   24818             : }
   24819             : 
   24820             : 
   24821           0 : XS(_wrap_layerObj_tilesrs_get) {
   24822             :   {
   24823             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   24824           0 :     void *argp1 = 0 ;
   24825             :     int res1 = 0 ;
   24826             :     int argvi = 0;
   24827             :     char *result = 0 ;
   24828           0 :     dXSARGS;
   24829             :     
   24830           0 :     if ((items < 1) || (items > 1)) {
   24831           0 :       SWIG_croak("Usage: layerObj_tilesrs_get(self);");
   24832             :     }
   24833           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   24834           0 :     if (!SWIG_IsOK(res1)) {
   24835           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_tilesrs_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   24836             :     }
   24837           0 :     arg1 = (struct layerObj *)(argp1);
   24838           0 :     result = (char *) ((arg1)->tilesrs);
   24839           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   24840             :     
   24841           0 :     XSRETURN(argvi);
   24842             :   fail:
   24843             :     
   24844           0 :     SWIG_croak_null();
   24845             :   }
   24846             : }
   24847             : 
   24848             : 
   24849           0 : XS(_wrap_layerObj_units_set) {
   24850             :   {
   24851             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   24852             :     int arg2 ;
   24853           0 :     void *argp1 = 0 ;
   24854             :     int res1 = 0 ;
   24855             :     int val2 ;
   24856             :     int ecode2 = 0 ;
   24857             :     int argvi = 0;
   24858           0 :     dXSARGS;
   24859             :     
   24860           0 :     if ((items < 2) || (items > 2)) {
   24861           0 :       SWIG_croak("Usage: layerObj_units_set(self,units);");
   24862             :     }
   24863           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   24864           0 :     if (!SWIG_IsOK(res1)) {
   24865           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_units_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   24866             :     }
   24867           0 :     arg1 = (struct layerObj *)(argp1);
   24868           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   24869           0 :     if (!SWIG_IsOK(ecode2)) {
   24870           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_units_set" "', argument " "2"" of type '" "int""'");
   24871             :     } 
   24872           0 :     arg2 = (int)(val2);
   24873           0 :     if (arg1) (arg1)->units = arg2;
   24874           0 :     ST(argvi) = sv_newmortal();
   24875             :     
   24876             :     
   24877           0 :     XSRETURN(argvi);
   24878             :   fail:
   24879             :     
   24880             :     
   24881           0 :     SWIG_croak_null();
   24882             :   }
   24883             : }
   24884             : 
   24885             : 
   24886           0 : XS(_wrap_layerObj_units_get) {
   24887             :   {
   24888             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   24889           0 :     void *argp1 = 0 ;
   24890             :     int res1 = 0 ;
   24891             :     int argvi = 0;
   24892             :     int result;
   24893           0 :     dXSARGS;
   24894             :     
   24895           0 :     if ((items < 1) || (items > 1)) {
   24896           0 :       SWIG_croak("Usage: layerObj_units_get(self);");
   24897             :     }
   24898           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   24899           0 :     if (!SWIG_IsOK(res1)) {
   24900           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_units_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   24901             :     }
   24902           0 :     arg1 = (struct layerObj *)(argp1);
   24903           0 :     result = (int) ((arg1)->units);
   24904           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   24905             :     
   24906           0 :     XSRETURN(argvi);
   24907             :   fail:
   24908             :     
   24909           0 :     SWIG_croak_null();
   24910             :   }
   24911             : }
   24912             : 
   24913             : 
   24914           0 : XS(_wrap_layerObj_connection_set) {
   24915             :   {
   24916             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   24917             :     char *arg2 = (char *) 0 ;
   24918           0 :     void *argp1 = 0 ;
   24919             :     int res1 = 0 ;
   24920             :     int res2 ;
   24921           0 :     char *buf2 = 0 ;
   24922           0 :     int alloc2 = 0 ;
   24923             :     int argvi = 0;
   24924           0 :     dXSARGS;
   24925             :     
   24926           0 :     if ((items < 2) || (items > 2)) {
   24927           0 :       SWIG_croak("Usage: layerObj_connection_set(self,connection);");
   24928             :     }
   24929           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   24930           0 :     if (!SWIG_IsOK(res1)) {
   24931           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_connection_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   24932             :     }
   24933           0 :     arg1 = (struct layerObj *)(argp1);
   24934           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   24935           0 :     if (!SWIG_IsOK(res2)) {
   24936           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_connection_set" "', argument " "2"" of type '" "char *""'");
   24937             :     }
   24938           0 :     arg2 = (char *)(buf2);
   24939             :     {
   24940           0 :       if (arg1->connection) free((char*)arg1->connection);
   24941           0 :       if (arg2) {
   24942           0 :         arg1->connection = (char *) malloc(strlen(arg2)+1);
   24943             :         strcpy((char*)arg1->connection,arg2);
   24944             :       } else {
   24945           0 :         arg1->connection = 0;
   24946             :       }
   24947             :     }
   24948           0 :     ST(argvi) = sv_newmortal();
   24949             :     
   24950           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   24951           0 :     XSRETURN(argvi);
   24952             :   fail:
   24953             :     
   24954           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   24955           0 :     SWIG_croak_null();
   24956             :   }
   24957             : }
   24958             : 
   24959             : 
   24960           0 : XS(_wrap_layerObj_connection_get) {
   24961             :   {
   24962             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   24963           0 :     void *argp1 = 0 ;
   24964             :     int res1 = 0 ;
   24965             :     int argvi = 0;
   24966             :     char *result = 0 ;
   24967           0 :     dXSARGS;
   24968             :     
   24969           0 :     if ((items < 1) || (items > 1)) {
   24970           0 :       SWIG_croak("Usage: layerObj_connection_get(self);");
   24971             :     }
   24972           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   24973           0 :     if (!SWIG_IsOK(res1)) {
   24974           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_connection_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   24975             :     }
   24976           0 :     arg1 = (struct layerObj *)(argp1);
   24977           0 :     result = (char *) ((arg1)->connection);
   24978           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   24979             :     
   24980           0 :     XSRETURN(argvi);
   24981             :   fail:
   24982             :     
   24983           0 :     SWIG_croak_null();
   24984             :   }
   24985             : }
   24986             : 
   24987             : 
   24988           0 : XS(_wrap_layerObj_plugin_library_set) {
   24989             :   {
   24990             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   24991             :     char *arg2 = (char *) 0 ;
   24992           0 :     void *argp1 = 0 ;
   24993             :     int res1 = 0 ;
   24994             :     int res2 ;
   24995           0 :     char *buf2 = 0 ;
   24996           0 :     int alloc2 = 0 ;
   24997             :     int argvi = 0;
   24998           0 :     dXSARGS;
   24999             :     
   25000           0 :     if ((items < 2) || (items > 2)) {
   25001           0 :       SWIG_croak("Usage: layerObj_plugin_library_set(self,plugin_library);");
   25002             :     }
   25003           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   25004           0 :     if (!SWIG_IsOK(res1)) {
   25005           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_plugin_library_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   25006             :     }
   25007           0 :     arg1 = (struct layerObj *)(argp1);
   25008           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   25009           0 :     if (!SWIG_IsOK(res2)) {
   25010           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_plugin_library_set" "', argument " "2"" of type '" "char *""'");
   25011             :     }
   25012           0 :     arg2 = (char *)(buf2);
   25013             :     {
   25014           0 :       if (arg1->plugin_library) free((char*)arg1->plugin_library);
   25015           0 :       if (arg2) {
   25016           0 :         arg1->plugin_library = (char *) malloc(strlen(arg2)+1);
   25017             :         strcpy((char*)arg1->plugin_library,arg2);
   25018             :       } else {
   25019           0 :         arg1->plugin_library = 0;
   25020             :       }
   25021             :     }
   25022           0 :     ST(argvi) = sv_newmortal();
   25023             :     
   25024           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   25025           0 :     XSRETURN(argvi);
   25026             :   fail:
   25027             :     
   25028           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   25029           0 :     SWIG_croak_null();
   25030             :   }
   25031             : }
   25032             : 
   25033             : 
   25034           0 : XS(_wrap_layerObj_plugin_library_get) {
   25035             :   {
   25036             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   25037           0 :     void *argp1 = 0 ;
   25038             :     int res1 = 0 ;
   25039             :     int argvi = 0;
   25040             :     char *result = 0 ;
   25041           0 :     dXSARGS;
   25042             :     
   25043           0 :     if ((items < 1) || (items > 1)) {
   25044           0 :       SWIG_croak("Usage: layerObj_plugin_library_get(self);");
   25045             :     }
   25046           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   25047           0 :     if (!SWIG_IsOK(res1)) {
   25048           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_plugin_library_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   25049             :     }
   25050           0 :     arg1 = (struct layerObj *)(argp1);
   25051           0 :     result = (char *) ((arg1)->plugin_library);
   25052           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   25053             :     
   25054           0 :     XSRETURN(argvi);
   25055             :   fail:
   25056             :     
   25057           0 :     SWIG_croak_null();
   25058             :   }
   25059             : }
   25060             : 
   25061             : 
   25062           0 : XS(_wrap_layerObj_plugin_library_original_set) {
   25063             :   {
   25064             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   25065             :     char *arg2 = (char *) 0 ;
   25066           0 :     void *argp1 = 0 ;
   25067             :     int res1 = 0 ;
   25068             :     int res2 ;
   25069           0 :     char *buf2 = 0 ;
   25070           0 :     int alloc2 = 0 ;
   25071             :     int argvi = 0;
   25072           0 :     dXSARGS;
   25073             :     
   25074           0 :     if ((items < 2) || (items > 2)) {
   25075           0 :       SWIG_croak("Usage: layerObj_plugin_library_original_set(self,plugin_library_original);");
   25076             :     }
   25077           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   25078           0 :     if (!SWIG_IsOK(res1)) {
   25079           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_plugin_library_original_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   25080             :     }
   25081           0 :     arg1 = (struct layerObj *)(argp1);
   25082           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   25083           0 :     if (!SWIG_IsOK(res2)) {
   25084           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_plugin_library_original_set" "', argument " "2"" of type '" "char *""'");
   25085             :     }
   25086           0 :     arg2 = (char *)(buf2);
   25087             :     {
   25088           0 :       if (arg1->plugin_library_original) free((char*)arg1->plugin_library_original);
   25089           0 :       if (arg2) {
   25090           0 :         arg1->plugin_library_original = (char *) malloc(strlen(arg2)+1);
   25091             :         strcpy((char*)arg1->plugin_library_original,arg2);
   25092             :       } else {
   25093           0 :         arg1->plugin_library_original = 0;
   25094             :       }
   25095             :     }
   25096           0 :     ST(argvi) = sv_newmortal();
   25097             :     
   25098           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   25099           0 :     XSRETURN(argvi);
   25100             :   fail:
   25101             :     
   25102           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   25103           0 :     SWIG_croak_null();
   25104             :   }
   25105             : }
   25106             : 
   25107             : 
   25108           0 : XS(_wrap_layerObj_plugin_library_original_get) {
   25109             :   {
   25110             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   25111           0 :     void *argp1 = 0 ;
   25112             :     int res1 = 0 ;
   25113             :     int argvi = 0;
   25114             :     char *result = 0 ;
   25115           0 :     dXSARGS;
   25116             :     
   25117           0 :     if ((items < 1) || (items > 1)) {
   25118           0 :       SWIG_croak("Usage: layerObj_plugin_library_original_get(self);");
   25119             :     }
   25120           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   25121           0 :     if (!SWIG_IsOK(res1)) {
   25122           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_plugin_library_original_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   25123             :     }
   25124           0 :     arg1 = (struct layerObj *)(argp1);
   25125           0 :     result = (char *) ((arg1)->plugin_library_original);
   25126           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   25127             :     
   25128           0 :     XSRETURN(argvi);
   25129             :   fail:
   25130             :     
   25131           0 :     SWIG_croak_null();
   25132             :   }
   25133             : }
   25134             : 
   25135             : 
   25136           0 : XS(_wrap_layerObj_connectiontype_set) {
   25137             :   {
   25138             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   25139             :     enum MS_CONNECTION_TYPE arg2 ;
   25140           0 :     void *argp1 = 0 ;
   25141             :     int res1 = 0 ;
   25142             :     int val2 ;
   25143             :     int ecode2 = 0 ;
   25144             :     int argvi = 0;
   25145           0 :     dXSARGS;
   25146             :     
   25147           0 :     if ((items < 2) || (items > 2)) {
   25148           0 :       SWIG_croak("Usage: layerObj_connectiontype_set(self,connectiontype);");
   25149             :     }
   25150           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   25151           0 :     if (!SWIG_IsOK(res1)) {
   25152           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_connectiontype_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   25153             :     }
   25154           0 :     arg1 = (struct layerObj *)(argp1);
   25155           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   25156           0 :     if (!SWIG_IsOK(ecode2)) {
   25157           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_connectiontype_set" "', argument " "2"" of type '" "enum MS_CONNECTION_TYPE""'");
   25158             :     } 
   25159           0 :     arg2 = (enum MS_CONNECTION_TYPE)(val2);
   25160           0 :     if (arg1) (arg1)->connectiontype = arg2;
   25161           0 :     ST(argvi) = sv_newmortal();
   25162             :     
   25163             :     
   25164           0 :     XSRETURN(argvi);
   25165             :   fail:
   25166             :     
   25167             :     
   25168           0 :     SWIG_croak_null();
   25169             :   }
   25170             : }
   25171             : 
   25172             : 
   25173           0 : XS(_wrap_layerObj_connectiontype_get) {
   25174             :   {
   25175             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   25176           0 :     void *argp1 = 0 ;
   25177             :     int res1 = 0 ;
   25178             :     int argvi = 0;
   25179             :     enum MS_CONNECTION_TYPE result;
   25180           0 :     dXSARGS;
   25181             :     
   25182           0 :     if ((items < 1) || (items > 1)) {
   25183           0 :       SWIG_croak("Usage: layerObj_connectiontype_get(self);");
   25184             :     }
   25185           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   25186           0 :     if (!SWIG_IsOK(res1)) {
   25187           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_connectiontype_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   25188             :     }
   25189           0 :     arg1 = (struct layerObj *)(argp1);
   25190           0 :     result = (enum MS_CONNECTION_TYPE) ((arg1)->connectiontype);
   25191           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   25192             :     
   25193           0 :     XSRETURN(argvi);
   25194             :   fail:
   25195             :     
   25196           0 :     SWIG_croak_null();
   25197             :   }
   25198             : }
   25199             : 
   25200             : 
   25201           0 : XS(_wrap_layerObj_numitems_get) {
   25202             :   {
   25203             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   25204           0 :     void *argp1 = 0 ;
   25205             :     int res1 = 0 ;
   25206             :     int argvi = 0;
   25207             :     int result;
   25208           0 :     dXSARGS;
   25209             :     
   25210           0 :     if ((items < 1) || (items > 1)) {
   25211           0 :       SWIG_croak("Usage: layerObj_numitems_get(self);");
   25212             :     }
   25213           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   25214           0 :     if (!SWIG_IsOK(res1)) {
   25215           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_numitems_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   25216             :     }
   25217           0 :     arg1 = (struct layerObj *)(argp1);
   25218           0 :     result = (int) ((arg1)->numitems);
   25219           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   25220             :     
   25221           0 :     XSRETURN(argvi);
   25222             :   fail:
   25223             :     
   25224           0 :     SWIG_croak_null();
   25225             :   }
   25226             : }
   25227             : 
   25228             : 
   25229           0 : XS(_wrap_layerObj_bandsitem_set) {
   25230             :   {
   25231             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   25232             :     char *arg2 = (char *) 0 ;
   25233           0 :     void *argp1 = 0 ;
   25234             :     int res1 = 0 ;
   25235             :     int res2 ;
   25236           0 :     char *buf2 = 0 ;
   25237           0 :     int alloc2 = 0 ;
   25238             :     int argvi = 0;
   25239           0 :     dXSARGS;
   25240             :     
   25241           0 :     if ((items < 2) || (items > 2)) {
   25242           0 :       SWIG_croak("Usage: layerObj_bandsitem_set(self,bandsitem);");
   25243             :     }
   25244           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   25245           0 :     if (!SWIG_IsOK(res1)) {
   25246           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_bandsitem_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   25247             :     }
   25248           0 :     arg1 = (struct layerObj *)(argp1);
   25249           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   25250           0 :     if (!SWIG_IsOK(res2)) {
   25251           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_bandsitem_set" "', argument " "2"" of type '" "char *""'");
   25252             :     }
   25253           0 :     arg2 = (char *)(buf2);
   25254             :     {
   25255           0 :       if (arg1->bandsitem) free((char*)arg1->bandsitem);
   25256           0 :       if (arg2) {
   25257           0 :         arg1->bandsitem = (char *) malloc(strlen(arg2)+1);
   25258             :         strcpy((char*)arg1->bandsitem,arg2);
   25259             :       } else {
   25260           0 :         arg1->bandsitem = 0;
   25261             :       }
   25262             :     }
   25263           0 :     ST(argvi) = sv_newmortal();
   25264             :     
   25265           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   25266           0 :     XSRETURN(argvi);
   25267             :   fail:
   25268             :     
   25269           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   25270           0 :     SWIG_croak_null();
   25271             :   }
   25272             : }
   25273             : 
   25274             : 
   25275           0 : XS(_wrap_layerObj_bandsitem_get) {
   25276             :   {
   25277             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   25278           0 :     void *argp1 = 0 ;
   25279             :     int res1 = 0 ;
   25280             :     int argvi = 0;
   25281             :     char *result = 0 ;
   25282           0 :     dXSARGS;
   25283             :     
   25284           0 :     if ((items < 1) || (items > 1)) {
   25285           0 :       SWIG_croak("Usage: layerObj_bandsitem_get(self);");
   25286             :     }
   25287           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   25288           0 :     if (!SWIG_IsOK(res1)) {
   25289           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_bandsitem_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   25290             :     }
   25291           0 :     arg1 = (struct layerObj *)(argp1);
   25292           0 :     result = (char *) ((arg1)->bandsitem);
   25293           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   25294             :     
   25295           0 :     XSRETURN(argvi);
   25296             :   fail:
   25297             :     
   25298           0 :     SWIG_croak_null();
   25299             :   }
   25300             : }
   25301             : 
   25302             : 
   25303           0 : XS(_wrap_layerObj_filteritem_set) {
   25304             :   {
   25305             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   25306             :     char *arg2 = (char *) 0 ;
   25307           0 :     void *argp1 = 0 ;
   25308             :     int res1 = 0 ;
   25309             :     int res2 ;
   25310           0 :     char *buf2 = 0 ;
   25311           0 :     int alloc2 = 0 ;
   25312             :     int argvi = 0;
   25313           0 :     dXSARGS;
   25314             :     
   25315           0 :     if ((items < 2) || (items > 2)) {
   25316           0 :       SWIG_croak("Usage: layerObj_filteritem_set(self,filteritem);");
   25317             :     }
   25318           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   25319           0 :     if (!SWIG_IsOK(res1)) {
   25320           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_filteritem_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   25321             :     }
   25322           0 :     arg1 = (struct layerObj *)(argp1);
   25323           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   25324           0 :     if (!SWIG_IsOK(res2)) {
   25325           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_filteritem_set" "', argument " "2"" of type '" "char *""'");
   25326             :     }
   25327           0 :     arg2 = (char *)(buf2);
   25328             :     {
   25329           0 :       if (arg1->filteritem) free((char*)arg1->filteritem);
   25330           0 :       if (arg2) {
   25331           0 :         arg1->filteritem = (char *) malloc(strlen(arg2)+1);
   25332             :         strcpy((char*)arg1->filteritem,arg2);
   25333             :       } else {
   25334           0 :         arg1->filteritem = 0;
   25335             :       }
   25336             :     }
   25337           0 :     ST(argvi) = sv_newmortal();
   25338             :     
   25339           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   25340           0 :     XSRETURN(argvi);
   25341             :   fail:
   25342             :     
   25343           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   25344           0 :     SWIG_croak_null();
   25345             :   }
   25346             : }
   25347             : 
   25348             : 
   25349           0 : XS(_wrap_layerObj_filteritem_get) {
   25350             :   {
   25351             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   25352           0 :     void *argp1 = 0 ;
   25353             :     int res1 = 0 ;
   25354             :     int argvi = 0;
   25355             :     char *result = 0 ;
   25356           0 :     dXSARGS;
   25357             :     
   25358           0 :     if ((items < 1) || (items > 1)) {
   25359           0 :       SWIG_croak("Usage: layerObj_filteritem_get(self);");
   25360             :     }
   25361           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   25362           0 :     if (!SWIG_IsOK(res1)) {
   25363           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_filteritem_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   25364             :     }
   25365           0 :     arg1 = (struct layerObj *)(argp1);
   25366           0 :     result = (char *) ((arg1)->filteritem);
   25367           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   25368             :     
   25369           0 :     XSRETURN(argvi);
   25370             :   fail:
   25371             :     
   25372           0 :     SWIG_croak_null();
   25373             :   }
   25374             : }
   25375             : 
   25376             : 
   25377           0 : XS(_wrap_layerObj_styleitem_set) {
   25378             :   {
   25379             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   25380             :     char *arg2 = (char *) 0 ;
   25381           0 :     void *argp1 = 0 ;
   25382             :     int res1 = 0 ;
   25383             :     int res2 ;
   25384           0 :     char *buf2 = 0 ;
   25385           0 :     int alloc2 = 0 ;
   25386             :     int argvi = 0;
   25387           0 :     dXSARGS;
   25388             :     
   25389           0 :     if ((items < 2) || (items > 2)) {
   25390           0 :       SWIG_croak("Usage: layerObj_styleitem_set(self,styleitem);");
   25391             :     }
   25392           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   25393           0 :     if (!SWIG_IsOK(res1)) {
   25394           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_styleitem_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   25395             :     }
   25396           0 :     arg1 = (struct layerObj *)(argp1);
   25397           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   25398           0 :     if (!SWIG_IsOK(res2)) {
   25399           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_styleitem_set" "', argument " "2"" of type '" "char *""'");
   25400             :     }
   25401           0 :     arg2 = (char *)(buf2);
   25402             :     {
   25403           0 :       if (arg1->styleitem) free((char*)arg1->styleitem);
   25404           0 :       if (arg2) {
   25405           0 :         arg1->styleitem = (char *) malloc(strlen(arg2)+1);
   25406             :         strcpy((char*)arg1->styleitem,arg2);
   25407             :       } else {
   25408           0 :         arg1->styleitem = 0;
   25409             :       }
   25410             :     }
   25411           0 :     ST(argvi) = sv_newmortal();
   25412             :     
   25413           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   25414           0 :     XSRETURN(argvi);
   25415             :   fail:
   25416             :     
   25417           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   25418           0 :     SWIG_croak_null();
   25419             :   }
   25420             : }
   25421             : 
   25422             : 
   25423           0 : XS(_wrap_layerObj_styleitem_get) {
   25424             :   {
   25425             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   25426           0 :     void *argp1 = 0 ;
   25427             :     int res1 = 0 ;
   25428             :     int argvi = 0;
   25429             :     char *result = 0 ;
   25430           0 :     dXSARGS;
   25431             :     
   25432           0 :     if ((items < 1) || (items > 1)) {
   25433           0 :       SWIG_croak("Usage: layerObj_styleitem_get(self);");
   25434             :     }
   25435           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   25436           0 :     if (!SWIG_IsOK(res1)) {
   25437           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_styleitem_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   25438             :     }
   25439           0 :     arg1 = (struct layerObj *)(argp1);
   25440           0 :     result = (char *) ((arg1)->styleitem);
   25441           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   25442             :     
   25443           0 :     XSRETURN(argvi);
   25444             :   fail:
   25445             :     
   25446           0 :     SWIG_croak_null();
   25447             :   }
   25448             : }
   25449             : 
   25450             : 
   25451           0 : XS(_wrap_layerObj_requires_set) {
   25452             :   {
   25453             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   25454             :     char *arg2 = (char *) 0 ;
   25455           0 :     void *argp1 = 0 ;
   25456             :     int res1 = 0 ;
   25457             :     int res2 ;
   25458           0 :     char *buf2 = 0 ;
   25459           0 :     int alloc2 = 0 ;
   25460             :     int argvi = 0;
   25461           0 :     dXSARGS;
   25462             :     
   25463           0 :     if ((items < 2) || (items > 2)) {
   25464           0 :       SWIG_croak("Usage: layerObj_requires_set(self,requires);");
   25465             :     }
   25466           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   25467           0 :     if (!SWIG_IsOK(res1)) {
   25468           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_requires_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   25469             :     }
   25470           0 :     arg1 = (struct layerObj *)(argp1);
   25471           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   25472           0 :     if (!SWIG_IsOK(res2)) {
   25473           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_requires_set" "', argument " "2"" of type '" "char *""'");
   25474             :     }
   25475           0 :     arg2 = (char *)(buf2);
   25476             :     {
   25477           0 :       if (arg1->requires) free((char*)arg1->requires);
   25478           0 :       if (arg2) {
   25479           0 :         arg1->requires = (char *) malloc(strlen(arg2)+1);
   25480             :         strcpy((char*)arg1->requires,arg2);
   25481             :       } else {
   25482           0 :         arg1->requires = 0;
   25483             :       }
   25484             :     }
   25485           0 :     ST(argvi) = sv_newmortal();
   25486             :     
   25487           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   25488           0 :     XSRETURN(argvi);
   25489             :   fail:
   25490             :     
   25491           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   25492           0 :     SWIG_croak_null();
   25493             :   }
   25494             : }
   25495             : 
   25496             : 
   25497           0 : XS(_wrap_layerObj_requires_get) {
   25498             :   {
   25499             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   25500           0 :     void *argp1 = 0 ;
   25501             :     int res1 = 0 ;
   25502             :     int argvi = 0;
   25503             :     char *result = 0 ;
   25504           0 :     dXSARGS;
   25505             :     
   25506           0 :     if ((items < 1) || (items > 1)) {
   25507           0 :       SWIG_croak("Usage: layerObj_requires_get(self);");
   25508             :     }
   25509           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   25510           0 :     if (!SWIG_IsOK(res1)) {
   25511           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_requires_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   25512             :     }
   25513           0 :     arg1 = (struct layerObj *)(argp1);
   25514           0 :     result = (char *) ((arg1)->requires);
   25515           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   25516             :     
   25517           0 :     XSRETURN(argvi);
   25518             :   fail:
   25519             :     
   25520           0 :     SWIG_croak_null();
   25521             :   }
   25522             : }
   25523             : 
   25524             : 
   25525           0 : XS(_wrap_layerObj_labelrequires_set) {
   25526             :   {
   25527             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   25528             :     char *arg2 = (char *) 0 ;
   25529           0 :     void *argp1 = 0 ;
   25530             :     int res1 = 0 ;
   25531             :     int res2 ;
   25532           0 :     char *buf2 = 0 ;
   25533           0 :     int alloc2 = 0 ;
   25534             :     int argvi = 0;
   25535           0 :     dXSARGS;
   25536             :     
   25537           0 :     if ((items < 2) || (items > 2)) {
   25538           0 :       SWIG_croak("Usage: layerObj_labelrequires_set(self,labelrequires);");
   25539             :     }
   25540           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   25541           0 :     if (!SWIG_IsOK(res1)) {
   25542           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_labelrequires_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   25543             :     }
   25544           0 :     arg1 = (struct layerObj *)(argp1);
   25545           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   25546           0 :     if (!SWIG_IsOK(res2)) {
   25547           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_labelrequires_set" "', argument " "2"" of type '" "char *""'");
   25548             :     }
   25549           0 :     arg2 = (char *)(buf2);
   25550             :     {
   25551           0 :       if (arg1->labelrequires) free((char*)arg1->labelrequires);
   25552           0 :       if (arg2) {
   25553           0 :         arg1->labelrequires = (char *) malloc(strlen(arg2)+1);
   25554             :         strcpy((char*)arg1->labelrequires,arg2);
   25555             :       } else {
   25556           0 :         arg1->labelrequires = 0;
   25557             :       }
   25558             :     }
   25559           0 :     ST(argvi) = sv_newmortal();
   25560             :     
   25561           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   25562           0 :     XSRETURN(argvi);
   25563             :   fail:
   25564             :     
   25565           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   25566           0 :     SWIG_croak_null();
   25567             :   }
   25568             : }
   25569             : 
   25570             : 
   25571           0 : XS(_wrap_layerObj_labelrequires_get) {
   25572             :   {
   25573             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   25574           0 :     void *argp1 = 0 ;
   25575             :     int res1 = 0 ;
   25576             :     int argvi = 0;
   25577             :     char *result = 0 ;
   25578           0 :     dXSARGS;
   25579             :     
   25580           0 :     if ((items < 1) || (items > 1)) {
   25581           0 :       SWIG_croak("Usage: layerObj_labelrequires_get(self);");
   25582             :     }
   25583           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   25584           0 :     if (!SWIG_IsOK(res1)) {
   25585           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_labelrequires_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   25586             :     }
   25587           0 :     arg1 = (struct layerObj *)(argp1);
   25588           0 :     result = (char *) ((arg1)->labelrequires);
   25589           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   25590             :     
   25591           0 :     XSRETURN(argvi);
   25592             :   fail:
   25593             :     
   25594           0 :     SWIG_croak_null();
   25595             :   }
   25596             : }
   25597             : 
   25598             : 
   25599           0 : XS(_wrap_layerObj_metadata_get) {
   25600             :   {
   25601             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   25602           0 :     void *argp1 = 0 ;
   25603             :     int res1 = 0 ;
   25604             :     int argvi = 0;
   25605             :     hashTableObj *result = 0 ;
   25606           0 :     dXSARGS;
   25607             :     
   25608           0 :     if ((items < 1) || (items > 1)) {
   25609           0 :       SWIG_croak("Usage: layerObj_metadata_get(self);");
   25610             :     }
   25611           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   25612           0 :     if (!SWIG_IsOK(res1)) {
   25613           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_metadata_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   25614             :     }
   25615           0 :     arg1 = (struct layerObj *)(argp1);
   25616           0 :     result = (hashTableObj *)& ((arg1)->metadata);
   25617           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_hashTableObj, 0 | SWIG_SHADOW); argvi++ ;
   25618             :     
   25619           0 :     XSRETURN(argvi);
   25620             :   fail:
   25621             :     
   25622           0 :     SWIG_croak_null();
   25623             :   }
   25624             : }
   25625             : 
   25626             : 
   25627           0 : XS(_wrap_layerObj_validation_get) {
   25628             :   {
   25629             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   25630           0 :     void *argp1 = 0 ;
   25631             :     int res1 = 0 ;
   25632             :     int argvi = 0;
   25633             :     hashTableObj *result = 0 ;
   25634           0 :     dXSARGS;
   25635             :     
   25636           0 :     if ((items < 1) || (items > 1)) {
   25637           0 :       SWIG_croak("Usage: layerObj_validation_get(self);");
   25638             :     }
   25639           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   25640           0 :     if (!SWIG_IsOK(res1)) {
   25641           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_validation_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   25642             :     }
   25643           0 :     arg1 = (struct layerObj *)(argp1);
   25644           0 :     result = (hashTableObj *)& ((arg1)->validation);
   25645           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_hashTableObj, 0 | SWIG_SHADOW); argvi++ ;
   25646             :     
   25647           0 :     XSRETURN(argvi);
   25648             :   fail:
   25649             :     
   25650           0 :     SWIG_croak_null();
   25651             :   }
   25652             : }
   25653             : 
   25654             : 
   25655           0 : XS(_wrap_layerObj_bindvals_get) {
   25656             :   {
   25657             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   25658           0 :     void *argp1 = 0 ;
   25659             :     int res1 = 0 ;
   25660             :     int argvi = 0;
   25661             :     hashTableObj *result = 0 ;
   25662           0 :     dXSARGS;
   25663             :     
   25664           0 :     if ((items < 1) || (items > 1)) {
   25665           0 :       SWIG_croak("Usage: layerObj_bindvals_get(self);");
   25666             :     }
   25667           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   25668           0 :     if (!SWIG_IsOK(res1)) {
   25669           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_bindvals_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   25670             :     }
   25671           0 :     arg1 = (struct layerObj *)(argp1);
   25672           0 :     result = (hashTableObj *)& ((arg1)->bindvals);
   25673           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_hashTableObj, 0 | SWIG_SHADOW); argvi++ ;
   25674             :     
   25675           0 :     XSRETURN(argvi);
   25676             :   fail:
   25677             :     
   25678           0 :     SWIG_croak_null();
   25679             :   }
   25680             : }
   25681             : 
   25682             : 
   25683           0 : XS(_wrap_layerObj_cluster_get) {
   25684             :   {
   25685             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   25686           0 :     void *argp1 = 0 ;
   25687             :     int res1 = 0 ;
   25688             :     int argvi = 0;
   25689             :     clusterObj *result = 0 ;
   25690           0 :     dXSARGS;
   25691             :     
   25692           0 :     if ((items < 1) || (items > 1)) {
   25693           0 :       SWIG_croak("Usage: layerObj_cluster_get(self);");
   25694             :     }
   25695           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   25696           0 :     if (!SWIG_IsOK(res1)) {
   25697           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_cluster_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   25698             :     }
   25699           0 :     arg1 = (struct layerObj *)(argp1);
   25700           0 :     result = (clusterObj *)& ((arg1)->cluster);
   25701           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_clusterObj, 0 | SWIG_SHADOW); argvi++ ;
   25702             :     
   25703           0 :     XSRETURN(argvi);
   25704             :   fail:
   25705             :     
   25706           0 :     SWIG_croak_null();
   25707             :   }
   25708             : }
   25709             : 
   25710             : 
   25711           0 : XS(_wrap_layerObj_dump_set) {
   25712             :   {
   25713             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   25714             :     int arg2 ;
   25715           0 :     void *argp1 = 0 ;
   25716             :     int res1 = 0 ;
   25717             :     int val2 ;
   25718             :     int ecode2 = 0 ;
   25719             :     int argvi = 0;
   25720           0 :     dXSARGS;
   25721             :     
   25722           0 :     if ((items < 2) || (items > 2)) {
   25723           0 :       SWIG_croak("Usage: layerObj_dump_set(self,dump);");
   25724             :     }
   25725           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   25726           0 :     if (!SWIG_IsOK(res1)) {
   25727           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_dump_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   25728             :     }
   25729           0 :     arg1 = (struct layerObj *)(argp1);
   25730           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   25731           0 :     if (!SWIG_IsOK(ecode2)) {
   25732           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_dump_set" "', argument " "2"" of type '" "int""'");
   25733             :     } 
   25734           0 :     arg2 = (int)(val2);
   25735           0 :     if (arg1) (arg1)->dump = arg2;
   25736           0 :     ST(argvi) = sv_newmortal();
   25737             :     
   25738             :     
   25739           0 :     XSRETURN(argvi);
   25740             :   fail:
   25741             :     
   25742             :     
   25743           0 :     SWIG_croak_null();
   25744             :   }
   25745             : }
   25746             : 
   25747             : 
   25748           0 : XS(_wrap_layerObj_dump_get) {
   25749             :   {
   25750             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   25751           0 :     void *argp1 = 0 ;
   25752             :     int res1 = 0 ;
   25753             :     int argvi = 0;
   25754             :     int result;
   25755           0 :     dXSARGS;
   25756             :     
   25757           0 :     if ((items < 1) || (items > 1)) {
   25758           0 :       SWIG_croak("Usage: layerObj_dump_get(self);");
   25759             :     }
   25760           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   25761           0 :     if (!SWIG_IsOK(res1)) {
   25762           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_dump_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   25763             :     }
   25764           0 :     arg1 = (struct layerObj *)(argp1);
   25765           0 :     result = (int) ((arg1)->dump);
   25766           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   25767             :     
   25768           0 :     XSRETURN(argvi);
   25769             :   fail:
   25770             :     
   25771           0 :     SWIG_croak_null();
   25772             :   }
   25773             : }
   25774             : 
   25775             : 
   25776           0 : XS(_wrap_layerObj_debug_set) {
   25777             :   {
   25778             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   25779             :     int arg2 ;
   25780           0 :     void *argp1 = 0 ;
   25781             :     int res1 = 0 ;
   25782             :     int val2 ;
   25783             :     int ecode2 = 0 ;
   25784             :     int argvi = 0;
   25785           0 :     dXSARGS;
   25786             :     
   25787           0 :     if ((items < 2) || (items > 2)) {
   25788           0 :       SWIG_croak("Usage: layerObj_debug_set(self,debug);");
   25789             :     }
   25790           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   25791           0 :     if (!SWIG_IsOK(res1)) {
   25792           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_debug_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   25793             :     }
   25794           0 :     arg1 = (struct layerObj *)(argp1);
   25795           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   25796           0 :     if (!SWIG_IsOK(ecode2)) {
   25797           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_debug_set" "', argument " "2"" of type '" "int""'");
   25798             :     } 
   25799           0 :     arg2 = (int)(val2);
   25800           0 :     if (arg1) (arg1)->debug = arg2;
   25801           0 :     ST(argvi) = sv_newmortal();
   25802             :     
   25803             :     
   25804           0 :     XSRETURN(argvi);
   25805             :   fail:
   25806             :     
   25807             :     
   25808           0 :     SWIG_croak_null();
   25809             :   }
   25810             : }
   25811             : 
   25812             : 
   25813           0 : XS(_wrap_layerObj_debug_get) {
   25814             :   {
   25815             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   25816           0 :     void *argp1 = 0 ;
   25817             :     int res1 = 0 ;
   25818             :     int argvi = 0;
   25819             :     int result;
   25820           0 :     dXSARGS;
   25821             :     
   25822           0 :     if ((items < 1) || (items > 1)) {
   25823           0 :       SWIG_croak("Usage: layerObj_debug_get(self);");
   25824             :     }
   25825           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   25826           0 :     if (!SWIG_IsOK(res1)) {
   25827           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_debug_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   25828             :     }
   25829           0 :     arg1 = (struct layerObj *)(argp1);
   25830           0 :     result = (int) ((arg1)->debug);
   25831           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   25832             :     
   25833           0 :     XSRETURN(argvi);
   25834             :   fail:
   25835             :     
   25836           0 :     SWIG_croak_null();
   25837             :   }
   25838             : }
   25839             : 
   25840             : 
   25841           0 : XS(_wrap_layerObj_extent_get) {
   25842             :   {
   25843             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   25844           0 :     void *argp1 = 0 ;
   25845             :     int res1 = 0 ;
   25846             :     int argvi = 0;
   25847             :     rectObj *result = 0 ;
   25848           0 :     dXSARGS;
   25849             :     
   25850           0 :     if ((items < 1) || (items > 1)) {
   25851           0 :       SWIG_croak("Usage: layerObj_extent_get(self);");
   25852             :     }
   25853           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   25854           0 :     if (!SWIG_IsOK(res1)) {
   25855           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_extent_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   25856             :     }
   25857           0 :     arg1 = (struct layerObj *)(argp1);
   25858           0 :     result = (rectObj *)& ((arg1)->extent);
   25859           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_rectObj, 0 | SWIG_SHADOW); argvi++ ;
   25860             :     
   25861           0 :     XSRETURN(argvi);
   25862             :   fail:
   25863             :     
   25864           0 :     SWIG_croak_null();
   25865             :   }
   25866             : }
   25867             : 
   25868             : 
   25869           0 : XS(_wrap_layerObj_numprocessing_get) {
   25870             :   {
   25871             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   25872           0 :     void *argp1 = 0 ;
   25873             :     int res1 = 0 ;
   25874             :     int argvi = 0;
   25875             :     int result;
   25876           0 :     dXSARGS;
   25877             :     
   25878           0 :     if ((items < 1) || (items > 1)) {
   25879           0 :       SWIG_croak("Usage: layerObj_numprocessing_get(self);");
   25880             :     }
   25881           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   25882           0 :     if (!SWIG_IsOK(res1)) {
   25883           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_numprocessing_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   25884             :     }
   25885           0 :     arg1 = (struct layerObj *)(argp1);
   25886           0 :     result = (int) ((arg1)->numprocessing);
   25887           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   25888             :     
   25889           0 :     XSRETURN(argvi);
   25890             :   fail:
   25891             :     
   25892           0 :     SWIG_croak_null();
   25893             :   }
   25894             : }
   25895             : 
   25896             : 
   25897           0 : XS(_wrap_layerObj_numjoins_get) {
   25898             :   {
   25899             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   25900           0 :     void *argp1 = 0 ;
   25901             :     int res1 = 0 ;
   25902             :     int argvi = 0;
   25903             :     int result;
   25904           0 :     dXSARGS;
   25905             :     
   25906           0 :     if ((items < 1) || (items > 1)) {
   25907           0 :       SWIG_croak("Usage: layerObj_numjoins_get(self);");
   25908             :     }
   25909           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   25910           0 :     if (!SWIG_IsOK(res1)) {
   25911           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_numjoins_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   25912             :     }
   25913           0 :     arg1 = (struct layerObj *)(argp1);
   25914           0 :     result = (int) ((arg1)->numjoins);
   25915           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   25916             :     
   25917           0 :     XSRETURN(argvi);
   25918             :   fail:
   25919             :     
   25920           0 :     SWIG_croak_null();
   25921             :   }
   25922             : }
   25923             : 
   25924             : 
   25925           0 : XS(_wrap_layerObj_classgroup_set) {
   25926             :   {
   25927             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   25928             :     char *arg2 = (char *) 0 ;
   25929           0 :     void *argp1 = 0 ;
   25930             :     int res1 = 0 ;
   25931             :     int res2 ;
   25932           0 :     char *buf2 = 0 ;
   25933           0 :     int alloc2 = 0 ;
   25934             :     int argvi = 0;
   25935           0 :     dXSARGS;
   25936             :     
   25937           0 :     if ((items < 2) || (items > 2)) {
   25938           0 :       SWIG_croak("Usage: layerObj_classgroup_set(self,classgroup);");
   25939             :     }
   25940           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   25941           0 :     if (!SWIG_IsOK(res1)) {
   25942           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_classgroup_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   25943             :     }
   25944           0 :     arg1 = (struct layerObj *)(argp1);
   25945           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   25946           0 :     if (!SWIG_IsOK(res2)) {
   25947           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_classgroup_set" "', argument " "2"" of type '" "char *""'");
   25948             :     }
   25949           0 :     arg2 = (char *)(buf2);
   25950             :     {
   25951           0 :       if (arg1->classgroup) free((char*)arg1->classgroup);
   25952           0 :       if (arg2) {
   25953           0 :         arg1->classgroup = (char *) malloc(strlen(arg2)+1);
   25954             :         strcpy((char*)arg1->classgroup,arg2);
   25955             :       } else {
   25956           0 :         arg1->classgroup = 0;
   25957             :       }
   25958             :     }
   25959           0 :     ST(argvi) = sv_newmortal();
   25960             :     
   25961           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   25962           0 :     XSRETURN(argvi);
   25963             :   fail:
   25964             :     
   25965           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   25966           0 :     SWIG_croak_null();
   25967             :   }
   25968             : }
   25969             : 
   25970             : 
   25971           0 : XS(_wrap_layerObj_classgroup_get) {
   25972             :   {
   25973             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   25974           0 :     void *argp1 = 0 ;
   25975             :     int res1 = 0 ;
   25976             :     int argvi = 0;
   25977             :     char *result = 0 ;
   25978           0 :     dXSARGS;
   25979             :     
   25980           0 :     if ((items < 1) || (items > 1)) {
   25981           0 :       SWIG_croak("Usage: layerObj_classgroup_get(self);");
   25982             :     }
   25983           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   25984           0 :     if (!SWIG_IsOK(res1)) {
   25985           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_classgroup_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   25986             :     }
   25987           0 :     arg1 = (struct layerObj *)(argp1);
   25988           0 :     result = (char *) ((arg1)->classgroup);
   25989           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   25990             :     
   25991           0 :     XSRETURN(argvi);
   25992             :   fail:
   25993             :     
   25994           0 :     SWIG_croak_null();
   25995             :   }
   25996             : }
   25997             : 
   25998             : 
   25999           0 : XS(_wrap_layerObj_mask_set) {
   26000             :   {
   26001             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   26002             :     char *arg2 = (char *) 0 ;
   26003           0 :     void *argp1 = 0 ;
   26004             :     int res1 = 0 ;
   26005             :     int res2 ;
   26006           0 :     char *buf2 = 0 ;
   26007           0 :     int alloc2 = 0 ;
   26008             :     int argvi = 0;
   26009           0 :     dXSARGS;
   26010             :     
   26011           0 :     if ((items < 2) || (items > 2)) {
   26012           0 :       SWIG_croak("Usage: layerObj_mask_set(self,mask);");
   26013             :     }
   26014           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   26015           0 :     if (!SWIG_IsOK(res1)) {
   26016           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_mask_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   26017             :     }
   26018           0 :     arg1 = (struct layerObj *)(argp1);
   26019           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   26020           0 :     if (!SWIG_IsOK(res2)) {
   26021           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_mask_set" "', argument " "2"" of type '" "char *""'");
   26022             :     }
   26023           0 :     arg2 = (char *)(buf2);
   26024             :     {
   26025           0 :       if (arg1->mask) free((char*)arg1->mask);
   26026           0 :       if (arg2) {
   26027           0 :         arg1->mask = (char *) malloc(strlen(arg2)+1);
   26028             :         strcpy((char*)arg1->mask,arg2);
   26029             :       } else {
   26030           0 :         arg1->mask = 0;
   26031             :       }
   26032             :     }
   26033           0 :     ST(argvi) = sv_newmortal();
   26034             :     
   26035           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   26036           0 :     XSRETURN(argvi);
   26037             :   fail:
   26038             :     
   26039           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   26040           0 :     SWIG_croak_null();
   26041             :   }
   26042             : }
   26043             : 
   26044             : 
   26045           0 : XS(_wrap_layerObj_mask_get) {
   26046             :   {
   26047             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   26048           0 :     void *argp1 = 0 ;
   26049             :     int res1 = 0 ;
   26050             :     int argvi = 0;
   26051             :     char *result = 0 ;
   26052           0 :     dXSARGS;
   26053             :     
   26054           0 :     if ((items < 1) || (items > 1)) {
   26055           0 :       SWIG_croak("Usage: layerObj_mask_get(self);");
   26056             :     }
   26057           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   26058           0 :     if (!SWIG_IsOK(res1)) {
   26059           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_mask_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   26060             :     }
   26061           0 :     arg1 = (struct layerObj *)(argp1);
   26062           0 :     result = (char *) ((arg1)->mask);
   26063           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   26064             :     
   26065           0 :     XSRETURN(argvi);
   26066             :   fail:
   26067             :     
   26068           0 :     SWIG_croak_null();
   26069             :   }
   26070             : }
   26071             : 
   26072             : 
   26073           0 : XS(_wrap_layerObj_encoding_set) {
   26074             :   {
   26075             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   26076             :     char *arg2 = (char *) 0 ;
   26077           0 :     void *argp1 = 0 ;
   26078             :     int res1 = 0 ;
   26079             :     int res2 ;
   26080           0 :     char *buf2 = 0 ;
   26081           0 :     int alloc2 = 0 ;
   26082             :     int argvi = 0;
   26083           0 :     dXSARGS;
   26084             :     
   26085           0 :     if ((items < 2) || (items > 2)) {
   26086           0 :       SWIG_croak("Usage: layerObj_encoding_set(self,encoding);");
   26087             :     }
   26088           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   26089           0 :     if (!SWIG_IsOK(res1)) {
   26090           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_encoding_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   26091             :     }
   26092           0 :     arg1 = (struct layerObj *)(argp1);
   26093           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   26094           0 :     if (!SWIG_IsOK(res2)) {
   26095           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_encoding_set" "', argument " "2"" of type '" "char *""'");
   26096             :     }
   26097           0 :     arg2 = (char *)(buf2);
   26098             :     {
   26099           0 :       if (arg1->encoding) free((char*)arg1->encoding);
   26100           0 :       if (arg2) {
   26101           0 :         arg1->encoding = (char *) malloc(strlen(arg2)+1);
   26102             :         strcpy((char*)arg1->encoding,arg2);
   26103             :       } else {
   26104           0 :         arg1->encoding = 0;
   26105             :       }
   26106             :     }
   26107           0 :     ST(argvi) = sv_newmortal();
   26108             :     
   26109           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   26110           0 :     XSRETURN(argvi);
   26111             :   fail:
   26112             :     
   26113           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   26114           0 :     SWIG_croak_null();
   26115             :   }
   26116             : }
   26117             : 
   26118             : 
   26119           0 : XS(_wrap_layerObj_encoding_get) {
   26120             :   {
   26121             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   26122           0 :     void *argp1 = 0 ;
   26123             :     int res1 = 0 ;
   26124             :     int argvi = 0;
   26125             :     char *result = 0 ;
   26126           0 :     dXSARGS;
   26127             :     
   26128           0 :     if ((items < 1) || (items > 1)) {
   26129           0 :       SWIG_croak("Usage: layerObj_encoding_get(self);");
   26130             :     }
   26131           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   26132           0 :     if (!SWIG_IsOK(res1)) {
   26133           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_encoding_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   26134             :     }
   26135           0 :     arg1 = (struct layerObj *)(argp1);
   26136           0 :     result = (char *) ((arg1)->encoding);
   26137           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   26138             :     
   26139           0 :     XSRETURN(argvi);
   26140             :   fail:
   26141             :     
   26142           0 :     SWIG_croak_null();
   26143             :   }
   26144             : }
   26145             : 
   26146             : 
   26147           0 : XS(_wrap_layerObj_utfitem_set) {
   26148             :   {
   26149             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   26150             :     char *arg2 = (char *) 0 ;
   26151           0 :     void *argp1 = 0 ;
   26152             :     int res1 = 0 ;
   26153             :     int res2 ;
   26154           0 :     char *buf2 = 0 ;
   26155           0 :     int alloc2 = 0 ;
   26156             :     int argvi = 0;
   26157           0 :     dXSARGS;
   26158             :     
   26159           0 :     if ((items < 2) || (items > 2)) {
   26160           0 :       SWIG_croak("Usage: layerObj_utfitem_set(self,utfitem);");
   26161             :     }
   26162           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   26163           0 :     if (!SWIG_IsOK(res1)) {
   26164           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_utfitem_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   26165             :     }
   26166           0 :     arg1 = (struct layerObj *)(argp1);
   26167           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   26168           0 :     if (!SWIG_IsOK(res2)) {
   26169           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_utfitem_set" "', argument " "2"" of type '" "char *""'");
   26170             :     }
   26171           0 :     arg2 = (char *)(buf2);
   26172             :     {
   26173           0 :       if (arg1->utfitem) free((char*)arg1->utfitem);
   26174           0 :       if (arg2) {
   26175           0 :         arg1->utfitem = (char *) malloc(strlen(arg2)+1);
   26176             :         strcpy((char*)arg1->utfitem,arg2);
   26177             :       } else {
   26178           0 :         arg1->utfitem = 0;
   26179             :       }
   26180             :     }
   26181           0 :     ST(argvi) = sv_newmortal();
   26182             :     
   26183           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   26184           0 :     XSRETURN(argvi);
   26185             :   fail:
   26186             :     
   26187           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   26188           0 :     SWIG_croak_null();
   26189             :   }
   26190             : }
   26191             : 
   26192             : 
   26193           0 : XS(_wrap_layerObj_utfitem_get) {
   26194             :   {
   26195             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   26196           0 :     void *argp1 = 0 ;
   26197             :     int res1 = 0 ;
   26198             :     int argvi = 0;
   26199             :     char *result = 0 ;
   26200           0 :     dXSARGS;
   26201             :     
   26202           0 :     if ((items < 1) || (items > 1)) {
   26203           0 :       SWIG_croak("Usage: layerObj_utfitem_get(self);");
   26204             :     }
   26205           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   26206           0 :     if (!SWIG_IsOK(res1)) {
   26207           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_utfitem_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   26208             :     }
   26209           0 :     arg1 = (struct layerObj *)(argp1);
   26210           0 :     result = (char *) ((arg1)->utfitem);
   26211           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   26212             :     
   26213           0 :     XSRETURN(argvi);
   26214             :   fail:
   26215             :     
   26216           0 :     SWIG_croak_null();
   26217             :   }
   26218             : }
   26219             : 
   26220             : 
   26221           0 : XS(_wrap_layerObj_utfitemindex_set) {
   26222             :   {
   26223             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   26224             :     int arg2 ;
   26225           0 :     void *argp1 = 0 ;
   26226             :     int res1 = 0 ;
   26227             :     int val2 ;
   26228             :     int ecode2 = 0 ;
   26229             :     int argvi = 0;
   26230           0 :     dXSARGS;
   26231             :     
   26232           0 :     if ((items < 2) || (items > 2)) {
   26233           0 :       SWIG_croak("Usage: layerObj_utfitemindex_set(self,utfitemindex);");
   26234             :     }
   26235           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   26236           0 :     if (!SWIG_IsOK(res1)) {
   26237           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_utfitemindex_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   26238             :     }
   26239           0 :     arg1 = (struct layerObj *)(argp1);
   26240           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   26241           0 :     if (!SWIG_IsOK(ecode2)) {
   26242           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_utfitemindex_set" "', argument " "2"" of type '" "int""'");
   26243             :     } 
   26244           0 :     arg2 = (int)(val2);
   26245           0 :     if (arg1) (arg1)->utfitemindex = arg2;
   26246           0 :     ST(argvi) = sv_newmortal();
   26247             :     
   26248             :     
   26249           0 :     XSRETURN(argvi);
   26250             :   fail:
   26251             :     
   26252             :     
   26253           0 :     SWIG_croak_null();
   26254             :   }
   26255             : }
   26256             : 
   26257             : 
   26258           0 : XS(_wrap_layerObj_utfitemindex_get) {
   26259             :   {
   26260             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   26261           0 :     void *argp1 = 0 ;
   26262             :     int res1 = 0 ;
   26263             :     int argvi = 0;
   26264             :     int result;
   26265           0 :     dXSARGS;
   26266             :     
   26267           0 :     if ((items < 1) || (items > 1)) {
   26268           0 :       SWIG_croak("Usage: layerObj_utfitemindex_get(self);");
   26269             :     }
   26270           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   26271           0 :     if (!SWIG_IsOK(res1)) {
   26272           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_utfitemindex_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   26273             :     }
   26274           0 :     arg1 = (struct layerObj *)(argp1);
   26275           0 :     result = (int) ((arg1)->utfitemindex);
   26276           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   26277             :     
   26278           0 :     XSRETURN(argvi);
   26279             :   fail:
   26280             :     
   26281           0 :     SWIG_croak_null();
   26282             :   }
   26283             : }
   26284             : 
   26285             : 
   26286           0 : XS(_wrap_layerObj_utfdata_set) {
   26287             :   {
   26288             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   26289             :     expressionObj arg2 ;
   26290           0 :     void *argp1 = 0 ;
   26291             :     int res1 = 0 ;
   26292             :     void *argp2 ;
   26293             :     int res2 = 0 ;
   26294             :     int argvi = 0;
   26295           0 :     dXSARGS;
   26296             :     
   26297           0 :     if ((items < 2) || (items > 2)) {
   26298           0 :       SWIG_croak("Usage: layerObj_utfdata_set(self,utfdata);");
   26299             :     }
   26300           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   26301           0 :     if (!SWIG_IsOK(res1)) {
   26302           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_utfdata_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   26303             :     }
   26304           0 :     arg1 = (struct layerObj *)(argp1);
   26305             :     {
   26306           0 :       res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_expressionObj,  0 );
   26307           0 :       if (!SWIG_IsOK(res2)) {
   26308           0 :         SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_utfdata_set" "', argument " "2"" of type '" "expressionObj""'"); 
   26309             :       }  
   26310           0 :       if (!argp2) {
   26311           0 :         SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "layerObj_utfdata_set" "', argument " "2"" of type '" "expressionObj""'");
   26312             :       } else {
   26313           0 :         arg2 = *((expressionObj *)(argp2));
   26314             :       }
   26315             :     }
   26316           0 :     if (arg1) (arg1)->utfdata = arg2;
   26317           0 :     ST(argvi) = sv_newmortal();
   26318             :     
   26319           0 :     XSRETURN(argvi);
   26320             :   fail:
   26321             :     
   26322           0 :     SWIG_croak_null();
   26323             :   }
   26324             : }
   26325             : 
   26326             : 
   26327           0 : XS(_wrap_layerObj_utfdata_get) {
   26328             :   {
   26329             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   26330           0 :     void *argp1 = 0 ;
   26331             :     int res1 = 0 ;
   26332             :     int argvi = 0;
   26333             :     expressionObj result;
   26334           0 :     dXSARGS;
   26335             :     
   26336           0 :     if ((items < 1) || (items > 1)) {
   26337           0 :       SWIG_croak("Usage: layerObj_utfdata_get(self);");
   26338             :     }
   26339           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   26340           0 :     if (!SWIG_IsOK(res1)) {
   26341           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_utfdata_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   26342             :     }
   26343           0 :     arg1 = (struct layerObj *)(argp1);
   26344           0 :     result =  ((arg1)->utfdata);
   26345           0 :     ST(argvi) = SWIG_NewPointerObj((expressionObj *)memcpy((expressionObj *)calloc(1,sizeof(expressionObj)),&result,sizeof(expressionObj)), SWIGTYPE_p_expressionObj, SWIG_POINTER_OWN | 0); argvi++ ;
   26346             :     
   26347           0 :     XSRETURN(argvi);
   26348             :   fail:
   26349             :     
   26350           0 :     SWIG_croak_null();
   26351             :   }
   26352             : }
   26353             : 
   26354             : 
   26355           0 : XS(_wrap_layerObj_compositer_set) {
   26356             :   {
   26357             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   26358             :     LayerCompositer *arg2 = (LayerCompositer *) 0 ;
   26359           0 :     void *argp1 = 0 ;
   26360             :     int res1 = 0 ;
   26361           0 :     void *argp2 = 0 ;
   26362             :     int res2 = 0 ;
   26363             :     int argvi = 0;
   26364           0 :     dXSARGS;
   26365             :     
   26366           0 :     if ((items < 2) || (items > 2)) {
   26367           0 :       SWIG_croak("Usage: layerObj_compositer_set(self,compositer);");
   26368             :     }
   26369           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   26370           0 :     if (!SWIG_IsOK(res1)) {
   26371           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_compositer_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   26372             :     }
   26373           0 :     arg1 = (struct layerObj *)(argp1);
   26374           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p__LayerCompositer, SWIG_POINTER_DISOWN |  0 );
   26375           0 :     if (!SWIG_IsOK(res2)) {
   26376           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_compositer_set" "', argument " "2"" of type '" "LayerCompositer *""'"); 
   26377             :     }
   26378           0 :     arg2 = (LayerCompositer *)(argp2);
   26379           0 :     if (arg1) (arg1)->compositer = arg2;
   26380           0 :     ST(argvi) = sv_newmortal();
   26381             :     
   26382             :     
   26383           0 :     XSRETURN(argvi);
   26384             :   fail:
   26385             :     
   26386             :     
   26387           0 :     SWIG_croak_null();
   26388             :   }
   26389             : }
   26390             : 
   26391             : 
   26392           0 : XS(_wrap_layerObj_compositer_get) {
   26393             :   {
   26394             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   26395           0 :     void *argp1 = 0 ;
   26396             :     int res1 = 0 ;
   26397             :     int argvi = 0;
   26398             :     LayerCompositer *result = 0 ;
   26399           0 :     dXSARGS;
   26400             :     
   26401           0 :     if ((items < 1) || (items > 1)) {
   26402           0 :       SWIG_croak("Usage: layerObj_compositer_get(self);");
   26403             :     }
   26404           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   26405           0 :     if (!SWIG_IsOK(res1)) {
   26406           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_compositer_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   26407             :     }
   26408           0 :     arg1 = (struct layerObj *)(argp1);
   26409           0 :     result = (LayerCompositer *) ((arg1)->compositer);
   26410           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__LayerCompositer, 0 | SWIG_SHADOW); argvi++ ;
   26411             :     
   26412           0 :     XSRETURN(argvi);
   26413             :   fail:
   26414             :     
   26415           0 :     SWIG_croak_null();
   26416             :   }
   26417             : }
   26418             : 
   26419             : 
   26420           1 : XS(_wrap_new_layerObj) {
   26421             :   {
   26422             :     mapObj *arg1 = (mapObj *) NULL ;
   26423           1 :     void *argp1 = 0 ;
   26424             :     int res1 = 0 ;
   26425             :     int argvi = 0;
   26426             :     struct layerObj *result = 0 ;
   26427           1 :     dXSARGS;
   26428             :     
   26429           1 :     if ((items < 0) || (items > 1)) {
   26430           0 :       SWIG_croak("Usage: new_layerObj(map);");
   26431             :     }
   26432           1 :     if (items > 0) {
   26433           1 :       res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   26434           1 :       if (!SWIG_IsOK(res1)) {
   26435           0 :         SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_layerObj" "', argument " "1"" of type '" "mapObj *""'"); 
   26436             :       }
   26437           1 :       arg1 = (mapObj *)(argp1);
   26438             :     }
   26439           1 :     result = (struct layerObj *)new_layerObj(arg1);
   26440           1 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_layerObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   26441             :     
   26442           1 :     XSRETURN(argvi);
   26443             :   fail:
   26444             :     
   26445           0 :     SWIG_croak_null();
   26446             :   }
   26447             : }
   26448             : 
   26449             : 
   26450           0 : XS(_wrap_layerObj_setOpacity) {
   26451             :   {
   26452             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   26453             :     int arg2 ;
   26454           0 :     void *argp1 = 0 ;
   26455             :     int res1 = 0 ;
   26456             :     int val2 ;
   26457             :     int ecode2 = 0 ;
   26458             :     int argvi = 0;
   26459           0 :     dXSARGS;
   26460             :     
   26461           0 :     if ((items < 2) || (items > 2)) {
   26462           0 :       SWIG_croak("Usage: layerObj_setOpacity(self,opacity);");
   26463             :     }
   26464           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   26465           0 :     if (!SWIG_IsOK(res1)) {
   26466           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_setOpacity" "', argument " "1"" of type '" "struct layerObj *""'"); 
   26467             :     }
   26468           0 :     arg1 = (struct layerObj *)(argp1);
   26469           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   26470           0 :     if (!SWIG_IsOK(ecode2)) {
   26471           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_setOpacity" "', argument " "2"" of type '" "int""'");
   26472             :     } 
   26473           0 :     arg2 = (int)(val2);
   26474             :     layerObj_setOpacity(arg1,arg2);
   26475           0 :     ST(argvi) = sv_newmortal();
   26476             :     
   26477             :     
   26478           0 :     XSRETURN(argvi);
   26479             :   fail:
   26480             :     
   26481             :     
   26482           0 :     SWIG_croak_null();
   26483             :   }
   26484             : }
   26485             : 
   26486             : 
   26487           0 : XS(_wrap_layerObj_getOpacity) {
   26488             :   {
   26489           0 :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   26490           0 :     void *argp1 = 0 ;
   26491             :     int res1 = 0 ;
   26492             :     int argvi = 0;
   26493             :     int result;
   26494           0 :     dXSARGS;
   26495             :     
   26496           0 :     if ((items < 1) || (items > 1)) {
   26497           0 :       SWIG_croak("Usage: layerObj_getOpacity(self);");
   26498             :     }
   26499           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   26500           0 :     if (!SWIG_IsOK(res1)) {
   26501           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getOpacity" "', argument " "1"" of type '" "struct layerObj *""'"); 
   26502             :     }
   26503           0 :     arg1 = (struct layerObj *)(argp1);
   26504             :     result = (int)layerObj_getOpacity(arg1);
   26505           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   26506             :     
   26507           0 :     XSRETURN(argvi);
   26508             :   fail:
   26509             :     
   26510           0 :     SWIG_croak_null();
   26511             :   }
   26512             : }
   26513             : 
   26514             : 
   26515           1 : XS(_wrap_delete_layerObj) {
   26516             :   {
   26517             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   26518           1 :     void *argp1 = 0 ;
   26519             :     int res1 = 0 ;
   26520             :     int argvi = 0;
   26521           1 :     dXSARGS;
   26522             :     
   26523           1 :     if ((items < 1) || (items > 1)) {
   26524           0 :       SWIG_croak("Usage: delete_layerObj(self);");
   26525             :     }
   26526           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, SWIG_POINTER_DISOWN |  0 );
   26527           1 :     if (!SWIG_IsOK(res1)) {
   26528           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_layerObj" "', argument " "1"" of type '" "struct layerObj *""'"); 
   26529             :     }
   26530           1 :     arg1 = (struct layerObj *)(argp1);
   26531           1 :     delete_layerObj(arg1);
   26532           1 :     ST(argvi) = sv_newmortal();
   26533             :     
   26534           1 :     XSRETURN(argvi);
   26535             :   fail:
   26536             :     
   26537           0 :     SWIG_croak_null();
   26538             :   }
   26539             : }
   26540             : 
   26541             : 
   26542           0 : XS(_wrap_layerObj_clone) {
   26543             :   {
   26544             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   26545           0 :     void *argp1 = 0 ;
   26546             :     int res1 = 0 ;
   26547             :     int argvi = 0;
   26548             :     layerObj *result = 0 ;
   26549           0 :     dXSARGS;
   26550             :     
   26551           0 :     if ((items < 1) || (items > 1)) {
   26552           0 :       SWIG_croak("Usage: layerObj_clone(self);");
   26553             :     }
   26554           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   26555           0 :     if (!SWIG_IsOK(res1)) {
   26556           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_clone" "', argument " "1"" of type '" "struct layerObj *""'"); 
   26557             :     }
   26558           0 :     arg1 = (struct layerObj *)(argp1);
   26559           0 :     result = (layerObj *)layerObj_clone(arg1);
   26560           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_layerObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   26561             :     
   26562           0 :     XSRETURN(argvi);
   26563             :   fail:
   26564             :     
   26565           0 :     SWIG_croak_null();
   26566             :   }
   26567             : }
   26568             : 
   26569             : 
   26570           0 : XS(_wrap_layerObj_updateFromString) {
   26571             :   {
   26572             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   26573             :     char *arg2 = (char *) 0 ;
   26574           0 :     void *argp1 = 0 ;
   26575             :     int res1 = 0 ;
   26576             :     int res2 ;
   26577           0 :     char *buf2 = 0 ;
   26578           0 :     int alloc2 = 0 ;
   26579             :     int argvi = 0;
   26580             :     int result;
   26581           0 :     dXSARGS;
   26582             :     
   26583           0 :     if ((items < 2) || (items > 2)) {
   26584           0 :       SWIG_croak("Usage: layerObj_updateFromString(self,snippet);");
   26585             :     }
   26586           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   26587           0 :     if (!SWIG_IsOK(res1)) {
   26588           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_updateFromString" "', argument " "1"" of type '" "struct layerObj *""'"); 
   26589             :     }
   26590           0 :     arg1 = (struct layerObj *)(argp1);
   26591           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   26592           0 :     if (!SWIG_IsOK(res2)) {
   26593           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_updateFromString" "', argument " "2"" of type '" "char *""'");
   26594             :     }
   26595           0 :     arg2 = (char *)(buf2);
   26596             :     result = (int)layerObj_updateFromString(arg1,arg2);
   26597           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   26598             :     
   26599           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   26600           0 :     XSRETURN(argvi);
   26601             :   fail:
   26602             :     
   26603           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   26604           0 :     SWIG_croak_null();
   26605             :   }
   26606             : }
   26607             : 
   26608             : 
   26609           0 : XS(_wrap_layerObj_convertToString) {
   26610             :   {
   26611             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   26612           0 :     void *argp1 = 0 ;
   26613             :     int res1 = 0 ;
   26614             :     int argvi = 0;
   26615             :     char *result = 0 ;
   26616           0 :     dXSARGS;
   26617             :     
   26618           0 :     if ((items < 1) || (items > 1)) {
   26619           0 :       SWIG_croak("Usage: layerObj_convertToString(self);");
   26620             :     }
   26621           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   26622           0 :     if (!SWIG_IsOK(res1)) {
   26623           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_convertToString" "', argument " "1"" of type '" "struct layerObj *""'"); 
   26624             :     }
   26625           0 :     arg1 = (struct layerObj *)(argp1);
   26626             :     result = (char *)layerObj_convertToString(arg1);
   26627           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   26628             :     
   26629           0 :     free((char*)result);
   26630           0 :     XSRETURN(argvi);
   26631             :   fail:
   26632             :     
   26633           0 :     SWIG_croak_null();
   26634             :   }
   26635             : }
   26636             : 
   26637             : 
   26638           1 : XS(_wrap_layerObj_insertClass) {
   26639             :   {
   26640             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   26641             :     classObj *arg2 = (classObj *) 0 ;
   26642             :     int arg3 = (int) -1 ;
   26643           1 :     void *argp1 = 0 ;
   26644             :     int res1 = 0 ;
   26645           1 :     void *argp2 = 0 ;
   26646             :     int res2 = 0 ;
   26647             :     int val3 ;
   26648             :     int ecode3 = 0 ;
   26649             :     int argvi = 0;
   26650             :     int result;
   26651           1 :     dXSARGS;
   26652             :     
   26653           1 :     if ((items < 2) || (items > 3)) {
   26654           0 :       SWIG_croak("Usage: layerObj_insertClass(self,classobj,index);");
   26655             :     }
   26656           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   26657           1 :     if (!SWIG_IsOK(res1)) {
   26658           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_insertClass" "', argument " "1"" of type '" "struct layerObj *""'"); 
   26659             :     }
   26660           1 :     arg1 = (struct layerObj *)(argp1);
   26661           1 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_classObj, 0 |  0 );
   26662           1 :     if (!SWIG_IsOK(res2)) {
   26663           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_insertClass" "', argument " "2"" of type '" "classObj *""'"); 
   26664             :     }
   26665           1 :     arg2 = (classObj *)(argp2);
   26666           1 :     if (items > 2) {
   26667           0 :       ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
   26668           0 :       if (!SWIG_IsOK(ecode3)) {
   26669           0 :         SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "layerObj_insertClass" "', argument " "3"" of type '" "int""'");
   26670             :       } 
   26671           0 :       arg3 = (int)(val3);
   26672             :     }
   26673             :     result = (int)layerObj_insertClass(arg1,arg2,arg3);
   26674           1 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   26675             :     
   26676             :     
   26677             :     
   26678           1 :     XSRETURN(argvi);
   26679             :   fail:
   26680             :     
   26681             :     
   26682             :     
   26683           0 :     SWIG_croak_null();
   26684             :   }
   26685             : }
   26686             : 
   26687             : 
   26688           0 : XS(_wrap_layerObj_removeClass) {
   26689             :   {
   26690             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   26691             :     int arg2 ;
   26692           0 :     void *argp1 = 0 ;
   26693             :     int res1 = 0 ;
   26694             :     int val2 ;
   26695             :     int ecode2 = 0 ;
   26696             :     int argvi = 0;
   26697             :     classObj *result = 0 ;
   26698           0 :     dXSARGS;
   26699             :     
   26700           0 :     if ((items < 2) || (items > 2)) {
   26701           0 :       SWIG_croak("Usage: layerObj_removeClass(self,index);");
   26702             :     }
   26703           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   26704           0 :     if (!SWIG_IsOK(res1)) {
   26705           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_removeClass" "', argument " "1"" of type '" "struct layerObj *""'"); 
   26706             :     }
   26707           0 :     arg1 = (struct layerObj *)(argp1);
   26708           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   26709           0 :     if (!SWIG_IsOK(ecode2)) {
   26710           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_removeClass" "', argument " "2"" of type '" "int""'");
   26711             :     } 
   26712           0 :     arg2 = (int)(val2);
   26713           0 :     result = (classObj *)layerObj_removeClass(arg1,arg2);
   26714           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_classObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   26715             :     
   26716             :     
   26717           0 :     XSRETURN(argvi);
   26718             :   fail:
   26719             :     
   26720             :     
   26721           0 :     SWIG_croak_null();
   26722             :   }
   26723             : }
   26724             : 
   26725             : 
   26726           0 : XS(_wrap_layerObj_open) {
   26727             :   {
   26728             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   26729           0 :     void *argp1 = 0 ;
   26730             :     int res1 = 0 ;
   26731             :     int argvi = 0;
   26732             :     int result;
   26733           0 :     dXSARGS;
   26734             :     
   26735           0 :     if ((items < 1) || (items > 1)) {
   26736           0 :       SWIG_croak("Usage: layerObj_open(self);");
   26737             :     }
   26738           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   26739           0 :     if (!SWIG_IsOK(res1)) {
   26740           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_open" "', argument " "1"" of type '" "struct layerObj *""'"); 
   26741             :     }
   26742           0 :     arg1 = (struct layerObj *)(argp1);
   26743           0 :     result = (int)layerObj_open(arg1);
   26744           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   26745             :     
   26746           0 :     XSRETURN(argvi);
   26747             :   fail:
   26748             :     
   26749           0 :     SWIG_croak_null();
   26750             :   }
   26751             : }
   26752             : 
   26753             : 
   26754           0 : XS(_wrap_layerObj_whichShapes) {
   26755             :   {
   26756             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   26757             :     rectObj arg2 ;
   26758           0 :     void *argp1 = 0 ;
   26759             :     int res1 = 0 ;
   26760             :     void *argp2 ;
   26761             :     int res2 = 0 ;
   26762             :     int argvi = 0;
   26763             :     int result;
   26764           0 :     dXSARGS;
   26765             :     
   26766           0 :     if ((items < 2) || (items > 2)) {
   26767           0 :       SWIG_croak("Usage: layerObj_whichShapes(self,rect);");
   26768             :     }
   26769           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   26770           0 :     if (!SWIG_IsOK(res1)) {
   26771           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_whichShapes" "', argument " "1"" of type '" "struct layerObj *""'"); 
   26772             :     }
   26773           0 :     arg1 = (struct layerObj *)(argp1);
   26774             :     {
   26775           0 :       res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_rectObj,  0 );
   26776           0 :       if (!SWIG_IsOK(res2)) {
   26777           0 :         SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_whichShapes" "', argument " "2"" of type '" "rectObj""'"); 
   26778             :       }  
   26779           0 :       if (!argp2) {
   26780           0 :         SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "layerObj_whichShapes" "', argument " "2"" of type '" "rectObj""'");
   26781             :       } else {
   26782           0 :         arg2 = *((rectObj *)(argp2));
   26783             :       }
   26784             :     }
   26785           0 :     result = (int)layerObj_whichShapes(arg1,arg2);
   26786           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   26787             :     
   26788           0 :     XSRETURN(argvi);
   26789             :   fail:
   26790             :     
   26791           0 :     SWIG_croak_null();
   26792             :   }
   26793             : }
   26794             : 
   26795             : 
   26796           0 : XS(_wrap_layerObj_nextShape) {
   26797             :   {
   26798             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   26799           0 :     void *argp1 = 0 ;
   26800             :     int res1 = 0 ;
   26801             :     int argvi = 0;
   26802             :     shapeObj *result = 0 ;
   26803           0 :     dXSARGS;
   26804             :     
   26805           0 :     if ((items < 1) || (items > 1)) {
   26806           0 :       SWIG_croak("Usage: layerObj_nextShape(self);");
   26807             :     }
   26808           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   26809           0 :     if (!SWIG_IsOK(res1)) {
   26810           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_nextShape" "', argument " "1"" of type '" "struct layerObj *""'"); 
   26811             :     }
   26812           0 :     arg1 = (struct layerObj *)(argp1);
   26813           0 :     result = (shapeObj *)layerObj_nextShape(arg1);
   26814           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   26815             :     
   26816           0 :     XSRETURN(argvi);
   26817             :   fail:
   26818             :     
   26819           0 :     SWIG_croak_null();
   26820             :   }
   26821             : }
   26822             : 
   26823             : 
   26824           0 : XS(_wrap_layerObj_close) {
   26825             :   {
   26826             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   26827           0 :     void *argp1 = 0 ;
   26828             :     int res1 = 0 ;
   26829             :     int argvi = 0;
   26830           0 :     dXSARGS;
   26831             :     
   26832           0 :     if ((items < 1) || (items > 1)) {
   26833           0 :       SWIG_croak("Usage: layerObj_close(self);");
   26834             :     }
   26835           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   26836           0 :     if (!SWIG_IsOK(res1)) {
   26837           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_close" "', argument " "1"" of type '" "struct layerObj *""'"); 
   26838             :     }
   26839           0 :     arg1 = (struct layerObj *)(argp1);
   26840             :     layerObj_close(arg1);
   26841           0 :     ST(argvi) = sv_newmortal();
   26842             :     
   26843           0 :     XSRETURN(argvi);
   26844             :   fail:
   26845             :     
   26846           0 :     SWIG_croak_null();
   26847             :   }
   26848             : }
   26849             : 
   26850             : 
   26851           0 : XS(_wrap_layerObj_getShape) {
   26852             :   {
   26853             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   26854             :     resultObj *arg2 = (resultObj *) 0 ;
   26855           0 :     void *argp1 = 0 ;
   26856             :     int res1 = 0 ;
   26857           0 :     void *argp2 = 0 ;
   26858             :     int res2 = 0 ;
   26859             :     int argvi = 0;
   26860             :     shapeObj *result = 0 ;
   26861           0 :     dXSARGS;
   26862             :     
   26863           0 :     if ((items < 2) || (items > 2)) {
   26864           0 :       SWIG_croak("Usage: layerObj_getShape(self,record);");
   26865             :     }
   26866           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   26867           0 :     if (!SWIG_IsOK(res1)) {
   26868           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getShape" "', argument " "1"" of type '" "struct layerObj *""'"); 
   26869             :     }
   26870           0 :     arg1 = (struct layerObj *)(argp1);
   26871           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_resultObj, 0 |  0 );
   26872           0 :     if (!SWIG_IsOK(res2)) {
   26873           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_getShape" "', argument " "2"" of type '" "resultObj *""'"); 
   26874             :     }
   26875           0 :     arg2 = (resultObj *)(argp2);
   26876           0 :     result = (shapeObj *)layerObj_getShape(arg1,arg2);
   26877           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   26878             :     
   26879             :     
   26880           0 :     XSRETURN(argvi);
   26881             :   fail:
   26882             :     
   26883             :     
   26884           0 :     SWIG_croak_null();
   26885             :   }
   26886             : }
   26887             : 
   26888             : 
   26889           0 : XS(_wrap_layerObj_getNumResults) {
   26890             :   {
   26891           0 :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   26892           0 :     void *argp1 = 0 ;
   26893             :     int res1 = 0 ;
   26894             :     int argvi = 0;
   26895             :     int result;
   26896           0 :     dXSARGS;
   26897             :     
   26898           0 :     if ((items < 1) || (items > 1)) {
   26899           0 :       SWIG_croak("Usage: layerObj_getNumResults(self);");
   26900             :     }
   26901           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   26902           0 :     if (!SWIG_IsOK(res1)) {
   26903           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getNumResults" "', argument " "1"" of type '" "struct layerObj *""'"); 
   26904             :     }
   26905           0 :     arg1 = (struct layerObj *)(argp1);
   26906             :     result = (int)layerObj_getNumResults(arg1);
   26907           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   26908             :     
   26909           0 :     XSRETURN(argvi);
   26910             :   fail:
   26911             :     
   26912           0 :     SWIG_croak_null();
   26913             :   }
   26914             : }
   26915             : 
   26916             : 
   26917           0 : XS(_wrap_layerObj_getResultsBounds) {
   26918             :   {
   26919             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   26920           0 :     void *argp1 = 0 ;
   26921             :     int res1 = 0 ;
   26922             :     int argvi = 0;
   26923             :     rectObj *result = 0 ;
   26924           0 :     dXSARGS;
   26925             :     
   26926           0 :     if ((items < 1) || (items > 1)) {
   26927           0 :       SWIG_croak("Usage: layerObj_getResultsBounds(self);");
   26928             :     }
   26929           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   26930           0 :     if (!SWIG_IsOK(res1)) {
   26931           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getResultsBounds" "', argument " "1"" of type '" "struct layerObj *""'"); 
   26932             :     }
   26933           0 :     arg1 = (struct layerObj *)(argp1);
   26934           0 :     result = (rectObj *)layerObj_getResultsBounds(arg1);
   26935           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_rectObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   26936             :     
   26937           0 :     XSRETURN(argvi);
   26938             :   fail:
   26939             :     
   26940           0 :     SWIG_croak_null();
   26941             :   }
   26942             : }
   26943             : 
   26944             : 
   26945           0 : XS(_wrap_layerObj_getResult) {
   26946             :   {
   26947           0 :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   26948             :     int arg2 ;
   26949           0 :     void *argp1 = 0 ;
   26950             :     int res1 = 0 ;
   26951             :     int val2 ;
   26952             :     int ecode2 = 0 ;
   26953             :     int argvi = 0;
   26954             :     resultObj *result = 0 ;
   26955           0 :     dXSARGS;
   26956             :     
   26957           0 :     if ((items < 2) || (items > 2)) {
   26958           0 :       SWIG_croak("Usage: layerObj_getResult(self,i);");
   26959             :     }
   26960           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   26961           0 :     if (!SWIG_IsOK(res1)) {
   26962           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getResult" "', argument " "1"" of type '" "struct layerObj *""'"); 
   26963             :     }
   26964           0 :     arg1 = (struct layerObj *)(argp1);
   26965           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   26966           0 :     if (!SWIG_IsOK(ecode2)) {
   26967           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_getResult" "', argument " "2"" of type '" "int""'");
   26968             :     } 
   26969           0 :     arg2 = (int)(val2);
   26970             :     result = (resultObj *)layerObj_getResult(arg1,arg2);
   26971           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_resultObj, 0 | SWIG_SHADOW); argvi++ ;
   26972             :     
   26973             :     
   26974           0 :     XSRETURN(argvi);
   26975             :   fail:
   26976             :     
   26977             :     
   26978           0 :     SWIG_croak_null();
   26979             :   }
   26980             : }
   26981             : 
   26982             : 
   26983           1 : XS(_wrap_layerObj_getClass) {
   26984             :   {
   26985             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   26986             :     int arg2 ;
   26987           1 :     void *argp1 = 0 ;
   26988             :     int res1 = 0 ;
   26989             :     int val2 ;
   26990             :     int ecode2 = 0 ;
   26991             :     int argvi = 0;
   26992             :     classObj *result = 0 ;
   26993           1 :     dXSARGS;
   26994             :     
   26995           1 :     if ((items < 2) || (items > 2)) {
   26996           0 :       SWIG_croak("Usage: layerObj_getClass(self,i);");
   26997             :     }
   26998           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   26999           1 :     if (!SWIG_IsOK(res1)) {
   27000           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getClass" "', argument " "1"" of type '" "struct layerObj *""'"); 
   27001             :     }
   27002           1 :     arg1 = (struct layerObj *)(argp1);
   27003           1 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   27004           1 :     if (!SWIG_IsOK(ecode2)) {
   27005           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_getClass" "', argument " "2"" of type '" "int""'");
   27006             :     } 
   27007           1 :     arg2 = (int)(val2);
   27008           1 :     result = (classObj *)layerObj_getClass(arg1,arg2);
   27009           1 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_classObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   27010             :     
   27011             :     
   27012           1 :     XSRETURN(argvi);
   27013             :   fail:
   27014             :     
   27015             :     
   27016           0 :     SWIG_croak_null();
   27017             :   }
   27018             : }
   27019             : 
   27020             : 
   27021           0 : XS(_wrap_layerObj_getItem) {
   27022             :   {
   27023             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   27024             :     int arg2 ;
   27025           0 :     void *argp1 = 0 ;
   27026             :     int res1 = 0 ;
   27027             :     int val2 ;
   27028             :     int ecode2 = 0 ;
   27029             :     int argvi = 0;
   27030             :     char *result = 0 ;
   27031           0 :     dXSARGS;
   27032             :     
   27033           0 :     if ((items < 2) || (items > 2)) {
   27034           0 :       SWIG_croak("Usage: layerObj_getItem(self,i);");
   27035             :     }
   27036           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   27037           0 :     if (!SWIG_IsOK(res1)) {
   27038           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getItem" "', argument " "1"" of type '" "struct layerObj *""'"); 
   27039             :     }
   27040           0 :     arg1 = (struct layerObj *)(argp1);
   27041           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   27042           0 :     if (!SWIG_IsOK(ecode2)) {
   27043           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_getItem" "', argument " "2"" of type '" "int""'");
   27044             :     } 
   27045           0 :     arg2 = (int)(val2);
   27046             :     result = (char *)layerObj_getItem(arg1,arg2);
   27047           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   27048             :     
   27049             :     
   27050           0 :     XSRETURN(argvi);
   27051             :   fail:
   27052             :     
   27053             :     
   27054           0 :     SWIG_croak_null();
   27055             :   }
   27056             : }
   27057             : 
   27058             : 
   27059           0 : XS(_wrap_layerObj_setItems) {
   27060             :   {
   27061             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   27062             :     char **arg2 = (char **) 0 ;
   27063             :     int arg3 ;
   27064           0 :     void *argp1 = 0 ;
   27065             :     int res1 = 0 ;
   27066           0 :     void *argp2 = 0 ;
   27067             :     int res2 = 0 ;
   27068             :     int val3 ;
   27069             :     int ecode3 = 0 ;
   27070             :     int argvi = 0;
   27071             :     int result;
   27072           0 :     dXSARGS;
   27073             :     
   27074           0 :     if ((items < 3) || (items > 3)) {
   27075           0 :       SWIG_croak("Usage: layerObj_setItems(self,items,numitems);");
   27076             :     }
   27077           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   27078           0 :     if (!SWIG_IsOK(res1)) {
   27079           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_setItems" "', argument " "1"" of type '" "struct layerObj *""'"); 
   27080             :     }
   27081           0 :     arg1 = (struct layerObj *)(argp1);
   27082           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_p_char, 0 |  0 );
   27083           0 :     if (!SWIG_IsOK(res2)) {
   27084           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_setItems" "', argument " "2"" of type '" "char **""'"); 
   27085             :     }
   27086           0 :     arg2 = (char **)(argp2);
   27087           0 :     ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
   27088           0 :     if (!SWIG_IsOK(ecode3)) {
   27089           0 :       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "layerObj_setItems" "', argument " "3"" of type '" "int""'");
   27090             :     } 
   27091           0 :     arg3 = (int)(val3);
   27092             :     result = (int)layerObj_setItems(arg1,arg2,arg3);
   27093           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   27094             :     
   27095             :     
   27096             :     
   27097           0 :     XSRETURN(argvi);
   27098             :   fail:
   27099             :     
   27100             :     
   27101             :     
   27102           0 :     SWIG_croak_null();
   27103             :   }
   27104             : }
   27105             : 
   27106             : 
   27107           0 : XS(_wrap_layerObj_draw) {
   27108             :   {
   27109             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   27110             :     mapObj *arg2 = (mapObj *) 0 ;
   27111             :     imageObj *arg3 = (imageObj *) 0 ;
   27112           0 :     void *argp1 = 0 ;
   27113             :     int res1 = 0 ;
   27114           0 :     void *argp2 = 0 ;
   27115             :     int res2 = 0 ;
   27116           0 :     void *argp3 = 0 ;
   27117             :     int res3 = 0 ;
   27118             :     int argvi = 0;
   27119             :     int result;
   27120           0 :     dXSARGS;
   27121             :     
   27122           0 :     if ((items < 3) || (items > 3)) {
   27123           0 :       SWIG_croak("Usage: layerObj_draw(self,map,image);");
   27124             :     }
   27125           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   27126           0 :     if (!SWIG_IsOK(res1)) {
   27127           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_draw" "', argument " "1"" of type '" "struct layerObj *""'"); 
   27128             :     }
   27129           0 :     arg1 = (struct layerObj *)(argp1);
   27130           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 |  0 );
   27131           0 :     if (!SWIG_IsOK(res2)) {
   27132           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_draw" "', argument " "2"" of type '" "mapObj *""'"); 
   27133             :     }
   27134           0 :     arg2 = (mapObj *)(argp2);
   27135           0 :     res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_imageObj, 0 |  0 );
   27136           0 :     if (!SWIG_IsOK(res3)) {
   27137           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "layerObj_draw" "', argument " "3"" of type '" "imageObj *""'"); 
   27138             :     }
   27139           0 :     arg3 = (imageObj *)(argp3);
   27140             :     result = (int)layerObj_draw(arg1,arg2,arg3);
   27141           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   27142             :     
   27143             :     
   27144             :     
   27145           0 :     XSRETURN(argvi);
   27146             :   fail:
   27147             :     
   27148             :     
   27149             :     
   27150           0 :     SWIG_croak_null();
   27151             :   }
   27152             : }
   27153             : 
   27154             : 
   27155           0 : XS(_wrap_layerObj_drawQuery) {
   27156             :   {
   27157             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   27158             :     mapObj *arg2 = (mapObj *) 0 ;
   27159             :     imageObj *arg3 = (imageObj *) 0 ;
   27160           0 :     void *argp1 = 0 ;
   27161             :     int res1 = 0 ;
   27162           0 :     void *argp2 = 0 ;
   27163             :     int res2 = 0 ;
   27164           0 :     void *argp3 = 0 ;
   27165             :     int res3 = 0 ;
   27166             :     int argvi = 0;
   27167             :     int result;
   27168           0 :     dXSARGS;
   27169             :     
   27170           0 :     if ((items < 3) || (items > 3)) {
   27171           0 :       SWIG_croak("Usage: layerObj_drawQuery(self,map,image);");
   27172             :     }
   27173           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   27174           0 :     if (!SWIG_IsOK(res1)) {
   27175           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_drawQuery" "', argument " "1"" of type '" "struct layerObj *""'"); 
   27176             :     }
   27177           0 :     arg1 = (struct layerObj *)(argp1);
   27178           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 |  0 );
   27179           0 :     if (!SWIG_IsOK(res2)) {
   27180           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_drawQuery" "', argument " "2"" of type '" "mapObj *""'"); 
   27181             :     }
   27182           0 :     arg2 = (mapObj *)(argp2);
   27183           0 :     res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_imageObj, 0 |  0 );
   27184           0 :     if (!SWIG_IsOK(res3)) {
   27185           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "layerObj_drawQuery" "', argument " "3"" of type '" "imageObj *""'"); 
   27186             :     }
   27187           0 :     arg3 = (imageObj *)(argp3);
   27188             :     result = (int)layerObj_drawQuery(arg1,arg2,arg3);
   27189           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   27190             :     
   27191             :     
   27192             :     
   27193           0 :     XSRETURN(argvi);
   27194             :   fail:
   27195             :     
   27196             :     
   27197             :     
   27198           0 :     SWIG_croak_null();
   27199             :   }
   27200             : }
   27201             : 
   27202             : 
   27203           0 : XS(_wrap_layerObj_queryByFilter) {
   27204             :   {
   27205             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   27206             :     mapObj *arg2 = (mapObj *) 0 ;
   27207             :     char *arg3 = (char *) 0 ;
   27208           0 :     void *argp1 = 0 ;
   27209             :     int res1 = 0 ;
   27210           0 :     void *argp2 = 0 ;
   27211             :     int res2 = 0 ;
   27212             :     int res3 ;
   27213           0 :     char *buf3 = 0 ;
   27214           0 :     int alloc3 = 0 ;
   27215             :     int argvi = 0;
   27216             :     int result;
   27217           0 :     dXSARGS;
   27218             :     
   27219           0 :     if ((items < 3) || (items > 3)) {
   27220           0 :       SWIG_croak("Usage: layerObj_queryByFilter(self,map,string);");
   27221             :     }
   27222           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   27223           0 :     if (!SWIG_IsOK(res1)) {
   27224           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_queryByFilter" "', argument " "1"" of type '" "struct layerObj *""'"); 
   27225             :     }
   27226           0 :     arg1 = (struct layerObj *)(argp1);
   27227           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 |  0 );
   27228           0 :     if (!SWIG_IsOK(res2)) {
   27229           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_queryByFilter" "', argument " "2"" of type '" "mapObj *""'"); 
   27230             :     }
   27231           0 :     arg2 = (mapObj *)(argp2);
   27232           0 :     res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
   27233           0 :     if (!SWIG_IsOK(res3)) {
   27234           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "layerObj_queryByFilter" "', argument " "3"" of type '" "char *""'");
   27235             :     }
   27236           0 :     arg3 = (char *)(buf3);
   27237           0 :     result = (int)layerObj_queryByFilter(arg1,arg2,arg3);
   27238           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   27239             :     
   27240             :     
   27241           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   27242           0 :     XSRETURN(argvi);
   27243             :   fail:
   27244             :     
   27245             :     
   27246           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   27247           0 :     SWIG_croak_null();
   27248             :   }
   27249             : }
   27250             : 
   27251             : 
   27252           0 : XS(_wrap_layerObj_queryByAttributes) {
   27253             :   {
   27254             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   27255             :     mapObj *arg2 = (mapObj *) 0 ;
   27256             :     char *arg3 = (char *) 0 ;
   27257             :     char *arg4 = (char *) 0 ;
   27258             :     int arg5 ;
   27259           0 :     void *argp1 = 0 ;
   27260             :     int res1 = 0 ;
   27261           0 :     void *argp2 = 0 ;
   27262             :     int res2 = 0 ;
   27263             :     int res3 ;
   27264           0 :     char *buf3 = 0 ;
   27265           0 :     int alloc3 = 0 ;
   27266             :     int res4 ;
   27267           0 :     char *buf4 = 0 ;
   27268           0 :     int alloc4 = 0 ;
   27269             :     int val5 ;
   27270             :     int ecode5 = 0 ;
   27271             :     int argvi = 0;
   27272             :     int result;
   27273           0 :     dXSARGS;
   27274             :     
   27275           0 :     if ((items < 5) || (items > 5)) {
   27276           0 :       SWIG_croak("Usage: layerObj_queryByAttributes(self,map,qitem,qstring,mode);");
   27277             :     }
   27278           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   27279           0 :     if (!SWIG_IsOK(res1)) {
   27280           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_queryByAttributes" "', argument " "1"" of type '" "struct layerObj *""'"); 
   27281             :     }
   27282           0 :     arg1 = (struct layerObj *)(argp1);
   27283           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 |  0 );
   27284           0 :     if (!SWIG_IsOK(res2)) {
   27285           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_queryByAttributes" "', argument " "2"" of type '" "mapObj *""'"); 
   27286             :     }
   27287           0 :     arg2 = (mapObj *)(argp2);
   27288           0 :     res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
   27289           0 :     if (!SWIG_IsOK(res3)) {
   27290           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "layerObj_queryByAttributes" "', argument " "3"" of type '" "char *""'");
   27291             :     }
   27292           0 :     arg3 = (char *)(buf3);
   27293           0 :     res4 = SWIG_AsCharPtrAndSize(ST(3), &buf4, NULL, &alloc4);
   27294           0 :     if (!SWIG_IsOK(res4)) {
   27295           0 :       SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "layerObj_queryByAttributes" "', argument " "4"" of type '" "char *""'");
   27296             :     }
   27297           0 :     arg4 = (char *)(buf4);
   27298           0 :     ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
   27299           0 :     if (!SWIG_IsOK(ecode5)) {
   27300           0 :       SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "layerObj_queryByAttributes" "', argument " "5"" of type '" "int""'");
   27301             :     } 
   27302           0 :     arg5 = (int)(val5);
   27303           0 :     result = (int)layerObj_queryByAttributes(arg1,arg2,arg3,arg4,arg5);
   27304           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   27305             :     
   27306             :     
   27307           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   27308           0 :     if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
   27309             :     
   27310           0 :     XSRETURN(argvi);
   27311             :   fail:
   27312             :     
   27313             :     
   27314           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   27315           0 :     if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
   27316             :     
   27317           0 :     SWIG_croak_null();
   27318             :   }
   27319             : }
   27320             : 
   27321             : 
   27322           0 : XS(_wrap_layerObj_queryByPoint) {
   27323             :   {
   27324             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   27325             :     mapObj *arg2 = (mapObj *) 0 ;
   27326             :     pointObj *arg3 = (pointObj *) 0 ;
   27327             :     int arg4 ;
   27328             :     double arg5 ;
   27329           0 :     void *argp1 = 0 ;
   27330             :     int res1 = 0 ;
   27331           0 :     void *argp2 = 0 ;
   27332             :     int res2 = 0 ;
   27333           0 :     void *argp3 = 0 ;
   27334             :     int res3 = 0 ;
   27335             :     int val4 ;
   27336             :     int ecode4 = 0 ;
   27337             :     double val5 ;
   27338             :     int ecode5 = 0 ;
   27339             :     int argvi = 0;
   27340             :     int result;
   27341           0 :     dXSARGS;
   27342             :     
   27343           0 :     if ((items < 5) || (items > 5)) {
   27344           0 :       SWIG_croak("Usage: layerObj_queryByPoint(self,map,point,mode,buffer);");
   27345             :     }
   27346           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   27347           0 :     if (!SWIG_IsOK(res1)) {
   27348           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_queryByPoint" "', argument " "1"" of type '" "struct layerObj *""'"); 
   27349             :     }
   27350           0 :     arg1 = (struct layerObj *)(argp1);
   27351           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 |  0 );
   27352           0 :     if (!SWIG_IsOK(res2)) {
   27353           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_queryByPoint" "', argument " "2"" of type '" "mapObj *""'"); 
   27354             :     }
   27355           0 :     arg2 = (mapObj *)(argp2);
   27356           0 :     res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_pointObj, 0 |  0 );
   27357           0 :     if (!SWIG_IsOK(res3)) {
   27358           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "layerObj_queryByPoint" "', argument " "3"" of type '" "pointObj *""'"); 
   27359             :     }
   27360           0 :     arg3 = (pointObj *)(argp3);
   27361           0 :     ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
   27362           0 :     if (!SWIG_IsOK(ecode4)) {
   27363           0 :       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "layerObj_queryByPoint" "', argument " "4"" of type '" "int""'");
   27364             :     } 
   27365           0 :     arg4 = (int)(val4);
   27366           0 :     ecode5 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
   27367           0 :     if (!SWIG_IsOK(ecode5)) {
   27368           0 :       SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "layerObj_queryByPoint" "', argument " "5"" of type '" "double""'");
   27369             :     } 
   27370           0 :     arg5 = (double)(val5);
   27371           0 :     result = (int)layerObj_queryByPoint(arg1,arg2,arg3,arg4,arg5);
   27372           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   27373             :     
   27374             :     
   27375             :     
   27376             :     
   27377             :     
   27378           0 :     XSRETURN(argvi);
   27379             :   fail:
   27380             :     
   27381             :     
   27382             :     
   27383             :     
   27384             :     
   27385           0 :     SWIG_croak_null();
   27386             :   }
   27387             : }
   27388             : 
   27389             : 
   27390           0 : XS(_wrap_layerObj_queryByRect) {
   27391             :   {
   27392             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   27393             :     mapObj *arg2 = (mapObj *) 0 ;
   27394             :     rectObj arg3 ;
   27395           0 :     void *argp1 = 0 ;
   27396             :     int res1 = 0 ;
   27397           0 :     void *argp2 = 0 ;
   27398             :     int res2 = 0 ;
   27399             :     void *argp3 ;
   27400             :     int res3 = 0 ;
   27401             :     int argvi = 0;
   27402             :     int result;
   27403           0 :     dXSARGS;
   27404             :     
   27405           0 :     if ((items < 3) || (items > 3)) {
   27406           0 :       SWIG_croak("Usage: layerObj_queryByRect(self,map,rect);");
   27407             :     }
   27408           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   27409           0 :     if (!SWIG_IsOK(res1)) {
   27410           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_queryByRect" "', argument " "1"" of type '" "struct layerObj *""'"); 
   27411             :     }
   27412           0 :     arg1 = (struct layerObj *)(argp1);
   27413           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 |  0 );
   27414           0 :     if (!SWIG_IsOK(res2)) {
   27415           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_queryByRect" "', argument " "2"" of type '" "mapObj *""'"); 
   27416             :     }
   27417           0 :     arg2 = (mapObj *)(argp2);
   27418             :     {
   27419           0 :       res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_rectObj,  0 );
   27420           0 :       if (!SWIG_IsOK(res3)) {
   27421           0 :         SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "layerObj_queryByRect" "', argument " "3"" of type '" "rectObj""'"); 
   27422             :       }  
   27423           0 :       if (!argp3) {
   27424           0 :         SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "layerObj_queryByRect" "', argument " "3"" of type '" "rectObj""'");
   27425             :       } else {
   27426           0 :         arg3 = *((rectObj *)(argp3));
   27427             :       }
   27428             :     }
   27429           0 :     result = (int)layerObj_queryByRect(arg1,arg2,arg3);
   27430           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   27431             :     
   27432             :     
   27433           0 :     XSRETURN(argvi);
   27434             :   fail:
   27435             :     
   27436             :     
   27437           0 :     SWIG_croak_null();
   27438             :   }
   27439             : }
   27440             : 
   27441             : 
   27442           0 : XS(_wrap_layerObj_queryByFeatures) {
   27443             :   {
   27444             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   27445             :     mapObj *arg2 = (mapObj *) 0 ;
   27446             :     int arg3 ;
   27447           0 :     void *argp1 = 0 ;
   27448             :     int res1 = 0 ;
   27449           0 :     void *argp2 = 0 ;
   27450             :     int res2 = 0 ;
   27451             :     int val3 ;
   27452             :     int ecode3 = 0 ;
   27453             :     int argvi = 0;
   27454             :     int result;
   27455           0 :     dXSARGS;
   27456             :     
   27457           0 :     if ((items < 3) || (items > 3)) {
   27458           0 :       SWIG_croak("Usage: layerObj_queryByFeatures(self,map,slayer);");
   27459             :     }
   27460           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   27461           0 :     if (!SWIG_IsOK(res1)) {
   27462           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_queryByFeatures" "', argument " "1"" of type '" "struct layerObj *""'"); 
   27463             :     }
   27464           0 :     arg1 = (struct layerObj *)(argp1);
   27465           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 |  0 );
   27466           0 :     if (!SWIG_IsOK(res2)) {
   27467           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_queryByFeatures" "', argument " "2"" of type '" "mapObj *""'"); 
   27468             :     }
   27469           0 :     arg2 = (mapObj *)(argp2);
   27470           0 :     ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
   27471           0 :     if (!SWIG_IsOK(ecode3)) {
   27472           0 :       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "layerObj_queryByFeatures" "', argument " "3"" of type '" "int""'");
   27473             :     } 
   27474           0 :     arg3 = (int)(val3);
   27475             :     result = (int)layerObj_queryByFeatures(arg1,arg2,arg3);
   27476           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   27477             :     
   27478             :     
   27479             :     
   27480           0 :     XSRETURN(argvi);
   27481             :   fail:
   27482             :     
   27483             :     
   27484             :     
   27485           0 :     SWIG_croak_null();
   27486             :   }
   27487             : }
   27488             : 
   27489             : 
   27490           0 : XS(_wrap_layerObj_queryByShape) {
   27491             :   {
   27492             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   27493             :     mapObj *arg2 = (mapObj *) 0 ;
   27494             :     shapeObj *arg3 = (shapeObj *) 0 ;
   27495           0 :     void *argp1 = 0 ;
   27496             :     int res1 = 0 ;
   27497           0 :     void *argp2 = 0 ;
   27498             :     int res2 = 0 ;
   27499           0 :     void *argp3 = 0 ;
   27500             :     int res3 = 0 ;
   27501             :     int argvi = 0;
   27502             :     int result;
   27503           0 :     dXSARGS;
   27504             :     
   27505           0 :     if ((items < 3) || (items > 3)) {
   27506           0 :       SWIG_croak("Usage: layerObj_queryByShape(self,map,shape);");
   27507             :     }
   27508           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   27509           0 :     if (!SWIG_IsOK(res1)) {
   27510           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_queryByShape" "', argument " "1"" of type '" "struct layerObj *""'"); 
   27511             :     }
   27512           0 :     arg1 = (struct layerObj *)(argp1);
   27513           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 |  0 );
   27514           0 :     if (!SWIG_IsOK(res2)) {
   27515           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_queryByShape" "', argument " "2"" of type '" "mapObj *""'"); 
   27516             :     }
   27517           0 :     arg2 = (mapObj *)(argp2);
   27518           0 :     res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_shapeObj, 0 |  0 );
   27519           0 :     if (!SWIG_IsOK(res3)) {
   27520           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "layerObj_queryByShape" "', argument " "3"" of type '" "shapeObj *""'"); 
   27521             :     }
   27522           0 :     arg3 = (shapeObj *)(argp3);
   27523           0 :     result = (int)layerObj_queryByShape(arg1,arg2,arg3);
   27524           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   27525             :     
   27526             :     
   27527             :     
   27528           0 :     XSRETURN(argvi);
   27529             :   fail:
   27530             :     
   27531             :     
   27532             :     
   27533           0 :     SWIG_croak_null();
   27534             :   }
   27535             : }
   27536             : 
   27537             : 
   27538           0 : XS(_wrap_layerObj_queryByIndex) {
   27539             :   {
   27540             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   27541             :     mapObj *arg2 = (mapObj *) 0 ;
   27542             :     int arg3 ;
   27543             :     int arg4 ;
   27544             :     int arg5 = (int) 0 ;
   27545           0 :     void *argp1 = 0 ;
   27546             :     int res1 = 0 ;
   27547           0 :     void *argp2 = 0 ;
   27548             :     int res2 = 0 ;
   27549             :     int val3 ;
   27550             :     int ecode3 = 0 ;
   27551             :     int val4 ;
   27552             :     int ecode4 = 0 ;
   27553             :     int val5 ;
   27554             :     int ecode5 = 0 ;
   27555             :     int argvi = 0;
   27556             :     int result;
   27557           0 :     dXSARGS;
   27558             :     
   27559           0 :     if ((items < 4) || (items > 5)) {
   27560           0 :       SWIG_croak("Usage: layerObj_queryByIndex(self,map,tileindex,shapeindex,bAddToQuery);");
   27561             :     }
   27562           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   27563           0 :     if (!SWIG_IsOK(res1)) {
   27564           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_queryByIndex" "', argument " "1"" of type '" "struct layerObj *""'"); 
   27565             :     }
   27566           0 :     arg1 = (struct layerObj *)(argp1);
   27567           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 |  0 );
   27568           0 :     if (!SWIG_IsOK(res2)) {
   27569           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_queryByIndex" "', argument " "2"" of type '" "mapObj *""'"); 
   27570             :     }
   27571           0 :     arg2 = (mapObj *)(argp2);
   27572           0 :     ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
   27573           0 :     if (!SWIG_IsOK(ecode3)) {
   27574           0 :       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "layerObj_queryByIndex" "', argument " "3"" of type '" "int""'");
   27575             :     } 
   27576           0 :     arg3 = (int)(val3);
   27577           0 :     ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
   27578           0 :     if (!SWIG_IsOK(ecode4)) {
   27579           0 :       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "layerObj_queryByIndex" "', argument " "4"" of type '" "int""'");
   27580             :     } 
   27581           0 :     arg4 = (int)(val4);
   27582           0 :     if (items > 4) {
   27583           0 :       ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
   27584           0 :       if (!SWIG_IsOK(ecode5)) {
   27585           0 :         SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "layerObj_queryByIndex" "', argument " "5"" of type '" "int""'");
   27586             :       } 
   27587           0 :       arg5 = (int)(val5);
   27588             :     }
   27589             :     result = (int)layerObj_queryByIndex(arg1,arg2,arg3,arg4,arg5);
   27590           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   27591             :     
   27592             :     
   27593             :     
   27594             :     
   27595             :     
   27596           0 :     XSRETURN(argvi);
   27597             :   fail:
   27598             :     
   27599             :     
   27600             :     
   27601             :     
   27602             :     
   27603           0 :     SWIG_croak_null();
   27604             :   }
   27605             : }
   27606             : 
   27607             : 
   27608           0 : XS(_wrap_layerObj_getResults) {
   27609             :   {
   27610           0 :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   27611           0 :     void *argp1 = 0 ;
   27612             :     int res1 = 0 ;
   27613             :     int argvi = 0;
   27614             :     resultCacheObj *result = 0 ;
   27615           0 :     dXSARGS;
   27616             :     
   27617           0 :     if ((items < 1) || (items > 1)) {
   27618           0 :       SWIG_croak("Usage: layerObj_getResults(self);");
   27619             :     }
   27620           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   27621           0 :     if (!SWIG_IsOK(res1)) {
   27622           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getResults" "', argument " "1"" of type '" "struct layerObj *""'"); 
   27623             :     }
   27624           0 :     arg1 = (struct layerObj *)(argp1);
   27625             :     result = (resultCacheObj *)layerObj_getResults(arg1);
   27626           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_resultCacheObj, 0 | SWIG_SHADOW); argvi++ ;
   27627             :     
   27628           0 :     XSRETURN(argvi);
   27629             :   fail:
   27630             :     
   27631           0 :     SWIG_croak_null();
   27632             :   }
   27633             : }
   27634             : 
   27635             : 
   27636           0 : XS(_wrap_layerObj_setFilter) {
   27637             :   {
   27638             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   27639             :     char *arg2 = (char *) 0 ;
   27640           0 :     void *argp1 = 0 ;
   27641             :     int res1 = 0 ;
   27642             :     int res2 ;
   27643           0 :     char *buf2 = 0 ;
   27644           0 :     int alloc2 = 0 ;
   27645             :     int argvi = 0;
   27646             :     int result;
   27647           0 :     dXSARGS;
   27648             :     
   27649           0 :     if ((items < 2) || (items > 2)) {
   27650           0 :       SWIG_croak("Usage: layerObj_setFilter(self,filter);");
   27651             :     }
   27652           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   27653           0 :     if (!SWIG_IsOK(res1)) {
   27654           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_setFilter" "', argument " "1"" of type '" "struct layerObj *""'"); 
   27655             :     }
   27656           0 :     arg1 = (struct layerObj *)(argp1);
   27657           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   27658           0 :     if (!SWIG_IsOK(res2)) {
   27659           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_setFilter" "', argument " "2"" of type '" "char *""'");
   27660             :     }
   27661           0 :     arg2 = (char *)(buf2);
   27662           0 :     result = (int)layerObj_setFilter(arg1,arg2);
   27663           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   27664             :     
   27665           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   27666           0 :     XSRETURN(argvi);
   27667             :   fail:
   27668             :     
   27669           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   27670           0 :     SWIG_croak_null();
   27671             :   }
   27672             : }
   27673             : 
   27674             : 
   27675           0 : XS(_wrap_layerObj_getFilterString) {
   27676             :   {
   27677             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   27678           0 :     void *argp1 = 0 ;
   27679             :     int res1 = 0 ;
   27680             :     int argvi = 0;
   27681             :     char *result = 0 ;
   27682           0 :     dXSARGS;
   27683             :     
   27684           0 :     if ((items < 1) || (items > 1)) {
   27685           0 :       SWIG_croak("Usage: layerObj_getFilterString(self);");
   27686             :     }
   27687           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   27688           0 :     if (!SWIG_IsOK(res1)) {
   27689           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getFilterString" "', argument " "1"" of type '" "struct layerObj *""'"); 
   27690             :     }
   27691           0 :     arg1 = (struct layerObj *)(argp1);
   27692             :     result = (char *)layerObj_getFilterString(arg1);
   27693           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   27694             :     
   27695           0 :     free((char*)result);
   27696           0 :     XSRETURN(argvi);
   27697             :   fail:
   27698             :     
   27699           0 :     SWIG_croak_null();
   27700             :   }
   27701             : }
   27702             : 
   27703             : 
   27704           0 : XS(_wrap_layerObj_setWKTProjection) {
   27705             :   {
   27706             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   27707             :     char *arg2 = (char *) 0 ;
   27708           0 :     void *argp1 = 0 ;
   27709             :     int res1 = 0 ;
   27710             :     int res2 ;
   27711           0 :     char *buf2 = 0 ;
   27712           0 :     int alloc2 = 0 ;
   27713             :     int argvi = 0;
   27714             :     int result;
   27715           0 :     dXSARGS;
   27716             :     
   27717           0 :     if ((items < 2) || (items > 2)) {
   27718           0 :       SWIG_croak("Usage: layerObj_setWKTProjection(self,wkt);");
   27719             :     }
   27720           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   27721           0 :     if (!SWIG_IsOK(res1)) {
   27722           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_setWKTProjection" "', argument " "1"" of type '" "struct layerObj *""'"); 
   27723             :     }
   27724           0 :     arg1 = (struct layerObj *)(argp1);
   27725           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   27726           0 :     if (!SWIG_IsOK(res2)) {
   27727           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_setWKTProjection" "', argument " "2"" of type '" "char *""'");
   27728             :     }
   27729           0 :     arg2 = (char *)(buf2);
   27730             :     result = (int)layerObj_setWKTProjection(arg1,arg2);
   27731           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   27732             :     
   27733           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   27734           0 :     XSRETURN(argvi);
   27735             :   fail:
   27736             :     
   27737           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   27738           0 :     SWIG_croak_null();
   27739             :   }
   27740             : }
   27741             : 
   27742             : 
   27743           0 : XS(_wrap_layerObj_getProjection) {
   27744             :   {
   27745             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   27746           0 :     void *argp1 = 0 ;
   27747             :     int res1 = 0 ;
   27748             :     int argvi = 0;
   27749             :     char *result = 0 ;
   27750           0 :     dXSARGS;
   27751             :     
   27752           0 :     if ((items < 1) || (items > 1)) {
   27753           0 :       SWIG_croak("Usage: layerObj_getProjection(self);");
   27754             :     }
   27755           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   27756           0 :     if (!SWIG_IsOK(res1)) {
   27757           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getProjection" "', argument " "1"" of type '" "struct layerObj *""'"); 
   27758             :     }
   27759           0 :     arg1 = (struct layerObj *)(argp1);
   27760             :     result = (char *)layerObj_getProjection(arg1);
   27761           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   27762             :     
   27763           0 :     free((char*)result);
   27764           0 :     XSRETURN(argvi);
   27765             :   fail:
   27766             :     
   27767           0 :     SWIG_croak_null();
   27768             :   }
   27769             : }
   27770             : 
   27771             : 
   27772           0 : XS(_wrap_layerObj_setProjection) {
   27773             :   {
   27774             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   27775             :     char *arg2 = (char *) 0 ;
   27776           0 :     void *argp1 = 0 ;
   27777             :     int res1 = 0 ;
   27778             :     int res2 ;
   27779           0 :     char *buf2 = 0 ;
   27780           0 :     int alloc2 = 0 ;
   27781             :     int argvi = 0;
   27782             :     int result;
   27783           0 :     dXSARGS;
   27784             :     
   27785           0 :     if ((items < 2) || (items > 2)) {
   27786           0 :       SWIG_croak("Usage: layerObj_setProjection(self,proj4);");
   27787             :     }
   27788           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   27789           0 :     if (!SWIG_IsOK(res1)) {
   27790           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_setProjection" "', argument " "1"" of type '" "struct layerObj *""'"); 
   27791             :     }
   27792           0 :     arg1 = (struct layerObj *)(argp1);
   27793           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   27794           0 :     if (!SWIG_IsOK(res2)) {
   27795           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_setProjection" "', argument " "2"" of type '" "char *""'");
   27796             :     }
   27797           0 :     arg2 = (char *)(buf2);
   27798             :     result = (int)layerObj_setProjection(arg1,arg2);
   27799           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   27800             :     
   27801           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   27802           0 :     XSRETURN(argvi);
   27803             :   fail:
   27804             :     
   27805           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   27806           0 :     SWIG_croak_null();
   27807             :   }
   27808             : }
   27809             : 
   27810             : 
   27811           0 : XS(_wrap_layerObj_addFeature) {
   27812             :   {
   27813             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   27814             :     shapeObj *arg2 = (shapeObj *) 0 ;
   27815           0 :     void *argp1 = 0 ;
   27816             :     int res1 = 0 ;
   27817           0 :     void *argp2 = 0 ;
   27818             :     int res2 = 0 ;
   27819             :     int argvi = 0;
   27820             :     int result;
   27821           0 :     dXSARGS;
   27822             :     
   27823           0 :     if ((items < 2) || (items > 2)) {
   27824           0 :       SWIG_croak("Usage: layerObj_addFeature(self,shape);");
   27825             :     }
   27826           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   27827           0 :     if (!SWIG_IsOK(res1)) {
   27828           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_addFeature" "', argument " "1"" of type '" "struct layerObj *""'"); 
   27829             :     }
   27830           0 :     arg1 = (struct layerObj *)(argp1);
   27831           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 |  0 );
   27832           0 :     if (!SWIG_IsOK(res2)) {
   27833           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_addFeature" "', argument " "2"" of type '" "shapeObj *""'"); 
   27834             :     }
   27835           0 :     arg2 = (shapeObj *)(argp2);
   27836           0 :     result = (int)layerObj_addFeature(arg1,arg2);
   27837           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   27838             :     
   27839             :     
   27840           0 :     XSRETURN(argvi);
   27841             :   fail:
   27842             :     
   27843             :     
   27844           0 :     SWIG_croak_null();
   27845             :   }
   27846             : }
   27847             : 
   27848             : 
   27849           0 : XS(_wrap_layerObj_getNumFeatures) {
   27850             :   {
   27851             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   27852           0 :     void *argp1 = 0 ;
   27853             :     int res1 = 0 ;
   27854             :     int argvi = 0;
   27855             :     int result;
   27856           0 :     dXSARGS;
   27857             :     
   27858           0 :     if ((items < 1) || (items > 1)) {
   27859           0 :       SWIG_croak("Usage: layerObj_getNumFeatures(self);");
   27860             :     }
   27861           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   27862           0 :     if (!SWIG_IsOK(res1)) {
   27863           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getNumFeatures" "', argument " "1"" of type '" "struct layerObj *""'"); 
   27864             :     }
   27865           0 :     arg1 = (struct layerObj *)(argp1);
   27866             :     result = (int)layerObj_getNumFeatures(arg1);
   27867           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   27868             :     
   27869           0 :     XSRETURN(argvi);
   27870             :   fail:
   27871             :     
   27872           0 :     SWIG_croak_null();
   27873             :   }
   27874             : }
   27875             : 
   27876             : 
   27877           0 : XS(_wrap_layerObj_getExtent) {
   27878             :   {
   27879             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   27880           0 :     void *argp1 = 0 ;
   27881             :     int res1 = 0 ;
   27882             :     int argvi = 0;
   27883             :     rectObj *result = 0 ;
   27884           0 :     dXSARGS;
   27885             :     
   27886           0 :     if ((items < 1) || (items > 1)) {
   27887           0 :       SWIG_croak("Usage: layerObj_getExtent(self);");
   27888             :     }
   27889           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   27890           0 :     if (!SWIG_IsOK(res1)) {
   27891           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getExtent" "', argument " "1"" of type '" "struct layerObj *""'"); 
   27892             :     }
   27893           0 :     arg1 = (struct layerObj *)(argp1);
   27894             :     result = (rectObj *)layerObj_getExtent(arg1);
   27895           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_rectObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   27896             :     
   27897           0 :     XSRETURN(argvi);
   27898             :   fail:
   27899             :     
   27900           0 :     SWIG_croak_null();
   27901             :   }
   27902             : }
   27903             : 
   27904             : 
   27905           0 : XS(_wrap_layerObj_setExtent) {
   27906             :   {
   27907             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   27908             :     double arg2 = (double) -1.0 ;
   27909             :     double arg3 = (double) -1.0 ;
   27910             :     double arg4 = (double) -1.0 ;
   27911             :     double arg5 = (double) -1.0 ;
   27912           0 :     void *argp1 = 0 ;
   27913             :     int res1 = 0 ;
   27914             :     double val2 ;
   27915             :     int ecode2 = 0 ;
   27916             :     double val3 ;
   27917             :     int ecode3 = 0 ;
   27918             :     double val4 ;
   27919             :     int ecode4 = 0 ;
   27920             :     double val5 ;
   27921             :     int ecode5 = 0 ;
   27922             :     int argvi = 0;
   27923             :     int result;
   27924           0 :     dXSARGS;
   27925             :     
   27926           0 :     if ((items < 1) || (items > 5)) {
   27927           0 :       SWIG_croak("Usage: layerObj_setExtent(self,minx,miny,maxx,maxy);");
   27928             :     }
   27929           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   27930           0 :     if (!SWIG_IsOK(res1)) {
   27931           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_setExtent" "', argument " "1"" of type '" "struct layerObj *""'"); 
   27932             :     }
   27933           0 :     arg1 = (struct layerObj *)(argp1);
   27934           0 :     if (items > 1) {
   27935           0 :       ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   27936           0 :       if (!SWIG_IsOK(ecode2)) {
   27937           0 :         SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_setExtent" "', argument " "2"" of type '" "double""'");
   27938             :       } 
   27939           0 :       arg2 = (double)(val2);
   27940             :     }
   27941           0 :     if (items > 2) {
   27942           0 :       ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
   27943           0 :       if (!SWIG_IsOK(ecode3)) {
   27944           0 :         SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "layerObj_setExtent" "', argument " "3"" of type '" "double""'");
   27945             :       } 
   27946           0 :       arg3 = (double)(val3);
   27947             :     }
   27948           0 :     if (items > 3) {
   27949           0 :       ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
   27950           0 :       if (!SWIG_IsOK(ecode4)) {
   27951           0 :         SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "layerObj_setExtent" "', argument " "4"" of type '" "double""'");
   27952             :       } 
   27953           0 :       arg4 = (double)(val4);
   27954             :     }
   27955           0 :     if (items > 4) {
   27956           0 :       ecode5 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
   27957           0 :       if (!SWIG_IsOK(ecode5)) {
   27958           0 :         SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "layerObj_setExtent" "', argument " "5"" of type '" "double""'");
   27959             :       } 
   27960           0 :       arg5 = (double)(val5);
   27961             :     }
   27962           0 :     result = (int)layerObj_setExtent(arg1,arg2,arg3,arg4,arg5);
   27963           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   27964             :     
   27965             :     
   27966             :     
   27967             :     
   27968             :     
   27969           0 :     XSRETURN(argvi);
   27970             :   fail:
   27971             :     
   27972             :     
   27973             :     
   27974             :     
   27975             :     
   27976           0 :     SWIG_croak_null();
   27977             :   }
   27978             : }
   27979             : 
   27980             : 
   27981           0 : XS(_wrap_layerObj_getMetaData) {
   27982             :   {
   27983             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   27984             :     char *arg2 = (char *) 0 ;
   27985           0 :     void *argp1 = 0 ;
   27986             :     int res1 = 0 ;
   27987             :     int res2 ;
   27988           0 :     char *buf2 = 0 ;
   27989           0 :     int alloc2 = 0 ;
   27990             :     int argvi = 0;
   27991             :     char *result = 0 ;
   27992           0 :     dXSARGS;
   27993             :     
   27994           0 :     if ((items < 2) || (items > 2)) {
   27995           0 :       SWIG_croak("Usage: layerObj_getMetaData(self,name);");
   27996             :     }
   27997           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   27998           0 :     if (!SWIG_IsOK(res1)) {
   27999           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getMetaData" "', argument " "1"" of type '" "struct layerObj *""'"); 
   28000             :     }
   28001           0 :     arg1 = (struct layerObj *)(argp1);
   28002           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   28003           0 :     if (!SWIG_IsOK(res2)) {
   28004           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_getMetaData" "', argument " "2"" of type '" "char *""'");
   28005             :     }
   28006           0 :     arg2 = (char *)(buf2);
   28007           0 :     result = (char *)layerObj_getMetaData(arg1,arg2);
   28008           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   28009             :     
   28010           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   28011           0 :     XSRETURN(argvi);
   28012             :   fail:
   28013             :     
   28014           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   28015           0 :     SWIG_croak_null();
   28016             :   }
   28017             : }
   28018             : 
   28019             : 
   28020           0 : XS(_wrap_layerObj_setMetaData) {
   28021             :   {
   28022             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   28023             :     char *arg2 = (char *) 0 ;
   28024             :     char *arg3 = (char *) 0 ;
   28025           0 :     void *argp1 = 0 ;
   28026             :     int res1 = 0 ;
   28027             :     int res2 ;
   28028           0 :     char *buf2 = 0 ;
   28029           0 :     int alloc2 = 0 ;
   28030             :     int res3 ;
   28031           0 :     char *buf3 = 0 ;
   28032           0 :     int alloc3 = 0 ;
   28033             :     int argvi = 0;
   28034             :     int result;
   28035           0 :     dXSARGS;
   28036             :     
   28037           0 :     if ((items < 3) || (items > 3)) {
   28038           0 :       SWIG_croak("Usage: layerObj_setMetaData(self,name,value);");
   28039             :     }
   28040           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   28041           0 :     if (!SWIG_IsOK(res1)) {
   28042           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_setMetaData" "', argument " "1"" of type '" "struct layerObj *""'"); 
   28043             :     }
   28044           0 :     arg1 = (struct layerObj *)(argp1);
   28045           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   28046           0 :     if (!SWIG_IsOK(res2)) {
   28047           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_setMetaData" "', argument " "2"" of type '" "char *""'");
   28048             :     }
   28049           0 :     arg2 = (char *)(buf2);
   28050           0 :     res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
   28051           0 :     if (!SWIG_IsOK(res3)) {
   28052           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "layerObj_setMetaData" "', argument " "3"" of type '" "char *""'");
   28053             :     }
   28054           0 :     arg3 = (char *)(buf3);
   28055             :     result = (int)layerObj_setMetaData(arg1,arg2,arg3);
   28056           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   28057             :     
   28058           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   28059           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   28060           0 :     XSRETURN(argvi);
   28061             :   fail:
   28062             :     
   28063           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   28064           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   28065           0 :     SWIG_croak_null();
   28066             :   }
   28067             : }
   28068             : 
   28069             : 
   28070           0 : XS(_wrap_layerObj_removeMetaData) {
   28071             :   {
   28072             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   28073             :     char *arg2 = (char *) 0 ;
   28074           0 :     void *argp1 = 0 ;
   28075             :     int res1 = 0 ;
   28076             :     int res2 ;
   28077           0 :     char *buf2 = 0 ;
   28078           0 :     int alloc2 = 0 ;
   28079             :     int argvi = 0;
   28080             :     int result;
   28081           0 :     dXSARGS;
   28082             :     
   28083           0 :     if ((items < 2) || (items > 2)) {
   28084           0 :       SWIG_croak("Usage: layerObj_removeMetaData(self,name);");
   28085             :     }
   28086           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   28087           0 :     if (!SWIG_IsOK(res1)) {
   28088           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_removeMetaData" "', argument " "1"" of type '" "struct layerObj *""'"); 
   28089             :     }
   28090           0 :     arg1 = (struct layerObj *)(argp1);
   28091           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   28092           0 :     if (!SWIG_IsOK(res2)) {
   28093           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_removeMetaData" "', argument " "2"" of type '" "char *""'");
   28094             :     }
   28095           0 :     arg2 = (char *)(buf2);
   28096             :     result = (int)layerObj_removeMetaData(arg1,arg2);
   28097           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   28098             :     
   28099           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   28100           0 :     XSRETURN(argvi);
   28101             :   fail:
   28102             :     
   28103           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   28104           0 :     SWIG_croak_null();
   28105             :   }
   28106             : }
   28107             : 
   28108             : 
   28109           0 : XS(_wrap_layerObj_getFirstMetaDataKey) {
   28110             :   {
   28111             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   28112           0 :     void *argp1 = 0 ;
   28113             :     int res1 = 0 ;
   28114             :     int argvi = 0;
   28115             :     char *result = 0 ;
   28116           0 :     dXSARGS;
   28117             :     
   28118           0 :     if ((items < 1) || (items > 1)) {
   28119           0 :       SWIG_croak("Usage: layerObj_getFirstMetaDataKey(self);");
   28120             :     }
   28121           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   28122           0 :     if (!SWIG_IsOK(res1)) {
   28123           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getFirstMetaDataKey" "', argument " "1"" of type '" "struct layerObj *""'"); 
   28124             :     }
   28125           0 :     arg1 = (struct layerObj *)(argp1);
   28126             :     result = (char *)layerObj_getFirstMetaDataKey(arg1);
   28127           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   28128             :     
   28129           0 :     XSRETURN(argvi);
   28130             :   fail:
   28131             :     
   28132           0 :     SWIG_croak_null();
   28133             :   }
   28134             : }
   28135             : 
   28136             : 
   28137           0 : XS(_wrap_layerObj_getNextMetaDataKey) {
   28138             :   {
   28139             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   28140             :     char *arg2 = (char *) 0 ;
   28141           0 :     void *argp1 = 0 ;
   28142             :     int res1 = 0 ;
   28143             :     int res2 ;
   28144           0 :     char *buf2 = 0 ;
   28145           0 :     int alloc2 = 0 ;
   28146             :     int argvi = 0;
   28147             :     char *result = 0 ;
   28148           0 :     dXSARGS;
   28149             :     
   28150           0 :     if ((items < 2) || (items > 2)) {
   28151           0 :       SWIG_croak("Usage: layerObj_getNextMetaDataKey(self,lastkey);");
   28152             :     }
   28153           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   28154           0 :     if (!SWIG_IsOK(res1)) {
   28155           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getNextMetaDataKey" "', argument " "1"" of type '" "struct layerObj *""'"); 
   28156             :     }
   28157           0 :     arg1 = (struct layerObj *)(argp1);
   28158           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   28159           0 :     if (!SWIG_IsOK(res2)) {
   28160           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_getNextMetaDataKey" "', argument " "2"" of type '" "char *""'");
   28161             :     }
   28162           0 :     arg2 = (char *)(buf2);
   28163             :     result = (char *)layerObj_getNextMetaDataKey(arg1,arg2);
   28164           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   28165             :     
   28166           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   28167           0 :     XSRETURN(argvi);
   28168             :   fail:
   28169             :     
   28170           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   28171           0 :     SWIG_croak_null();
   28172             :   }
   28173             : }
   28174             : 
   28175             : 
   28176           0 : XS(_wrap_layerObj_getWMSFeatureInfoURL) {
   28177             :   {
   28178             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   28179             :     mapObj *arg2 = (mapObj *) 0 ;
   28180             :     int arg3 ;
   28181             :     int arg4 ;
   28182             :     int arg5 ;
   28183             :     char *arg6 = (char *) 0 ;
   28184           0 :     void *argp1 = 0 ;
   28185             :     int res1 = 0 ;
   28186           0 :     void *argp2 = 0 ;
   28187             :     int res2 = 0 ;
   28188             :     int val3 ;
   28189             :     int ecode3 = 0 ;
   28190             :     int val4 ;
   28191             :     int ecode4 = 0 ;
   28192             :     int val5 ;
   28193             :     int ecode5 = 0 ;
   28194             :     int res6 ;
   28195           0 :     char *buf6 = 0 ;
   28196           0 :     int alloc6 = 0 ;
   28197             :     int argvi = 0;
   28198             :     char *result = 0 ;
   28199           0 :     dXSARGS;
   28200             :     
   28201           0 :     if ((items < 6) || (items > 6)) {
   28202           0 :       SWIG_croak("Usage: layerObj_getWMSFeatureInfoURL(self,map,click_x,click_y,feature_count,info_format);");
   28203             :     }
   28204           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   28205           0 :     if (!SWIG_IsOK(res1)) {
   28206           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getWMSFeatureInfoURL" "', argument " "1"" of type '" "struct layerObj *""'"); 
   28207             :     }
   28208           0 :     arg1 = (struct layerObj *)(argp1);
   28209           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 |  0 );
   28210           0 :     if (!SWIG_IsOK(res2)) {
   28211           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_getWMSFeatureInfoURL" "', argument " "2"" of type '" "mapObj *""'"); 
   28212             :     }
   28213           0 :     arg2 = (mapObj *)(argp2);
   28214           0 :     ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
   28215           0 :     if (!SWIG_IsOK(ecode3)) {
   28216           0 :       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "layerObj_getWMSFeatureInfoURL" "', argument " "3"" of type '" "int""'");
   28217             :     } 
   28218           0 :     arg3 = (int)(val3);
   28219           0 :     ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
   28220           0 :     if (!SWIG_IsOK(ecode4)) {
   28221           0 :       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "layerObj_getWMSFeatureInfoURL" "', argument " "4"" of type '" "int""'");
   28222             :     } 
   28223           0 :     arg4 = (int)(val4);
   28224           0 :     ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
   28225           0 :     if (!SWIG_IsOK(ecode5)) {
   28226           0 :       SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "layerObj_getWMSFeatureInfoURL" "', argument " "5"" of type '" "int""'");
   28227             :     } 
   28228           0 :     arg5 = (int)(val5);
   28229           0 :     res6 = SWIG_AsCharPtrAndSize(ST(5), &buf6, NULL, &alloc6);
   28230           0 :     if (!SWIG_IsOK(res6)) {
   28231           0 :       SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "layerObj_getWMSFeatureInfoURL" "', argument " "6"" of type '" "char *""'");
   28232             :     }
   28233           0 :     arg6 = (char *)(buf6);
   28234             :     result = (char *)layerObj_getWMSFeatureInfoURL(arg1,arg2,arg3,arg4,arg5,arg6);
   28235           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   28236             :     
   28237             :     
   28238             :     
   28239             :     
   28240             :     
   28241           0 :     if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
   28242           0 :     free((char*)result);
   28243           0 :     XSRETURN(argvi);
   28244             :   fail:
   28245             :     
   28246             :     
   28247             :     
   28248             :     
   28249             :     
   28250           0 :     if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
   28251           0 :     SWIG_croak_null();
   28252             :   }
   28253             : }
   28254             : 
   28255             : 
   28256           0 : XS(_wrap_layerObj_executeWFSGetFeature) {
   28257             :   {
   28258             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   28259             :     layerObj *arg2 = (layerObj *) 0 ;
   28260           0 :     void *argp1 = 0 ;
   28261             :     int res1 = 0 ;
   28262           0 :     void *argp2 = 0 ;
   28263             :     int res2 = 0 ;
   28264             :     int argvi = 0;
   28265             :     char *result = 0 ;
   28266           0 :     dXSARGS;
   28267             :     
   28268           0 :     if ((items < 2) || (items > 2)) {
   28269           0 :       SWIG_croak("Usage: layerObj_executeWFSGetFeature(self,layer);");
   28270             :     }
   28271           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   28272           0 :     if (!SWIG_IsOK(res1)) {
   28273           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_executeWFSGetFeature" "', argument " "1"" of type '" "struct layerObj *""'"); 
   28274             :     }
   28275             :     arg1 = (struct layerObj *)(argp1);
   28276           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_layerObj, 0 |  0 );
   28277           0 :     if (!SWIG_IsOK(res2)) {
   28278           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_executeWFSGetFeature" "', argument " "2"" of type '" "layerObj *""'"); 
   28279             :     }
   28280           0 :     arg2 = (layerObj *)(argp2);
   28281             :     result = (char *)layerObj_executeWFSGetFeature(arg1,arg2);
   28282           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   28283             :     
   28284             :     
   28285           0 :     free((char*)result);
   28286           0 :     XSRETURN(argvi);
   28287             :   fail:
   28288             :     
   28289             :     
   28290           0 :     SWIG_croak_null();
   28291             :   }
   28292             : }
   28293             : 
   28294             : 
   28295           0 : XS(_wrap_layerObj_applySLD) {
   28296             :   {
   28297           0 :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   28298             :     char *arg2 = (char *) 0 ;
   28299             :     char *arg3 = (char *) 0 ;
   28300           0 :     void *argp1 = 0 ;
   28301             :     int res1 = 0 ;
   28302             :     int res2 ;
   28303           0 :     char *buf2 = 0 ;
   28304           0 :     int alloc2 = 0 ;
   28305             :     int res3 ;
   28306           0 :     char *buf3 = 0 ;
   28307           0 :     int alloc3 = 0 ;
   28308             :     int argvi = 0;
   28309             :     int result;
   28310           0 :     dXSARGS;
   28311             :     
   28312           0 :     if ((items < 3) || (items > 3)) {
   28313           0 :       SWIG_croak("Usage: layerObj_applySLD(self,sld,stylelayer);");
   28314             :     }
   28315           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   28316           0 :     if (!SWIG_IsOK(res1)) {
   28317           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_applySLD" "', argument " "1"" of type '" "struct layerObj *""'"); 
   28318             :     }
   28319           0 :     arg1 = (struct layerObj *)(argp1);
   28320           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   28321           0 :     if (!SWIG_IsOK(res2)) {
   28322           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_applySLD" "', argument " "2"" of type '" "char *""'");
   28323             :     }
   28324           0 :     arg2 = (char *)(buf2);
   28325           0 :     res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
   28326           0 :     if (!SWIG_IsOK(res3)) {
   28327           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "layerObj_applySLD" "', argument " "3"" of type '" "char *""'");
   28328             :     }
   28329           0 :     arg3 = (char *)(buf3);
   28330             :     result = (int)layerObj_applySLD(arg1,arg2,arg3);
   28331           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   28332             :     
   28333           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   28334           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   28335           0 :     XSRETURN(argvi);
   28336             :   fail:
   28337             :     
   28338           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   28339           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   28340           0 :     SWIG_croak_null();
   28341             :   }
   28342             : }
   28343             : 
   28344             : 
   28345           0 : XS(_wrap_layerObj_applySLDURL) {
   28346             :   {
   28347           0 :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   28348             :     char *arg2 = (char *) 0 ;
   28349             :     char *arg3 = (char *) 0 ;
   28350           0 :     void *argp1 = 0 ;
   28351             :     int res1 = 0 ;
   28352             :     int res2 ;
   28353           0 :     char *buf2 = 0 ;
   28354           0 :     int alloc2 = 0 ;
   28355             :     int res3 ;
   28356           0 :     char *buf3 = 0 ;
   28357           0 :     int alloc3 = 0 ;
   28358             :     int argvi = 0;
   28359             :     int result;
   28360           0 :     dXSARGS;
   28361             :     
   28362           0 :     if ((items < 3) || (items > 3)) {
   28363           0 :       SWIG_croak("Usage: layerObj_applySLDURL(self,sld,stylelayer);");
   28364             :     }
   28365           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   28366           0 :     if (!SWIG_IsOK(res1)) {
   28367           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_applySLDURL" "', argument " "1"" of type '" "struct layerObj *""'"); 
   28368             :     }
   28369           0 :     arg1 = (struct layerObj *)(argp1);
   28370           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   28371           0 :     if (!SWIG_IsOK(res2)) {
   28372           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_applySLDURL" "', argument " "2"" of type '" "char *""'");
   28373             :     }
   28374           0 :     arg2 = (char *)(buf2);
   28375           0 :     res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
   28376           0 :     if (!SWIG_IsOK(res3)) {
   28377           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "layerObj_applySLDURL" "', argument " "3"" of type '" "char *""'");
   28378             :     }
   28379           0 :     arg3 = (char *)(buf3);
   28380             :     result = (int)layerObj_applySLDURL(arg1,arg2,arg3);
   28381           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   28382             :     
   28383           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   28384           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   28385           0 :     XSRETURN(argvi);
   28386             :   fail:
   28387             :     
   28388           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   28389           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   28390           0 :     SWIG_croak_null();
   28391             :   }
   28392             : }
   28393             : 
   28394             : 
   28395           0 : XS(_wrap_layerObj_generateSLD) {
   28396             :   {
   28397           0 :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   28398           0 :     void *argp1 = 0 ;
   28399             :     int res1 = 0 ;
   28400             :     int argvi = 0;
   28401             :     char *result = 0 ;
   28402           0 :     dXSARGS;
   28403             :     
   28404           0 :     if ((items < 1) || (items > 1)) {
   28405           0 :       SWIG_croak("Usage: layerObj_generateSLD(self);");
   28406             :     }
   28407           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   28408           0 :     if (!SWIG_IsOK(res1)) {
   28409           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_generateSLD" "', argument " "1"" of type '" "struct layerObj *""'"); 
   28410             :     }
   28411           0 :     arg1 = (struct layerObj *)(argp1);
   28412             :     result = (char *)layerObj_generateSLD(arg1);
   28413           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   28414             :     
   28415           0 :     free((char*)result);
   28416           0 :     XSRETURN(argvi);
   28417             :   fail:
   28418             :     
   28419           0 :     SWIG_croak_null();
   28420             :   }
   28421             : }
   28422             : 
   28423             : 
   28424           0 : XS(_wrap_layerObj_isVisible) {
   28425             :   {
   28426             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   28427           0 :     void *argp1 = 0 ;
   28428             :     int res1 = 0 ;
   28429             :     int argvi = 0;
   28430             :     int result;
   28431           0 :     dXSARGS;
   28432             :     
   28433           0 :     if ((items < 1) || (items > 1)) {
   28434           0 :       SWIG_croak("Usage: layerObj_isVisible(self);");
   28435             :     }
   28436           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   28437           0 :     if (!SWIG_IsOK(res1)) {
   28438           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_isVisible" "', argument " "1"" of type '" "struct layerObj *""'"); 
   28439             :     }
   28440           0 :     arg1 = (struct layerObj *)(argp1);
   28441           0 :     result = (int)layerObj_isVisible(arg1);
   28442           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   28443             :     
   28444           0 :     XSRETURN(argvi);
   28445             :   fail:
   28446             :     
   28447           0 :     SWIG_croak_null();
   28448             :   }
   28449             : }
   28450             : 
   28451             : 
   28452           0 : XS(_wrap_layerObj_moveClassUp) {
   28453             :   {
   28454             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   28455             :     int arg2 ;
   28456           0 :     void *argp1 = 0 ;
   28457             :     int res1 = 0 ;
   28458             :     int val2 ;
   28459             :     int ecode2 = 0 ;
   28460             :     int argvi = 0;
   28461             :     int result;
   28462           0 :     dXSARGS;
   28463             :     
   28464           0 :     if ((items < 2) || (items > 2)) {
   28465           0 :       SWIG_croak("Usage: layerObj_moveClassUp(self,index);");
   28466             :     }
   28467           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   28468           0 :     if (!SWIG_IsOK(res1)) {
   28469           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_moveClassUp" "', argument " "1"" of type '" "struct layerObj *""'"); 
   28470             :     }
   28471           0 :     arg1 = (struct layerObj *)(argp1);
   28472           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   28473           0 :     if (!SWIG_IsOK(ecode2)) {
   28474           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_moveClassUp" "', argument " "2"" of type '" "int""'");
   28475             :     } 
   28476           0 :     arg2 = (int)(val2);
   28477             :     result = (int)layerObj_moveClassUp(arg1,arg2);
   28478           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   28479             :     
   28480             :     
   28481           0 :     XSRETURN(argvi);
   28482             :   fail:
   28483             :     
   28484             :     
   28485           0 :     SWIG_croak_null();
   28486             :   }
   28487             : }
   28488             : 
   28489             : 
   28490           0 : XS(_wrap_layerObj_moveClassDown) {
   28491             :   {
   28492             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   28493             :     int arg2 ;
   28494           0 :     void *argp1 = 0 ;
   28495             :     int res1 = 0 ;
   28496             :     int val2 ;
   28497             :     int ecode2 = 0 ;
   28498             :     int argvi = 0;
   28499             :     int result;
   28500           0 :     dXSARGS;
   28501             :     
   28502           0 :     if ((items < 2) || (items > 2)) {
   28503           0 :       SWIG_croak("Usage: layerObj_moveClassDown(self,index);");
   28504             :     }
   28505           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   28506           0 :     if (!SWIG_IsOK(res1)) {
   28507           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_moveClassDown" "', argument " "1"" of type '" "struct layerObj *""'"); 
   28508             :     }
   28509           0 :     arg1 = (struct layerObj *)(argp1);
   28510           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   28511           0 :     if (!SWIG_IsOK(ecode2)) {
   28512           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_moveClassDown" "', argument " "2"" of type '" "int""'");
   28513             :     } 
   28514           0 :     arg2 = (int)(val2);
   28515             :     result = (int)layerObj_moveClassDown(arg1,arg2);
   28516           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   28517             :     
   28518             :     
   28519           0 :     XSRETURN(argvi);
   28520             :   fail:
   28521             :     
   28522             :     
   28523           0 :     SWIG_croak_null();
   28524             :   }
   28525             : }
   28526             : 
   28527             : 
   28528           0 : XS(_wrap_layerObj_setProcessingKey) {
   28529             :   {
   28530             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   28531             :     char *arg2 = (char *) 0 ;
   28532             :     char *arg3 = (char *) 0 ;
   28533           0 :     void *argp1 = 0 ;
   28534             :     int res1 = 0 ;
   28535             :     int res2 ;
   28536           0 :     char *buf2 = 0 ;
   28537           0 :     int alloc2 = 0 ;
   28538             :     int res3 ;
   28539           0 :     char *buf3 = 0 ;
   28540           0 :     int alloc3 = 0 ;
   28541             :     int argvi = 0;
   28542           0 :     dXSARGS;
   28543             :     
   28544           0 :     if ((items < 3) || (items > 3)) {
   28545           0 :       SWIG_croak("Usage: layerObj_setProcessingKey(self,key,value);");
   28546             :     }
   28547           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   28548           0 :     if (!SWIG_IsOK(res1)) {
   28549           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_setProcessingKey" "', argument " "1"" of type '" "struct layerObj *""'"); 
   28550             :     }
   28551           0 :     arg1 = (struct layerObj *)(argp1);
   28552           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   28553           0 :     if (!SWIG_IsOK(res2)) {
   28554           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_setProcessingKey" "', argument " "2"" of type '" "char const *""'");
   28555             :     }
   28556           0 :     arg2 = (char *)(buf2);
   28557           0 :     res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
   28558           0 :     if (!SWIG_IsOK(res3)) {
   28559           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "layerObj_setProcessingKey" "', argument " "3"" of type '" "char const *""'");
   28560             :     }
   28561           0 :     arg3 = (char *)(buf3);
   28562             :     layerObj_setProcessingKey(arg1,(char const *)arg2,(char const *)arg3);
   28563           0 :     ST(argvi) = sv_newmortal();
   28564             :     
   28565           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   28566           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   28567           0 :     XSRETURN(argvi);
   28568             :   fail:
   28569             :     
   28570           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   28571           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   28572           0 :     SWIG_croak_null();
   28573             :   }
   28574             : }
   28575             : 
   28576             : 
   28577           0 : XS(_wrap_layerObj_setProcessing) {
   28578             :   {
   28579             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   28580             :     char *arg2 = (char *) 0 ;
   28581           0 :     void *argp1 = 0 ;
   28582             :     int res1 = 0 ;
   28583             :     int res2 ;
   28584           0 :     char *buf2 = 0 ;
   28585           0 :     int alloc2 = 0 ;
   28586             :     int argvi = 0;
   28587           0 :     dXSARGS;
   28588             :     
   28589           0 :     if ((items < 2) || (items > 2)) {
   28590           0 :       SWIG_croak("Usage: layerObj_setProcessing(self,directive);");
   28591             :     }
   28592           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   28593           0 :     if (!SWIG_IsOK(res1)) {
   28594           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_setProcessing" "', argument " "1"" of type '" "struct layerObj *""'"); 
   28595             :     }
   28596           0 :     arg1 = (struct layerObj *)(argp1);
   28597           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   28598           0 :     if (!SWIG_IsOK(res2)) {
   28599           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_setProcessing" "', argument " "2"" of type '" "char const *""'");
   28600             :     }
   28601           0 :     arg2 = (char *)(buf2);
   28602             :     layerObj_setProcessing(arg1,(char const *)arg2);
   28603           0 :     ST(argvi) = sv_newmortal();
   28604             :     
   28605           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   28606           0 :     XSRETURN(argvi);
   28607             :   fail:
   28608             :     
   28609           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   28610           0 :     SWIG_croak_null();
   28611             :   }
   28612             : }
   28613             : 
   28614             : 
   28615           0 : XS(_wrap_layerObj_addProcessing) {
   28616             :   {
   28617             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   28618             :     char *arg2 = (char *) 0 ;
   28619           0 :     void *argp1 = 0 ;
   28620             :     int res1 = 0 ;
   28621             :     int res2 ;
   28622           0 :     char *buf2 = 0 ;
   28623           0 :     int alloc2 = 0 ;
   28624             :     int argvi = 0;
   28625           0 :     dXSARGS;
   28626             :     
   28627           0 :     if ((items < 2) || (items > 2)) {
   28628           0 :       SWIG_croak("Usage: layerObj_addProcessing(self,directive);");
   28629             :     }
   28630           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   28631           0 :     if (!SWIG_IsOK(res1)) {
   28632           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_addProcessing" "', argument " "1"" of type '" "struct layerObj *""'"); 
   28633             :     }
   28634           0 :     arg1 = (struct layerObj *)(argp1);
   28635           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   28636           0 :     if (!SWIG_IsOK(res2)) {
   28637           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_addProcessing" "', argument " "2"" of type '" "char const *""'");
   28638             :     }
   28639           0 :     arg2 = (char *)(buf2);
   28640             :     layerObj_addProcessing(arg1,(char const *)arg2);
   28641           0 :     ST(argvi) = sv_newmortal();
   28642             :     
   28643           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   28644           0 :     XSRETURN(argvi);
   28645             :   fail:
   28646             :     
   28647           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   28648           0 :     SWIG_croak_null();
   28649             :   }
   28650             : }
   28651             : 
   28652             : 
   28653           0 : XS(_wrap_layerObj_getProcessing) {
   28654             :   {
   28655             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   28656             :     int arg2 ;
   28657           0 :     void *argp1 = 0 ;
   28658             :     int res1 = 0 ;
   28659             :     int val2 ;
   28660             :     int ecode2 = 0 ;
   28661             :     int argvi = 0;
   28662             :     char *result = 0 ;
   28663           0 :     dXSARGS;
   28664             :     
   28665           0 :     if ((items < 2) || (items > 2)) {
   28666           0 :       SWIG_croak("Usage: layerObj_getProcessing(self,index);");
   28667             :     }
   28668           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   28669           0 :     if (!SWIG_IsOK(res1)) {
   28670           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getProcessing" "', argument " "1"" of type '" "struct layerObj *""'"); 
   28671             :     }
   28672           0 :     arg1 = (struct layerObj *)(argp1);
   28673           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   28674           0 :     if (!SWIG_IsOK(ecode2)) {
   28675           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_getProcessing" "', argument " "2"" of type '" "int""'");
   28676             :     } 
   28677           0 :     arg2 = (int)(val2);
   28678             :     result = (char *)layerObj_getProcessing(arg1,arg2);
   28679           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   28680             :     
   28681             :     
   28682           0 :     XSRETURN(argvi);
   28683             :   fail:
   28684             :     
   28685             :     
   28686           0 :     SWIG_croak_null();
   28687             :   }
   28688             : }
   28689             : 
   28690             : 
   28691           0 : XS(_wrap_layerObj_getProcessingKey) {
   28692             :   {
   28693             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   28694             :     char *arg2 = (char *) 0 ;
   28695           0 :     void *argp1 = 0 ;
   28696             :     int res1 = 0 ;
   28697             :     int res2 ;
   28698           0 :     char *buf2 = 0 ;
   28699           0 :     int alloc2 = 0 ;
   28700             :     int argvi = 0;
   28701             :     char *result = 0 ;
   28702           0 :     dXSARGS;
   28703             :     
   28704           0 :     if ((items < 2) || (items > 2)) {
   28705           0 :       SWIG_croak("Usage: layerObj_getProcessingKey(self,key);");
   28706             :     }
   28707           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   28708           0 :     if (!SWIG_IsOK(res1)) {
   28709           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getProcessingKey" "', argument " "1"" of type '" "struct layerObj *""'"); 
   28710             :     }
   28711           0 :     arg1 = (struct layerObj *)(argp1);
   28712           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   28713           0 :     if (!SWIG_IsOK(res2)) {
   28714           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_getProcessingKey" "', argument " "2"" of type '" "char const *""'");
   28715             :     }
   28716           0 :     arg2 = (char *)(buf2);
   28717             :     result = (char *)layerObj_getProcessingKey(arg1,(char const *)arg2);
   28718           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   28719             :     
   28720           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   28721           0 :     XSRETURN(argvi);
   28722             :   fail:
   28723             :     
   28724           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   28725           0 :     SWIG_croak_null();
   28726             :   }
   28727             : }
   28728             : 
   28729             : 
   28730           0 : XS(_wrap_layerObj_clearProcessing) {
   28731             :   {
   28732             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   28733           0 :     void *argp1 = 0 ;
   28734             :     int res1 = 0 ;
   28735             :     int argvi = 0;
   28736             :     int result;
   28737           0 :     dXSARGS;
   28738             :     
   28739           0 :     if ((items < 1) || (items > 1)) {
   28740           0 :       SWIG_croak("Usage: layerObj_clearProcessing(self);");
   28741             :     }
   28742           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   28743           0 :     if (!SWIG_IsOK(res1)) {
   28744           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_clearProcessing" "', argument " "1"" of type '" "struct layerObj *""'"); 
   28745             :     }
   28746           0 :     arg1 = (struct layerObj *)(argp1);
   28747             :     result = (int)layerObj_clearProcessing(arg1);
   28748           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   28749             :     
   28750           0 :     XSRETURN(argvi);
   28751             :   fail:
   28752             :     
   28753           0 :     SWIG_croak_null();
   28754             :   }
   28755             : }
   28756             : 
   28757             : 
   28758           0 : XS(_wrap_layerObj_setConnectionType) {
   28759             :   {
   28760             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   28761             :     int arg2 ;
   28762             :     char *arg3 = (char *) 0 ;
   28763           0 :     void *argp1 = 0 ;
   28764             :     int res1 = 0 ;
   28765             :     int val2 ;
   28766             :     int ecode2 = 0 ;
   28767             :     int res3 ;
   28768           0 :     char *buf3 = 0 ;
   28769           0 :     int alloc3 = 0 ;
   28770             :     int argvi = 0;
   28771             :     int result;
   28772           0 :     dXSARGS;
   28773             :     
   28774           0 :     if ((items < 3) || (items > 3)) {
   28775           0 :       SWIG_croak("Usage: layerObj_setConnectionType(self,connectiontype,library_str);");
   28776             :     }
   28777           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   28778           0 :     if (!SWIG_IsOK(res1)) {
   28779           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_setConnectionType" "', argument " "1"" of type '" "struct layerObj *""'"); 
   28780             :     }
   28781           0 :     arg1 = (struct layerObj *)(argp1);
   28782           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   28783           0 :     if (!SWIG_IsOK(ecode2)) {
   28784           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_setConnectionType" "', argument " "2"" of type '" "int""'");
   28785             :     } 
   28786           0 :     arg2 = (int)(val2);
   28787           0 :     res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
   28788           0 :     if (!SWIG_IsOK(res3)) {
   28789           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "layerObj_setConnectionType" "', argument " "3"" of type '" "char const *""'");
   28790             :     }
   28791           0 :     arg3 = (char *)(buf3);
   28792           0 :     result = (int)layerObj_setConnectionType(arg1,arg2,(char const *)arg3);
   28793           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   28794             :     
   28795             :     
   28796           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   28797           0 :     XSRETURN(argvi);
   28798             :   fail:
   28799             :     
   28800             :     
   28801           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   28802           0 :     SWIG_croak_null();
   28803             :   }
   28804             : }
   28805             : 
   28806             : 
   28807           0 : XS(_wrap_layerObj_getClassIndex) {
   28808             :   {
   28809             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   28810             :     mapObj *arg2 = (mapObj *) 0 ;
   28811             :     shapeObj *arg3 = (shapeObj *) 0 ;
   28812             :     int *arg4 = (int *) NULL ;
   28813             :     int arg5 = (int) 0 ;
   28814           0 :     void *argp1 = 0 ;
   28815             :     int res1 = 0 ;
   28816           0 :     void *argp2 = 0 ;
   28817             :     int res2 = 0 ;
   28818           0 :     void *argp3 = 0 ;
   28819             :     int res3 = 0 ;
   28820           0 :     void *argp4 = 0 ;
   28821             :     int res4 = 0 ;
   28822             :     int val5 ;
   28823             :     int ecode5 = 0 ;
   28824             :     int argvi = 0;
   28825             :     int result;
   28826           0 :     dXSARGS;
   28827             :     
   28828           0 :     if ((items < 3) || (items > 5)) {
   28829           0 :       SWIG_croak("Usage: layerObj_getClassIndex(self,map,shape,classgroup,numclasses);");
   28830             :     }
   28831           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   28832           0 :     if (!SWIG_IsOK(res1)) {
   28833           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getClassIndex" "', argument " "1"" of type '" "struct layerObj *""'"); 
   28834             :     }
   28835           0 :     arg1 = (struct layerObj *)(argp1);
   28836           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 |  0 );
   28837           0 :     if (!SWIG_IsOK(res2)) {
   28838           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_getClassIndex" "', argument " "2"" of type '" "mapObj *""'"); 
   28839             :     }
   28840           0 :     arg2 = (mapObj *)(argp2);
   28841           0 :     res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_shapeObj, 0 |  0 );
   28842           0 :     if (!SWIG_IsOK(res3)) {
   28843           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "layerObj_getClassIndex" "', argument " "3"" of type '" "shapeObj *""'"); 
   28844             :     }
   28845           0 :     arg3 = (shapeObj *)(argp3);
   28846           0 :     if (items > 3) {
   28847           0 :       res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_int, 0 |  0 );
   28848           0 :       if (!SWIG_IsOK(res4)) {
   28849           0 :         SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "layerObj_getClassIndex" "', argument " "4"" of type '" "int *""'"); 
   28850             :       }
   28851           0 :       arg4 = (int *)(argp4);
   28852             :     }
   28853           0 :     if (items > 4) {
   28854           0 :       ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
   28855           0 :       if (!SWIG_IsOK(ecode5)) {
   28856           0 :         SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "layerObj_getClassIndex" "', argument " "5"" of type '" "int""'");
   28857             :       } 
   28858           0 :       arg5 = (int)(val5);
   28859             :     }
   28860             :     result = (int)layerObj_getClassIndex(arg1,arg2,arg3,arg4,arg5);
   28861           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   28862             :     
   28863             :     
   28864             :     
   28865             :     
   28866             :     
   28867           0 :     XSRETURN(argvi);
   28868             :   fail:
   28869             :     
   28870             :     
   28871             :     
   28872             :     
   28873             :     
   28874           0 :     SWIG_croak_null();
   28875             :   }
   28876             : }
   28877             : 
   28878             : 
   28879           0 : XS(_wrap_layerObj_getGeomTransform) {
   28880             :   {
   28881           0 :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   28882           0 :     void *argp1 = 0 ;
   28883             :     int res1 = 0 ;
   28884             :     int argvi = 0;
   28885             :     char *result = 0 ;
   28886           0 :     dXSARGS;
   28887             :     
   28888           0 :     if ((items < 1) || (items > 1)) {
   28889           0 :       SWIG_croak("Usage: layerObj_getGeomTransform(self);");
   28890             :     }
   28891           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   28892           0 :     if (!SWIG_IsOK(res1)) {
   28893           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getGeomTransform" "', argument " "1"" of type '" "struct layerObj *""'"); 
   28894             :     }
   28895           0 :     arg1 = (struct layerObj *)(argp1);
   28896             :     result = (char *)layerObj_getGeomTransform(arg1);
   28897           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   28898             :     
   28899           0 :     XSRETURN(argvi);
   28900             :   fail:
   28901             :     
   28902           0 :     SWIG_croak_null();
   28903             :   }
   28904             : }
   28905             : 
   28906             : 
   28907           0 : XS(_wrap_layerObj_setGeomTransform) {
   28908             :   {
   28909             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   28910             :     char *arg2 = (char *) 0 ;
   28911           0 :     void *argp1 = 0 ;
   28912             :     int res1 = 0 ;
   28913             :     int res2 ;
   28914           0 :     char *buf2 = 0 ;
   28915           0 :     int alloc2 = 0 ;
   28916             :     int argvi = 0;
   28917           0 :     dXSARGS;
   28918             :     
   28919           0 :     if ((items < 2) || (items > 2)) {
   28920           0 :       SWIG_croak("Usage: layerObj_setGeomTransform(self,transform);");
   28921             :     }
   28922           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   28923           0 :     if (!SWIG_IsOK(res1)) {
   28924           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_setGeomTransform" "', argument " "1"" of type '" "struct layerObj *""'"); 
   28925             :     }
   28926           0 :     arg1 = (struct layerObj *)(argp1);
   28927           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   28928           0 :     if (!SWIG_IsOK(res2)) {
   28929           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_setGeomTransform" "', argument " "2"" of type '" "char *""'");
   28930             :     }
   28931           0 :     arg2 = (char *)(buf2);
   28932           0 :     layerObj_setGeomTransform(arg1,arg2);
   28933           0 :     ST(argvi) = sv_newmortal();
   28934             :     
   28935           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   28936           0 :     XSRETURN(argvi);
   28937             :   fail:
   28938             :     
   28939           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   28940           0 :     SWIG_croak_null();
   28941             :   }
   28942             : }
   28943             : 
   28944             : 
   28945           0 : XS(_wrap_layerObj_getItemType) {
   28946             :   {
   28947             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   28948             :     int arg2 ;
   28949           0 :     void *argp1 = 0 ;
   28950             :     int res1 = 0 ;
   28951             :     int val2 ;
   28952             :     int ecode2 = 0 ;
   28953             :     int argvi = 0;
   28954             :     char *result = 0 ;
   28955           0 :     dXSARGS;
   28956             :     
   28957           0 :     if ((items < 2) || (items > 2)) {
   28958           0 :       SWIG_croak("Usage: layerObj_getItemType(self,i);");
   28959             :     }
   28960           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   28961           0 :     if (!SWIG_IsOK(res1)) {
   28962           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getItemType" "', argument " "1"" of type '" "struct layerObj *""'"); 
   28963             :     }
   28964           0 :     arg1 = (struct layerObj *)(argp1);
   28965           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   28966           0 :     if (!SWIG_IsOK(ecode2)) {
   28967           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_getItemType" "', argument " "2"" of type '" "int""'");
   28968             :     } 
   28969           0 :     arg2 = (int)(val2);
   28970           0 :     result = (char *)layerObj_getItemType(arg1,arg2);
   28971           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   28972             :     
   28973             :     
   28974           0 :     XSRETURN(argvi);
   28975             :   fail:
   28976             :     
   28977             :     
   28978           0 :     SWIG_croak_null();
   28979             :   }
   28980             : }
   28981             : 
   28982             : 
   28983           0 : XS(_wrap_mapObj_name_set) {
   28984             :   {
   28985             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   28986             :     char *arg2 = (char *) 0 ;
   28987           0 :     void *argp1 = 0 ;
   28988             :     int res1 = 0 ;
   28989             :     int res2 ;
   28990           0 :     char *buf2 = 0 ;
   28991           0 :     int alloc2 = 0 ;
   28992             :     int argvi = 0;
   28993           0 :     dXSARGS;
   28994             :     
   28995           0 :     if ((items < 2) || (items > 2)) {
   28996           0 :       SWIG_croak("Usage: mapObj_name_set(self,name);");
   28997             :     }
   28998           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   28999           0 :     if (!SWIG_IsOK(res1)) {
   29000           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_name_set" "', argument " "1"" of type '" "struct mapObj *""'"); 
   29001             :     }
   29002           0 :     arg1 = (struct mapObj *)(argp1);
   29003           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   29004           0 :     if (!SWIG_IsOK(res2)) {
   29005           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_name_set" "', argument " "2"" of type '" "char *""'");
   29006             :     }
   29007           0 :     arg2 = (char *)(buf2);
   29008             :     {
   29009           0 :       if (arg1->name) free((char*)arg1->name);
   29010           0 :       if (arg2) {
   29011           0 :         arg1->name = (char *) malloc(strlen(arg2)+1);
   29012             :         strcpy((char*)arg1->name,arg2);
   29013             :       } else {
   29014           0 :         arg1->name = 0;
   29015             :       }
   29016             :     }
   29017           0 :     ST(argvi) = sv_newmortal();
   29018             :     
   29019           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   29020           0 :     XSRETURN(argvi);
   29021             :   fail:
   29022             :     
   29023           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   29024           0 :     SWIG_croak_null();
   29025             :   }
   29026             : }
   29027             : 
   29028             : 
   29029           0 : XS(_wrap_mapObj_name_get) {
   29030             :   {
   29031             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   29032           0 :     void *argp1 = 0 ;
   29033             :     int res1 = 0 ;
   29034             :     int argvi = 0;
   29035             :     char *result = 0 ;
   29036           0 :     dXSARGS;
   29037             :     
   29038           0 :     if ((items < 1) || (items > 1)) {
   29039           0 :       SWIG_croak("Usage: mapObj_name_get(self);");
   29040             :     }
   29041           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   29042           0 :     if (!SWIG_IsOK(res1)) {
   29043           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_name_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   29044             :     }
   29045           0 :     arg1 = (struct mapObj *)(argp1);
   29046           0 :     result = (char *) ((arg1)->name);
   29047           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   29048             :     
   29049           0 :     XSRETURN(argvi);
   29050             :   fail:
   29051             :     
   29052           0 :     SWIG_croak_null();
   29053             :   }
   29054             : }
   29055             : 
   29056             : 
   29057           0 : XS(_wrap_mapObj_status_set) {
   29058             :   {
   29059             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   29060             :     int arg2 ;
   29061           0 :     void *argp1 = 0 ;
   29062             :     int res1 = 0 ;
   29063             :     int val2 ;
   29064             :     int ecode2 = 0 ;
   29065             :     int argvi = 0;
   29066           0 :     dXSARGS;
   29067             :     
   29068           0 :     if ((items < 2) || (items > 2)) {
   29069           0 :       SWIG_croak("Usage: mapObj_status_set(self,status);");
   29070             :     }
   29071           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   29072           0 :     if (!SWIG_IsOK(res1)) {
   29073           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_status_set" "', argument " "1"" of type '" "struct mapObj *""'"); 
   29074             :     }
   29075           0 :     arg1 = (struct mapObj *)(argp1);
   29076           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   29077           0 :     if (!SWIG_IsOK(ecode2)) {
   29078           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_status_set" "', argument " "2"" of type '" "int""'");
   29079             :     } 
   29080           0 :     arg2 = (int)(val2);
   29081           0 :     if (arg1) (arg1)->status = arg2;
   29082           0 :     ST(argvi) = sv_newmortal();
   29083             :     
   29084             :     
   29085           0 :     XSRETURN(argvi);
   29086             :   fail:
   29087             :     
   29088             :     
   29089           0 :     SWIG_croak_null();
   29090             :   }
   29091             : }
   29092             : 
   29093             : 
   29094           0 : XS(_wrap_mapObj_status_get) {
   29095             :   {
   29096             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   29097           0 :     void *argp1 = 0 ;
   29098             :     int res1 = 0 ;
   29099             :     int argvi = 0;
   29100             :     int result;
   29101           0 :     dXSARGS;
   29102             :     
   29103           0 :     if ((items < 1) || (items > 1)) {
   29104           0 :       SWIG_croak("Usage: mapObj_status_get(self);");
   29105             :     }
   29106           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   29107           0 :     if (!SWIG_IsOK(res1)) {
   29108           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_status_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   29109             :     }
   29110           0 :     arg1 = (struct mapObj *)(argp1);
   29111           0 :     result = (int) ((arg1)->status);
   29112           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   29113             :     
   29114           0 :     XSRETURN(argvi);
   29115             :   fail:
   29116             :     
   29117           0 :     SWIG_croak_null();
   29118             :   }
   29119             : }
   29120             : 
   29121             : 
   29122           0 : XS(_wrap_mapObj_height_set) {
   29123             :   {
   29124             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   29125             :     int arg2 ;
   29126           0 :     void *argp1 = 0 ;
   29127             :     int res1 = 0 ;
   29128             :     int val2 ;
   29129             :     int ecode2 = 0 ;
   29130             :     int argvi = 0;
   29131           0 :     dXSARGS;
   29132             :     
   29133           0 :     if ((items < 2) || (items > 2)) {
   29134           0 :       SWIG_croak("Usage: mapObj_height_set(self,height);");
   29135             :     }
   29136           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   29137           0 :     if (!SWIG_IsOK(res1)) {
   29138           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_height_set" "', argument " "1"" of type '" "struct mapObj *""'"); 
   29139             :     }
   29140           0 :     arg1 = (struct mapObj *)(argp1);
   29141           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   29142           0 :     if (!SWIG_IsOK(ecode2)) {
   29143           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_height_set" "', argument " "2"" of type '" "int""'");
   29144             :     } 
   29145           0 :     arg2 = (int)(val2);
   29146           0 :     if (arg1) (arg1)->height = arg2;
   29147           0 :     ST(argvi) = sv_newmortal();
   29148             :     
   29149             :     
   29150           0 :     XSRETURN(argvi);
   29151             :   fail:
   29152             :     
   29153             :     
   29154           0 :     SWIG_croak_null();
   29155             :   }
   29156             : }
   29157             : 
   29158             : 
   29159           0 : XS(_wrap_mapObj_height_get) {
   29160             :   {
   29161             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   29162           0 :     void *argp1 = 0 ;
   29163             :     int res1 = 0 ;
   29164             :     int argvi = 0;
   29165             :     int result;
   29166           0 :     dXSARGS;
   29167             :     
   29168           0 :     if ((items < 1) || (items > 1)) {
   29169           0 :       SWIG_croak("Usage: mapObj_height_get(self);");
   29170             :     }
   29171           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   29172           0 :     if (!SWIG_IsOK(res1)) {
   29173           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_height_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   29174             :     }
   29175           0 :     arg1 = (struct mapObj *)(argp1);
   29176           0 :     result = (int) ((arg1)->height);
   29177           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   29178             :     
   29179           0 :     XSRETURN(argvi);
   29180             :   fail:
   29181             :     
   29182           0 :     SWIG_croak_null();
   29183             :   }
   29184             : }
   29185             : 
   29186             : 
   29187           0 : XS(_wrap_mapObj_width_set) {
   29188             :   {
   29189             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   29190             :     int arg2 ;
   29191           0 :     void *argp1 = 0 ;
   29192             :     int res1 = 0 ;
   29193             :     int val2 ;
   29194             :     int ecode2 = 0 ;
   29195             :     int argvi = 0;
   29196           0 :     dXSARGS;
   29197             :     
   29198           0 :     if ((items < 2) || (items > 2)) {
   29199           0 :       SWIG_croak("Usage: mapObj_width_set(self,width);");
   29200             :     }
   29201           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   29202           0 :     if (!SWIG_IsOK(res1)) {
   29203           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_width_set" "', argument " "1"" of type '" "struct mapObj *""'"); 
   29204             :     }
   29205           0 :     arg1 = (struct mapObj *)(argp1);
   29206           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   29207           0 :     if (!SWIG_IsOK(ecode2)) {
   29208           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_width_set" "', argument " "2"" of type '" "int""'");
   29209             :     } 
   29210           0 :     arg2 = (int)(val2);
   29211           0 :     if (arg1) (arg1)->width = arg2;
   29212           0 :     ST(argvi) = sv_newmortal();
   29213             :     
   29214             :     
   29215           0 :     XSRETURN(argvi);
   29216             :   fail:
   29217             :     
   29218             :     
   29219           0 :     SWIG_croak_null();
   29220             :   }
   29221             : }
   29222             : 
   29223             : 
   29224           0 : XS(_wrap_mapObj_width_get) {
   29225             :   {
   29226             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   29227           0 :     void *argp1 = 0 ;
   29228             :     int res1 = 0 ;
   29229             :     int argvi = 0;
   29230             :     int result;
   29231           0 :     dXSARGS;
   29232             :     
   29233           0 :     if ((items < 1) || (items > 1)) {
   29234           0 :       SWIG_croak("Usage: mapObj_width_get(self);");
   29235             :     }
   29236           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   29237           0 :     if (!SWIG_IsOK(res1)) {
   29238           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_width_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   29239             :     }
   29240           0 :     arg1 = (struct mapObj *)(argp1);
   29241           0 :     result = (int) ((arg1)->width);
   29242           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   29243             :     
   29244           0 :     XSRETURN(argvi);
   29245             :   fail:
   29246             :     
   29247           0 :     SWIG_croak_null();
   29248             :   }
   29249             : }
   29250             : 
   29251             : 
   29252           0 : XS(_wrap_mapObj_maxsize_set) {
   29253             :   {
   29254             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   29255             :     int arg2 ;
   29256           0 :     void *argp1 = 0 ;
   29257             :     int res1 = 0 ;
   29258             :     int val2 ;
   29259             :     int ecode2 = 0 ;
   29260             :     int argvi = 0;
   29261           0 :     dXSARGS;
   29262             :     
   29263           0 :     if ((items < 2) || (items > 2)) {
   29264           0 :       SWIG_croak("Usage: mapObj_maxsize_set(self,maxsize);");
   29265             :     }
   29266           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   29267           0 :     if (!SWIG_IsOK(res1)) {
   29268           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_maxsize_set" "', argument " "1"" of type '" "struct mapObj *""'"); 
   29269             :     }
   29270           0 :     arg1 = (struct mapObj *)(argp1);
   29271           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   29272           0 :     if (!SWIG_IsOK(ecode2)) {
   29273           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_maxsize_set" "', argument " "2"" of type '" "int""'");
   29274             :     } 
   29275           0 :     arg2 = (int)(val2);
   29276           0 :     if (arg1) (arg1)->maxsize = arg2;
   29277           0 :     ST(argvi) = sv_newmortal();
   29278             :     
   29279             :     
   29280           0 :     XSRETURN(argvi);
   29281             :   fail:
   29282             :     
   29283             :     
   29284           0 :     SWIG_croak_null();
   29285             :   }
   29286             : }
   29287             : 
   29288             : 
   29289           0 : XS(_wrap_mapObj_maxsize_get) {
   29290             :   {
   29291             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   29292           0 :     void *argp1 = 0 ;
   29293             :     int res1 = 0 ;
   29294             :     int argvi = 0;
   29295             :     int result;
   29296           0 :     dXSARGS;
   29297             :     
   29298           0 :     if ((items < 1) || (items > 1)) {
   29299           0 :       SWIG_croak("Usage: mapObj_maxsize_get(self);");
   29300             :     }
   29301           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   29302           0 :     if (!SWIG_IsOK(res1)) {
   29303           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_maxsize_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   29304             :     }
   29305           0 :     arg1 = (struct mapObj *)(argp1);
   29306           0 :     result = (int) ((arg1)->maxsize);
   29307           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   29308             :     
   29309           0 :     XSRETURN(argvi);
   29310             :   fail:
   29311             :     
   29312           0 :     SWIG_croak_null();
   29313             :   }
   29314             : }
   29315             : 
   29316             : 
   29317           0 : XS(_wrap_mapObj_refcount_get) {
   29318             :   {
   29319             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   29320           0 :     void *argp1 = 0 ;
   29321             :     int res1 = 0 ;
   29322             :     int argvi = 0;
   29323             :     int result;
   29324           0 :     dXSARGS;
   29325             :     
   29326           0 :     if ((items < 1) || (items > 1)) {
   29327           0 :       SWIG_croak("Usage: mapObj_refcount_get(self);");
   29328             :     }
   29329           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   29330           0 :     if (!SWIG_IsOK(res1)) {
   29331           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_refcount_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   29332             :     }
   29333           0 :     arg1 = (struct mapObj *)(argp1);
   29334           0 :     result = (int) ((arg1)->refcount);
   29335           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   29336             :     
   29337           0 :     XSRETURN(argvi);
   29338             :   fail:
   29339             :     
   29340           0 :     SWIG_croak_null();
   29341             :   }
   29342             : }
   29343             : 
   29344             : 
   29345           0 : XS(_wrap_mapObj_numlayers_get) {
   29346             :   {
   29347             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   29348           0 :     void *argp1 = 0 ;
   29349             :     int res1 = 0 ;
   29350             :     int argvi = 0;
   29351             :     int result;
   29352           0 :     dXSARGS;
   29353             :     
   29354           0 :     if ((items < 1) || (items > 1)) {
   29355           0 :       SWIG_croak("Usage: mapObj_numlayers_get(self);");
   29356             :     }
   29357           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   29358           0 :     if (!SWIG_IsOK(res1)) {
   29359           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_numlayers_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   29360             :     }
   29361           0 :     arg1 = (struct mapObj *)(argp1);
   29362           0 :     result = (int) ((arg1)->numlayers);
   29363           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   29364             :     
   29365           0 :     XSRETURN(argvi);
   29366             :   fail:
   29367             :     
   29368           0 :     SWIG_croak_null();
   29369             :   }
   29370             : }
   29371             : 
   29372             : 
   29373           0 : XS(_wrap_mapObj_maxlayers_get) {
   29374             :   {
   29375             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   29376           0 :     void *argp1 = 0 ;
   29377             :     int res1 = 0 ;
   29378             :     int argvi = 0;
   29379             :     int result;
   29380           0 :     dXSARGS;
   29381             :     
   29382           0 :     if ((items < 1) || (items > 1)) {
   29383           0 :       SWIG_croak("Usage: mapObj_maxlayers_get(self);");
   29384             :     }
   29385           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   29386           0 :     if (!SWIG_IsOK(res1)) {
   29387           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_maxlayers_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   29388             :     }
   29389           0 :     arg1 = (struct mapObj *)(argp1);
   29390           0 :     result = (int) ((arg1)->maxlayers);
   29391           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   29392             :     
   29393           0 :     XSRETURN(argvi);
   29394             :   fail:
   29395             :     
   29396           0 :     SWIG_croak_null();
   29397             :   }
   29398             : }
   29399             : 
   29400             : 
   29401           0 : XS(_wrap_mapObj_symbolset_get) {
   29402             :   {
   29403             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   29404           0 :     void *argp1 = 0 ;
   29405             :     int res1 = 0 ;
   29406             :     int argvi = 0;
   29407             :     symbolSetObj *result = 0 ;
   29408           0 :     dXSARGS;
   29409             :     
   29410           0 :     if ((items < 1) || (items > 1)) {
   29411           0 :       SWIG_croak("Usage: mapObj_symbolset_get(self);");
   29412             :     }
   29413           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   29414           0 :     if (!SWIG_IsOK(res1)) {
   29415           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_symbolset_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   29416             :     }
   29417           0 :     arg1 = (struct mapObj *)(argp1);
   29418           0 :     result = (symbolSetObj *)& ((arg1)->symbolset);
   29419           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_symbolSetObj, 0 | SWIG_SHADOW); argvi++ ;
   29420             :     
   29421           0 :     XSRETURN(argvi);
   29422             :   fail:
   29423             :     
   29424           0 :     SWIG_croak_null();
   29425             :   }
   29426             : }
   29427             : 
   29428             : 
   29429           0 : XS(_wrap_mapObj_fontset_get) {
   29430             :   {
   29431             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   29432           0 :     void *argp1 = 0 ;
   29433             :     int res1 = 0 ;
   29434             :     int argvi = 0;
   29435             :     fontSetObj *result = 0 ;
   29436           0 :     dXSARGS;
   29437             :     
   29438           0 :     if ((items < 1) || (items > 1)) {
   29439           0 :       SWIG_croak("Usage: mapObj_fontset_get(self);");
   29440             :     }
   29441           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   29442           0 :     if (!SWIG_IsOK(res1)) {
   29443           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_fontset_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   29444             :     }
   29445           0 :     arg1 = (struct mapObj *)(argp1);
   29446           0 :     result = (fontSetObj *)& ((arg1)->fontset);
   29447           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_fontSetObj, 0 | SWIG_SHADOW); argvi++ ;
   29448             :     
   29449           0 :     XSRETURN(argvi);
   29450             :   fail:
   29451             :     
   29452           0 :     SWIG_croak_null();
   29453             :   }
   29454             : }
   29455             : 
   29456             : 
   29457           0 : XS(_wrap_mapObj_labelcache_get) {
   29458             :   {
   29459             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   29460           0 :     void *argp1 = 0 ;
   29461             :     int res1 = 0 ;
   29462             :     int argvi = 0;
   29463             :     labelCacheObj *result = 0 ;
   29464           0 :     dXSARGS;
   29465             :     
   29466           0 :     if ((items < 1) || (items > 1)) {
   29467           0 :       SWIG_croak("Usage: mapObj_labelcache_get(self);");
   29468             :     }
   29469           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   29470           0 :     if (!SWIG_IsOK(res1)) {
   29471           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_labelcache_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   29472             :     }
   29473           0 :     arg1 = (struct mapObj *)(argp1);
   29474           0 :     result = (labelCacheObj *)& ((arg1)->labelcache);
   29475           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelCacheObj, 0 | SWIG_SHADOW); argvi++ ;
   29476             :     
   29477           0 :     XSRETURN(argvi);
   29478             :   fail:
   29479             :     
   29480           0 :     SWIG_croak_null();
   29481             :   }
   29482             : }
   29483             : 
   29484             : 
   29485           0 : XS(_wrap_mapObj_transparent_set) {
   29486             :   {
   29487             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   29488             :     int arg2 ;
   29489           0 :     void *argp1 = 0 ;
   29490             :     int res1 = 0 ;
   29491             :     int val2 ;
   29492             :     int ecode2 = 0 ;
   29493             :     int argvi = 0;
   29494           0 :     dXSARGS;
   29495             :     
   29496           0 :     if ((items < 2) || (items > 2)) {
   29497           0 :       SWIG_croak("Usage: mapObj_transparent_set(self,transparent);");
   29498             :     }
   29499           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   29500           0 :     if (!SWIG_IsOK(res1)) {
   29501           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_transparent_set" "', argument " "1"" of type '" "struct mapObj *""'"); 
   29502             :     }
   29503           0 :     arg1 = (struct mapObj *)(argp1);
   29504           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   29505           0 :     if (!SWIG_IsOK(ecode2)) {
   29506           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_transparent_set" "', argument " "2"" of type '" "int""'");
   29507             :     } 
   29508           0 :     arg2 = (int)(val2);
   29509           0 :     if (arg1) (arg1)->transparent = arg2;
   29510           0 :     ST(argvi) = sv_newmortal();
   29511             :     
   29512             :     
   29513           0 :     XSRETURN(argvi);
   29514             :   fail:
   29515             :     
   29516             :     
   29517           0 :     SWIG_croak_null();
   29518             :   }
   29519             : }
   29520             : 
   29521             : 
   29522           0 : XS(_wrap_mapObj_transparent_get) {
   29523             :   {
   29524             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   29525           0 :     void *argp1 = 0 ;
   29526             :     int res1 = 0 ;
   29527             :     int argvi = 0;
   29528             :     int result;
   29529           0 :     dXSARGS;
   29530             :     
   29531           0 :     if ((items < 1) || (items > 1)) {
   29532           0 :       SWIG_croak("Usage: mapObj_transparent_get(self);");
   29533             :     }
   29534           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   29535           0 :     if (!SWIG_IsOK(res1)) {
   29536           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_transparent_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   29537             :     }
   29538           0 :     arg1 = (struct mapObj *)(argp1);
   29539           0 :     result = (int) ((arg1)->transparent);
   29540           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   29541             :     
   29542           0 :     XSRETURN(argvi);
   29543             :   fail:
   29544             :     
   29545           0 :     SWIG_croak_null();
   29546             :   }
   29547             : }
   29548             : 
   29549             : 
   29550           0 : XS(_wrap_mapObj_interlace_set) {
   29551             :   {
   29552             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   29553             :     int arg2 ;
   29554           0 :     void *argp1 = 0 ;
   29555             :     int res1 = 0 ;
   29556             :     int val2 ;
   29557             :     int ecode2 = 0 ;
   29558             :     int argvi = 0;
   29559           0 :     dXSARGS;
   29560             :     
   29561           0 :     if ((items < 2) || (items > 2)) {
   29562           0 :       SWIG_croak("Usage: mapObj_interlace_set(self,interlace);");
   29563             :     }
   29564           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   29565           0 :     if (!SWIG_IsOK(res1)) {
   29566           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_interlace_set" "', argument " "1"" of type '" "struct mapObj *""'"); 
   29567             :     }
   29568           0 :     arg1 = (struct mapObj *)(argp1);
   29569           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   29570           0 :     if (!SWIG_IsOK(ecode2)) {
   29571           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_interlace_set" "', argument " "2"" of type '" "int""'");
   29572             :     } 
   29573           0 :     arg2 = (int)(val2);
   29574           0 :     if (arg1) (arg1)->interlace = arg2;
   29575           0 :     ST(argvi) = sv_newmortal();
   29576             :     
   29577             :     
   29578           0 :     XSRETURN(argvi);
   29579             :   fail:
   29580             :     
   29581             :     
   29582           0 :     SWIG_croak_null();
   29583             :   }
   29584             : }
   29585             : 
   29586             : 
   29587           0 : XS(_wrap_mapObj_interlace_get) {
   29588             :   {
   29589             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   29590           0 :     void *argp1 = 0 ;
   29591             :     int res1 = 0 ;
   29592             :     int argvi = 0;
   29593             :     int result;
   29594           0 :     dXSARGS;
   29595             :     
   29596           0 :     if ((items < 1) || (items > 1)) {
   29597           0 :       SWIG_croak("Usage: mapObj_interlace_get(self);");
   29598             :     }
   29599           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   29600           0 :     if (!SWIG_IsOK(res1)) {
   29601           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_interlace_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   29602             :     }
   29603           0 :     arg1 = (struct mapObj *)(argp1);
   29604           0 :     result = (int) ((arg1)->interlace);
   29605           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   29606             :     
   29607           0 :     XSRETURN(argvi);
   29608             :   fail:
   29609             :     
   29610           0 :     SWIG_croak_null();
   29611             :   }
   29612             : }
   29613             : 
   29614             : 
   29615           0 : XS(_wrap_mapObj_imagequality_set) {
   29616             :   {
   29617             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   29618             :     int arg2 ;
   29619           0 :     void *argp1 = 0 ;
   29620             :     int res1 = 0 ;
   29621             :     int val2 ;
   29622             :     int ecode2 = 0 ;
   29623             :     int argvi = 0;
   29624           0 :     dXSARGS;
   29625             :     
   29626           0 :     if ((items < 2) || (items > 2)) {
   29627           0 :       SWIG_croak("Usage: mapObj_imagequality_set(self,imagequality);");
   29628             :     }
   29629           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   29630           0 :     if (!SWIG_IsOK(res1)) {
   29631           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_imagequality_set" "', argument " "1"" of type '" "struct mapObj *""'"); 
   29632             :     }
   29633           0 :     arg1 = (struct mapObj *)(argp1);
   29634           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   29635           0 :     if (!SWIG_IsOK(ecode2)) {
   29636           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_imagequality_set" "', argument " "2"" of type '" "int""'");
   29637             :     } 
   29638           0 :     arg2 = (int)(val2);
   29639           0 :     if (arg1) (arg1)->imagequality = arg2;
   29640           0 :     ST(argvi) = sv_newmortal();
   29641             :     
   29642             :     
   29643           0 :     XSRETURN(argvi);
   29644             :   fail:
   29645             :     
   29646             :     
   29647           0 :     SWIG_croak_null();
   29648             :   }
   29649             : }
   29650             : 
   29651             : 
   29652           0 : XS(_wrap_mapObj_imagequality_get) {
   29653             :   {
   29654             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   29655           0 :     void *argp1 = 0 ;
   29656             :     int res1 = 0 ;
   29657             :     int argvi = 0;
   29658             :     int result;
   29659           0 :     dXSARGS;
   29660             :     
   29661           0 :     if ((items < 1) || (items > 1)) {
   29662           0 :       SWIG_croak("Usage: mapObj_imagequality_get(self);");
   29663             :     }
   29664           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   29665           0 :     if (!SWIG_IsOK(res1)) {
   29666           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_imagequality_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   29667             :     }
   29668           0 :     arg1 = (struct mapObj *)(argp1);
   29669           0 :     result = (int) ((arg1)->imagequality);
   29670           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   29671             :     
   29672           0 :     XSRETURN(argvi);
   29673             :   fail:
   29674             :     
   29675           0 :     SWIG_croak_null();
   29676             :   }
   29677             : }
   29678             : 
   29679             : 
   29680           0 : XS(_wrap_mapObj_extent_set) {
   29681             :   {
   29682             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   29683             :     rectObj *arg2 = (rectObj *) 0 ;
   29684           0 :     void *argp1 = 0 ;
   29685             :     int res1 = 0 ;
   29686           0 :     void *argp2 = 0 ;
   29687             :     int res2 = 0 ;
   29688             :     int argvi = 0;
   29689           0 :     dXSARGS;
   29690             :     
   29691           0 :     if ((items < 2) || (items > 2)) {
   29692           0 :       SWIG_croak("Usage: mapObj_extent_set(self,extent);");
   29693             :     }
   29694           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   29695           0 :     if (!SWIG_IsOK(res1)) {
   29696           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_extent_set" "', argument " "1"" of type '" "struct mapObj *""'"); 
   29697             :     }
   29698           0 :     arg1 = (struct mapObj *)(argp1);
   29699           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_rectObj, 0 |  0 );
   29700           0 :     if (!SWIG_IsOK(res2)) {
   29701           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_extent_set" "', argument " "2"" of type '" "rectObj *""'"); 
   29702             :     }
   29703           0 :     arg2 = (rectObj *)(argp2);
   29704           0 :     if (arg1) (arg1)->extent = *arg2;
   29705           0 :     ST(argvi) = sv_newmortal();
   29706             :     
   29707             :     
   29708           0 :     XSRETURN(argvi);
   29709             :   fail:
   29710             :     
   29711             :     
   29712           0 :     SWIG_croak_null();
   29713             :   }
   29714             : }
   29715             : 
   29716             : 
   29717           0 : XS(_wrap_mapObj_extent_get) {
   29718             :   {
   29719             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   29720           0 :     void *argp1 = 0 ;
   29721             :     int res1 = 0 ;
   29722             :     int argvi = 0;
   29723             :     rectObj *result = 0 ;
   29724           0 :     dXSARGS;
   29725             :     
   29726           0 :     if ((items < 1) || (items > 1)) {
   29727           0 :       SWIG_croak("Usage: mapObj_extent_get(self);");
   29728             :     }
   29729           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   29730           0 :     if (!SWIG_IsOK(res1)) {
   29731           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_extent_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   29732             :     }
   29733           0 :     arg1 = (struct mapObj *)(argp1);
   29734           0 :     result = (rectObj *)& ((arg1)->extent);
   29735           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_rectObj, 0 | SWIG_SHADOW); argvi++ ;
   29736             :     
   29737           0 :     XSRETURN(argvi);
   29738             :   fail:
   29739             :     
   29740           0 :     SWIG_croak_null();
   29741             :   }
   29742             : }
   29743             : 
   29744             : 
   29745           0 : XS(_wrap_mapObj_cellsize_set) {
   29746             :   {
   29747             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   29748             :     double arg2 ;
   29749           0 :     void *argp1 = 0 ;
   29750             :     int res1 = 0 ;
   29751             :     double val2 ;
   29752             :     int ecode2 = 0 ;
   29753             :     int argvi = 0;
   29754           0 :     dXSARGS;
   29755             :     
   29756           0 :     if ((items < 2) || (items > 2)) {
   29757           0 :       SWIG_croak("Usage: mapObj_cellsize_set(self,cellsize);");
   29758             :     }
   29759           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   29760           0 :     if (!SWIG_IsOK(res1)) {
   29761           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_cellsize_set" "', argument " "1"" of type '" "struct mapObj *""'"); 
   29762             :     }
   29763           0 :     arg1 = (struct mapObj *)(argp1);
   29764           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   29765           0 :     if (!SWIG_IsOK(ecode2)) {
   29766           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_cellsize_set" "', argument " "2"" of type '" "double""'");
   29767             :     } 
   29768           0 :     arg2 = (double)(val2);
   29769           0 :     if (arg1) (arg1)->cellsize = arg2;
   29770           0 :     ST(argvi) = sv_newmortal();
   29771             :     
   29772             :     
   29773           0 :     XSRETURN(argvi);
   29774             :   fail:
   29775             :     
   29776             :     
   29777           0 :     SWIG_croak_null();
   29778             :   }
   29779             : }
   29780             : 
   29781             : 
   29782           0 : XS(_wrap_mapObj_cellsize_get) {
   29783             :   {
   29784             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   29785           0 :     void *argp1 = 0 ;
   29786             :     int res1 = 0 ;
   29787             :     int argvi = 0;
   29788             :     double result;
   29789           0 :     dXSARGS;
   29790             :     
   29791           0 :     if ((items < 1) || (items > 1)) {
   29792           0 :       SWIG_croak("Usage: mapObj_cellsize_get(self);");
   29793             :     }
   29794           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   29795           0 :     if (!SWIG_IsOK(res1)) {
   29796           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_cellsize_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   29797             :     }
   29798           0 :     arg1 = (struct mapObj *)(argp1);
   29799           0 :     result = (double) ((arg1)->cellsize);
   29800           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   29801             :     
   29802           0 :     XSRETURN(argvi);
   29803             :   fail:
   29804             :     
   29805           0 :     SWIG_croak_null();
   29806             :   }
   29807             : }
   29808             : 
   29809             : 
   29810           0 : XS(_wrap_mapObj_units_set) {
   29811             :   {
   29812             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   29813             :     enum MS_UNITS arg2 ;
   29814           0 :     void *argp1 = 0 ;
   29815             :     int res1 = 0 ;
   29816             :     int val2 ;
   29817             :     int ecode2 = 0 ;
   29818             :     int argvi = 0;
   29819           0 :     dXSARGS;
   29820             :     
   29821           0 :     if ((items < 2) || (items > 2)) {
   29822           0 :       SWIG_croak("Usage: mapObj_units_set(self,units);");
   29823             :     }
   29824           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   29825           0 :     if (!SWIG_IsOK(res1)) {
   29826           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_units_set" "', argument " "1"" of type '" "struct mapObj *""'"); 
   29827             :     }
   29828           0 :     arg1 = (struct mapObj *)(argp1);
   29829           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   29830           0 :     if (!SWIG_IsOK(ecode2)) {
   29831           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_units_set" "', argument " "2"" of type '" "enum MS_UNITS""'");
   29832             :     } 
   29833           0 :     arg2 = (enum MS_UNITS)(val2);
   29834           0 :     if (arg1) (arg1)->units = arg2;
   29835           0 :     ST(argvi) = sv_newmortal();
   29836             :     
   29837             :     
   29838           0 :     XSRETURN(argvi);
   29839             :   fail:
   29840             :     
   29841             :     
   29842           0 :     SWIG_croak_null();
   29843             :   }
   29844             : }
   29845             : 
   29846             : 
   29847           0 : XS(_wrap_mapObj_units_get) {
   29848             :   {
   29849             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   29850           0 :     void *argp1 = 0 ;
   29851             :     int res1 = 0 ;
   29852             :     int argvi = 0;
   29853             :     enum MS_UNITS result;
   29854           0 :     dXSARGS;
   29855             :     
   29856           0 :     if ((items < 1) || (items > 1)) {
   29857           0 :       SWIG_croak("Usage: mapObj_units_get(self);");
   29858             :     }
   29859           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   29860           0 :     if (!SWIG_IsOK(res1)) {
   29861           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_units_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   29862             :     }
   29863           0 :     arg1 = (struct mapObj *)(argp1);
   29864           0 :     result = (enum MS_UNITS) ((arg1)->units);
   29865           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   29866             :     
   29867           0 :     XSRETURN(argvi);
   29868             :   fail:
   29869             :     
   29870           0 :     SWIG_croak_null();
   29871             :   }
   29872             : }
   29873             : 
   29874             : 
   29875           0 : XS(_wrap_mapObj_scaledenom_set) {
   29876             :   {
   29877             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   29878             :     double arg2 ;
   29879           0 :     void *argp1 = 0 ;
   29880             :     int res1 = 0 ;
   29881             :     double val2 ;
   29882             :     int ecode2 = 0 ;
   29883             :     int argvi = 0;
   29884           0 :     dXSARGS;
   29885             :     
   29886           0 :     if ((items < 2) || (items > 2)) {
   29887           0 :       SWIG_croak("Usage: mapObj_scaledenom_set(self,scaledenom);");
   29888             :     }
   29889           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   29890           0 :     if (!SWIG_IsOK(res1)) {
   29891           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_scaledenom_set" "', argument " "1"" of type '" "struct mapObj *""'"); 
   29892             :     }
   29893           0 :     arg1 = (struct mapObj *)(argp1);
   29894           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   29895           0 :     if (!SWIG_IsOK(ecode2)) {
   29896           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_scaledenom_set" "', argument " "2"" of type '" "double""'");
   29897             :     } 
   29898           0 :     arg2 = (double)(val2);
   29899           0 :     if (arg1) (arg1)->scaledenom = arg2;
   29900           0 :     ST(argvi) = sv_newmortal();
   29901             :     
   29902             :     
   29903           0 :     XSRETURN(argvi);
   29904             :   fail:
   29905             :     
   29906             :     
   29907           0 :     SWIG_croak_null();
   29908             :   }
   29909             : }
   29910             : 
   29911             : 
   29912           0 : XS(_wrap_mapObj_scaledenom_get) {
   29913             :   {
   29914             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   29915           0 :     void *argp1 = 0 ;
   29916             :     int res1 = 0 ;
   29917             :     int argvi = 0;
   29918             :     double result;
   29919           0 :     dXSARGS;
   29920             :     
   29921           0 :     if ((items < 1) || (items > 1)) {
   29922           0 :       SWIG_croak("Usage: mapObj_scaledenom_get(self);");
   29923             :     }
   29924           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   29925           0 :     if (!SWIG_IsOK(res1)) {
   29926           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_scaledenom_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   29927             :     }
   29928           0 :     arg1 = (struct mapObj *)(argp1);
   29929           0 :     result = (double) ((arg1)->scaledenom);
   29930           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   29931             :     
   29932           0 :     XSRETURN(argvi);
   29933             :   fail:
   29934             :     
   29935           0 :     SWIG_croak_null();
   29936             :   }
   29937             : }
   29938             : 
   29939             : 
   29940           0 : XS(_wrap_mapObj_resolution_set) {
   29941             :   {
   29942             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   29943             :     double arg2 ;
   29944           0 :     void *argp1 = 0 ;
   29945             :     int res1 = 0 ;
   29946             :     double val2 ;
   29947             :     int ecode2 = 0 ;
   29948             :     int argvi = 0;
   29949           0 :     dXSARGS;
   29950             :     
   29951           0 :     if ((items < 2) || (items > 2)) {
   29952           0 :       SWIG_croak("Usage: mapObj_resolution_set(self,resolution);");
   29953             :     }
   29954           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   29955           0 :     if (!SWIG_IsOK(res1)) {
   29956           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_resolution_set" "', argument " "1"" of type '" "struct mapObj *""'"); 
   29957             :     }
   29958           0 :     arg1 = (struct mapObj *)(argp1);
   29959           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   29960           0 :     if (!SWIG_IsOK(ecode2)) {
   29961           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_resolution_set" "', argument " "2"" of type '" "double""'");
   29962             :     } 
   29963           0 :     arg2 = (double)(val2);
   29964           0 :     if (arg1) (arg1)->resolution = arg2;
   29965           0 :     ST(argvi) = sv_newmortal();
   29966             :     
   29967             :     
   29968           0 :     XSRETURN(argvi);
   29969             :   fail:
   29970             :     
   29971             :     
   29972           0 :     SWIG_croak_null();
   29973             :   }
   29974             : }
   29975             : 
   29976             : 
   29977           0 : XS(_wrap_mapObj_resolution_get) {
   29978             :   {
   29979             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   29980           0 :     void *argp1 = 0 ;
   29981             :     int res1 = 0 ;
   29982             :     int argvi = 0;
   29983             :     double result;
   29984           0 :     dXSARGS;
   29985             :     
   29986           0 :     if ((items < 1) || (items > 1)) {
   29987           0 :       SWIG_croak("Usage: mapObj_resolution_get(self);");
   29988             :     }
   29989           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   29990           0 :     if (!SWIG_IsOK(res1)) {
   29991           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_resolution_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   29992             :     }
   29993           0 :     arg1 = (struct mapObj *)(argp1);
   29994           0 :     result = (double) ((arg1)->resolution);
   29995           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   29996             :     
   29997           0 :     XSRETURN(argvi);
   29998             :   fail:
   29999             :     
   30000           0 :     SWIG_croak_null();
   30001             :   }
   30002             : }
   30003             : 
   30004             : 
   30005           0 : XS(_wrap_mapObj_defresolution_set) {
   30006             :   {
   30007             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   30008             :     double arg2 ;
   30009           0 :     void *argp1 = 0 ;
   30010             :     int res1 = 0 ;
   30011             :     double val2 ;
   30012             :     int ecode2 = 0 ;
   30013             :     int argvi = 0;
   30014           0 :     dXSARGS;
   30015             :     
   30016           0 :     if ((items < 2) || (items > 2)) {
   30017           0 :       SWIG_croak("Usage: mapObj_defresolution_set(self,defresolution);");
   30018             :     }
   30019           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   30020           0 :     if (!SWIG_IsOK(res1)) {
   30021           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_defresolution_set" "', argument " "1"" of type '" "struct mapObj *""'"); 
   30022             :     }
   30023           0 :     arg1 = (struct mapObj *)(argp1);
   30024           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   30025           0 :     if (!SWIG_IsOK(ecode2)) {
   30026           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_defresolution_set" "', argument " "2"" of type '" "double""'");
   30027             :     } 
   30028           0 :     arg2 = (double)(val2);
   30029           0 :     if (arg1) (arg1)->defresolution = arg2;
   30030           0 :     ST(argvi) = sv_newmortal();
   30031             :     
   30032             :     
   30033           0 :     XSRETURN(argvi);
   30034             :   fail:
   30035             :     
   30036             :     
   30037           0 :     SWIG_croak_null();
   30038             :   }
   30039             : }
   30040             : 
   30041             : 
   30042           0 : XS(_wrap_mapObj_defresolution_get) {
   30043             :   {
   30044             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   30045           0 :     void *argp1 = 0 ;
   30046             :     int res1 = 0 ;
   30047             :     int argvi = 0;
   30048             :     double result;
   30049           0 :     dXSARGS;
   30050             :     
   30051           0 :     if ((items < 1) || (items > 1)) {
   30052           0 :       SWIG_croak("Usage: mapObj_defresolution_get(self);");
   30053             :     }
   30054           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   30055           0 :     if (!SWIG_IsOK(res1)) {
   30056           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_defresolution_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   30057             :     }
   30058           0 :     arg1 = (struct mapObj *)(argp1);
   30059           0 :     result = (double) ((arg1)->defresolution);
   30060           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   30061             :     
   30062           0 :     XSRETURN(argvi);
   30063             :   fail:
   30064             :     
   30065           0 :     SWIG_croak_null();
   30066             :   }
   30067             : }
   30068             : 
   30069             : 
   30070           0 : XS(_wrap_mapObj_shapepath_set) {
   30071             :   {
   30072             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   30073             :     char *arg2 = (char *) 0 ;
   30074           0 :     void *argp1 = 0 ;
   30075             :     int res1 = 0 ;
   30076             :     int res2 ;
   30077           0 :     char *buf2 = 0 ;
   30078           0 :     int alloc2 = 0 ;
   30079             :     int argvi = 0;
   30080           0 :     dXSARGS;
   30081             :     
   30082           0 :     if ((items < 2) || (items > 2)) {
   30083           0 :       SWIG_croak("Usage: mapObj_shapepath_set(self,shapepath);");
   30084             :     }
   30085           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   30086           0 :     if (!SWIG_IsOK(res1)) {
   30087           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_shapepath_set" "', argument " "1"" of type '" "struct mapObj *""'"); 
   30088             :     }
   30089           0 :     arg1 = (struct mapObj *)(argp1);
   30090           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   30091           0 :     if (!SWIG_IsOK(res2)) {
   30092           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_shapepath_set" "', argument " "2"" of type '" "char *""'");
   30093             :     }
   30094           0 :     arg2 = (char *)(buf2);
   30095             :     {
   30096           0 :       if (arg1->shapepath) free((char*)arg1->shapepath);
   30097           0 :       if (arg2) {
   30098           0 :         arg1->shapepath = (char *) malloc(strlen(arg2)+1);
   30099             :         strcpy((char*)arg1->shapepath,arg2);
   30100             :       } else {
   30101           0 :         arg1->shapepath = 0;
   30102             :       }
   30103             :     }
   30104           0 :     ST(argvi) = sv_newmortal();
   30105             :     
   30106           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   30107           0 :     XSRETURN(argvi);
   30108             :   fail:
   30109             :     
   30110           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   30111           0 :     SWIG_croak_null();
   30112             :   }
   30113             : }
   30114             : 
   30115             : 
   30116           0 : XS(_wrap_mapObj_shapepath_get) {
   30117             :   {
   30118             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   30119           0 :     void *argp1 = 0 ;
   30120             :     int res1 = 0 ;
   30121             :     int argvi = 0;
   30122             :     char *result = 0 ;
   30123           0 :     dXSARGS;
   30124             :     
   30125           0 :     if ((items < 1) || (items > 1)) {
   30126           0 :       SWIG_croak("Usage: mapObj_shapepath_get(self);");
   30127             :     }
   30128           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   30129           0 :     if (!SWIG_IsOK(res1)) {
   30130           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_shapepath_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   30131             :     }
   30132           0 :     arg1 = (struct mapObj *)(argp1);
   30133           0 :     result = (char *) ((arg1)->shapepath);
   30134           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   30135             :     
   30136           0 :     XSRETURN(argvi);
   30137             :   fail:
   30138             :     
   30139           0 :     SWIG_croak_null();
   30140             :   }
   30141             : }
   30142             : 
   30143             : 
   30144           0 : XS(_wrap_mapObj_mappath_set) {
   30145             :   {
   30146             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   30147             :     char *arg2 = (char *) 0 ;
   30148           0 :     void *argp1 = 0 ;
   30149             :     int res1 = 0 ;
   30150             :     int res2 ;
   30151           0 :     char *buf2 = 0 ;
   30152           0 :     int alloc2 = 0 ;
   30153             :     int argvi = 0;
   30154           0 :     dXSARGS;
   30155             :     
   30156           0 :     if ((items < 2) || (items > 2)) {
   30157           0 :       SWIG_croak("Usage: mapObj_mappath_set(self,mappath);");
   30158             :     }
   30159           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   30160           0 :     if (!SWIG_IsOK(res1)) {
   30161           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_mappath_set" "', argument " "1"" of type '" "struct mapObj *""'"); 
   30162             :     }
   30163           0 :     arg1 = (struct mapObj *)(argp1);
   30164           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   30165           0 :     if (!SWIG_IsOK(res2)) {
   30166           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_mappath_set" "', argument " "2"" of type '" "char *""'");
   30167             :     }
   30168           0 :     arg2 = (char *)(buf2);
   30169             :     {
   30170           0 :       if (arg1->mappath) free((char*)arg1->mappath);
   30171           0 :       if (arg2) {
   30172           0 :         arg1->mappath = (char *) malloc(strlen(arg2)+1);
   30173             :         strcpy((char*)arg1->mappath,arg2);
   30174             :       } else {
   30175           0 :         arg1->mappath = 0;
   30176             :       }
   30177             :     }
   30178           0 :     ST(argvi) = sv_newmortal();
   30179             :     
   30180           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   30181           0 :     XSRETURN(argvi);
   30182             :   fail:
   30183             :     
   30184           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   30185           0 :     SWIG_croak_null();
   30186             :   }
   30187             : }
   30188             : 
   30189             : 
   30190           0 : XS(_wrap_mapObj_mappath_get) {
   30191             :   {
   30192             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   30193           0 :     void *argp1 = 0 ;
   30194             :     int res1 = 0 ;
   30195             :     int argvi = 0;
   30196             :     char *result = 0 ;
   30197           0 :     dXSARGS;
   30198             :     
   30199           0 :     if ((items < 1) || (items > 1)) {
   30200           0 :       SWIG_croak("Usage: mapObj_mappath_get(self);");
   30201             :     }
   30202           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   30203           0 :     if (!SWIG_IsOK(res1)) {
   30204           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_mappath_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   30205             :     }
   30206           0 :     arg1 = (struct mapObj *)(argp1);
   30207           0 :     result = (char *) ((arg1)->mappath);
   30208           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   30209             :     
   30210           0 :     XSRETURN(argvi);
   30211             :   fail:
   30212             :     
   30213           0 :     SWIG_croak_null();
   30214             :   }
   30215             : }
   30216             : 
   30217             : 
   30218           0 : XS(_wrap_mapObj_imagecolor_set) {
   30219             :   {
   30220             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   30221             :     colorObj *arg2 = (colorObj *) 0 ;
   30222           0 :     void *argp1 = 0 ;
   30223             :     int res1 = 0 ;
   30224           0 :     void *argp2 = 0 ;
   30225             :     int res2 = 0 ;
   30226             :     int argvi = 0;
   30227           0 :     dXSARGS;
   30228             :     
   30229           0 :     if ((items < 2) || (items > 2)) {
   30230           0 :       SWIG_croak("Usage: mapObj_imagecolor_set(self,imagecolor);");
   30231             :     }
   30232           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   30233           0 :     if (!SWIG_IsOK(res1)) {
   30234           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_imagecolor_set" "', argument " "1"" of type '" "struct mapObj *""'"); 
   30235             :     }
   30236           0 :     arg1 = (struct mapObj *)(argp1);
   30237           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 |  0 );
   30238           0 :     if (!SWIG_IsOK(res2)) {
   30239           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_imagecolor_set" "', argument " "2"" of type '" "colorObj *""'"); 
   30240             :     }
   30241           0 :     arg2 = (colorObj *)(argp2);
   30242           0 :     if (arg1) (arg1)->imagecolor = *arg2;
   30243           0 :     ST(argvi) = sv_newmortal();
   30244             :     
   30245             :     
   30246           0 :     XSRETURN(argvi);
   30247             :   fail:
   30248             :     
   30249             :     
   30250           0 :     SWIG_croak_null();
   30251             :   }
   30252             : }
   30253             : 
   30254             : 
   30255           0 : XS(_wrap_mapObj_imagecolor_get) {
   30256             :   {
   30257             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   30258           0 :     void *argp1 = 0 ;
   30259             :     int res1 = 0 ;
   30260             :     int argvi = 0;
   30261             :     colorObj *result = 0 ;
   30262           0 :     dXSARGS;
   30263             :     
   30264           0 :     if ((items < 1) || (items > 1)) {
   30265           0 :       SWIG_croak("Usage: mapObj_imagecolor_get(self);");
   30266             :     }
   30267           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   30268           0 :     if (!SWIG_IsOK(res1)) {
   30269           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_imagecolor_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   30270             :     }
   30271           0 :     arg1 = (struct mapObj *)(argp1);
   30272           0 :     result = (colorObj *)& ((arg1)->imagecolor);
   30273           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
   30274             :     
   30275           0 :     XSRETURN(argvi);
   30276             :   fail:
   30277             :     
   30278           0 :     SWIG_croak_null();
   30279             :   }
   30280             : }
   30281             : 
   30282             : 
   30283           0 : XS(_wrap_mapObj_numoutputformats_get) {
   30284             :   {
   30285             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   30286           0 :     void *argp1 = 0 ;
   30287             :     int res1 = 0 ;
   30288             :     int argvi = 0;
   30289             :     int result;
   30290           0 :     dXSARGS;
   30291             :     
   30292           0 :     if ((items < 1) || (items > 1)) {
   30293           0 :       SWIG_croak("Usage: mapObj_numoutputformats_get(self);");
   30294             :     }
   30295           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   30296           0 :     if (!SWIG_IsOK(res1)) {
   30297           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_numoutputformats_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   30298             :     }
   30299           0 :     arg1 = (struct mapObj *)(argp1);
   30300           0 :     result = (int) ((arg1)->numoutputformats);
   30301           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   30302             :     
   30303           0 :     XSRETURN(argvi);
   30304             :   fail:
   30305             :     
   30306           0 :     SWIG_croak_null();
   30307             :   }
   30308             : }
   30309             : 
   30310             : 
   30311           0 : XS(_wrap_mapObj_outputformat_get) {
   30312             :   {
   30313             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   30314           0 :     void *argp1 = 0 ;
   30315             :     int res1 = 0 ;
   30316             :     int argvi = 0;
   30317             :     outputFormatObj *result = 0 ;
   30318           0 :     dXSARGS;
   30319             :     
   30320           0 :     if ((items < 1) || (items > 1)) {
   30321           0 :       SWIG_croak("Usage: mapObj_outputformat_get(self);");
   30322             :     }
   30323           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   30324           0 :     if (!SWIG_IsOK(res1)) {
   30325           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_outputformat_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   30326             :     }
   30327           0 :     arg1 = (struct mapObj *)(argp1);
   30328           0 :     result = (outputFormatObj *) ((arg1)->outputformat);
   30329           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_outputFormatObj, 0 | SWIG_SHADOW); argvi++ ;
   30330             :     
   30331           0 :     XSRETURN(argvi);
   30332             :   fail:
   30333             :     
   30334           0 :     SWIG_croak_null();
   30335             :   }
   30336             : }
   30337             : 
   30338             : 
   30339           0 : XS(_wrap_mapObj_imagetype_get) {
   30340             :   {
   30341             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   30342           0 :     void *argp1 = 0 ;
   30343             :     int res1 = 0 ;
   30344             :     int argvi = 0;
   30345             :     char *result = 0 ;
   30346           0 :     dXSARGS;
   30347             :     
   30348           0 :     if ((items < 1) || (items > 1)) {
   30349           0 :       SWIG_croak("Usage: mapObj_imagetype_get(self);");
   30350             :     }
   30351           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   30352           0 :     if (!SWIG_IsOK(res1)) {
   30353           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_imagetype_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   30354             :     }
   30355           0 :     arg1 = (struct mapObj *)(argp1);
   30356           0 :     result = (char *) ((arg1)->imagetype);
   30357           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   30358             :     
   30359           0 :     XSRETURN(argvi);
   30360             :   fail:
   30361             :     
   30362           0 :     SWIG_croak_null();
   30363             :   }
   30364             : }
   30365             : 
   30366             : 
   30367           0 : XS(_wrap_mapObj_reference_get) {
   30368             :   {
   30369             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   30370           0 :     void *argp1 = 0 ;
   30371             :     int res1 = 0 ;
   30372             :     int argvi = 0;
   30373             :     referenceMapObj *result = 0 ;
   30374           0 :     dXSARGS;
   30375             :     
   30376           0 :     if ((items < 1) || (items > 1)) {
   30377           0 :       SWIG_croak("Usage: mapObj_reference_get(self);");
   30378             :     }
   30379           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   30380           0 :     if (!SWIG_IsOK(res1)) {
   30381           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_reference_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   30382             :     }
   30383           0 :     arg1 = (struct mapObj *)(argp1);
   30384           0 :     result = (referenceMapObj *)& ((arg1)->reference);
   30385           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_referenceMapObj, 0 | SWIG_SHADOW); argvi++ ;
   30386             :     
   30387           0 :     XSRETURN(argvi);
   30388             :   fail:
   30389             :     
   30390           0 :     SWIG_croak_null();
   30391             :   }
   30392             : }
   30393             : 
   30394             : 
   30395           0 : XS(_wrap_mapObj_scalebar_get) {
   30396             :   {
   30397             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   30398           0 :     void *argp1 = 0 ;
   30399             :     int res1 = 0 ;
   30400             :     int argvi = 0;
   30401             :     scalebarObj *result = 0 ;
   30402           0 :     dXSARGS;
   30403             :     
   30404           0 :     if ((items < 1) || (items > 1)) {
   30405           0 :       SWIG_croak("Usage: mapObj_scalebar_get(self);");
   30406             :     }
   30407           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   30408           0 :     if (!SWIG_IsOK(res1)) {
   30409           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_scalebar_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   30410             :     }
   30411           0 :     arg1 = (struct mapObj *)(argp1);
   30412           0 :     result = (scalebarObj *)& ((arg1)->scalebar);
   30413           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_scalebarObj, 0 | SWIG_SHADOW); argvi++ ;
   30414             :     
   30415           0 :     XSRETURN(argvi);
   30416             :   fail:
   30417             :     
   30418           0 :     SWIG_croak_null();
   30419             :   }
   30420             : }
   30421             : 
   30422             : 
   30423           0 : XS(_wrap_mapObj_legend_get) {
   30424             :   {
   30425             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   30426           0 :     void *argp1 = 0 ;
   30427             :     int res1 = 0 ;
   30428             :     int argvi = 0;
   30429             :     legendObj *result = 0 ;
   30430           0 :     dXSARGS;
   30431             :     
   30432           0 :     if ((items < 1) || (items > 1)) {
   30433           0 :       SWIG_croak("Usage: mapObj_legend_get(self);");
   30434             :     }
   30435           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   30436           0 :     if (!SWIG_IsOK(res1)) {
   30437           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_legend_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   30438             :     }
   30439           0 :     arg1 = (struct mapObj *)(argp1);
   30440           0 :     result = (legendObj *)& ((arg1)->legend);
   30441           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_legendObj, 0 | SWIG_SHADOW); argvi++ ;
   30442             :     
   30443           0 :     XSRETURN(argvi);
   30444             :   fail:
   30445             :     
   30446           0 :     SWIG_croak_null();
   30447             :   }
   30448             : }
   30449             : 
   30450             : 
   30451           0 : XS(_wrap_mapObj_querymap_get) {
   30452             :   {
   30453             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   30454           0 :     void *argp1 = 0 ;
   30455             :     int res1 = 0 ;
   30456             :     int argvi = 0;
   30457             :     queryMapObj *result = 0 ;
   30458           0 :     dXSARGS;
   30459             :     
   30460           0 :     if ((items < 1) || (items > 1)) {
   30461           0 :       SWIG_croak("Usage: mapObj_querymap_get(self);");
   30462             :     }
   30463           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   30464           0 :     if (!SWIG_IsOK(res1)) {
   30465           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_querymap_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   30466             :     }
   30467           0 :     arg1 = (struct mapObj *)(argp1);
   30468           0 :     result = (queryMapObj *)& ((arg1)->querymap);
   30469           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_queryMapObj, 0 | SWIG_SHADOW); argvi++ ;
   30470             :     
   30471           0 :     XSRETURN(argvi);
   30472             :   fail:
   30473             :     
   30474           0 :     SWIG_croak_null();
   30475             :   }
   30476             : }
   30477             : 
   30478             : 
   30479           0 : XS(_wrap_mapObj_web_get) {
   30480             :   {
   30481             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   30482           0 :     void *argp1 = 0 ;
   30483             :     int res1 = 0 ;
   30484             :     int argvi = 0;
   30485             :     webObj *result = 0 ;
   30486           0 :     dXSARGS;
   30487             :     
   30488           0 :     if ((items < 1) || (items > 1)) {
   30489           0 :       SWIG_croak("Usage: mapObj_web_get(self);");
   30490             :     }
   30491           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   30492           0 :     if (!SWIG_IsOK(res1)) {
   30493           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_web_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   30494             :     }
   30495           0 :     arg1 = (struct mapObj *)(argp1);
   30496           0 :     result = (webObj *)& ((arg1)->web);
   30497           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_webObj, 0 | SWIG_SHADOW); argvi++ ;
   30498             :     
   30499           0 :     XSRETURN(argvi);
   30500             :   fail:
   30501             :     
   30502           0 :     SWIG_croak_null();
   30503             :   }
   30504             : }
   30505             : 
   30506             : 
   30507           0 : XS(_wrap_mapObj_layerorder_set) {
   30508             :   {
   30509             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   30510             :     int *arg2 = (int *) 0 ;
   30511           0 :     void *argp1 = 0 ;
   30512             :     int res1 = 0 ;
   30513           0 :     void *argp2 = 0 ;
   30514             :     int res2 = 0 ;
   30515             :     int argvi = 0;
   30516           0 :     dXSARGS;
   30517             :     
   30518           0 :     if ((items < 2) || (items > 2)) {
   30519           0 :       SWIG_croak("Usage: mapObj_layerorder_set(self,layerorder);");
   30520             :     }
   30521           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   30522           0 :     if (!SWIG_IsOK(res1)) {
   30523           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_layerorder_set" "', argument " "1"" of type '" "struct mapObj *""'"); 
   30524             :     }
   30525           0 :     arg1 = (struct mapObj *)(argp1);
   30526           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_int, SWIG_POINTER_DISOWN |  0 );
   30527           0 :     if (!SWIG_IsOK(res2)) {
   30528           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_layerorder_set" "', argument " "2"" of type '" "int *""'"); 
   30529             :     }
   30530           0 :     arg2 = (int *)(argp2);
   30531           0 :     if (arg1) (arg1)->layerorder = arg2;
   30532           0 :     ST(argvi) = sv_newmortal();
   30533             :     
   30534             :     
   30535           0 :     XSRETURN(argvi);
   30536             :   fail:
   30537             :     
   30538             :     
   30539           0 :     SWIG_croak_null();
   30540             :   }
   30541             : }
   30542             : 
   30543             : 
   30544           0 : XS(_wrap_mapObj_layerorder_get) {
   30545             :   {
   30546             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   30547           0 :     void *argp1 = 0 ;
   30548             :     int res1 = 0 ;
   30549             :     int argvi = 0;
   30550             :     int *result = 0 ;
   30551           0 :     dXSARGS;
   30552             :     
   30553           0 :     if ((items < 1) || (items > 1)) {
   30554           0 :       SWIG_croak("Usage: mapObj_layerorder_get(self);");
   30555             :     }
   30556           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   30557           0 :     if (!SWIG_IsOK(res1)) {
   30558           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_layerorder_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   30559             :     }
   30560           0 :     arg1 = (struct mapObj *)(argp1);
   30561           0 :     result = (int *) ((arg1)->layerorder);
   30562           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0); argvi++ ;
   30563             :     
   30564           0 :     XSRETURN(argvi);
   30565             :   fail:
   30566             :     
   30567           0 :     SWIG_croak_null();
   30568             :   }
   30569             : }
   30570             : 
   30571             : 
   30572           0 : XS(_wrap_mapObj_debug_set) {
   30573             :   {
   30574             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   30575             :     int arg2 ;
   30576           0 :     void *argp1 = 0 ;
   30577             :     int res1 = 0 ;
   30578             :     int val2 ;
   30579             :     int ecode2 = 0 ;
   30580             :     int argvi = 0;
   30581           0 :     dXSARGS;
   30582             :     
   30583           0 :     if ((items < 2) || (items > 2)) {
   30584           0 :       SWIG_croak("Usage: mapObj_debug_set(self,debug);");
   30585             :     }
   30586           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   30587           0 :     if (!SWIG_IsOK(res1)) {
   30588           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_debug_set" "', argument " "1"" of type '" "struct mapObj *""'"); 
   30589             :     }
   30590           0 :     arg1 = (struct mapObj *)(argp1);
   30591           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   30592           0 :     if (!SWIG_IsOK(ecode2)) {
   30593           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_debug_set" "', argument " "2"" of type '" "int""'");
   30594             :     } 
   30595           0 :     arg2 = (int)(val2);
   30596           0 :     if (arg1) (arg1)->debug = arg2;
   30597           0 :     ST(argvi) = sv_newmortal();
   30598             :     
   30599             :     
   30600           0 :     XSRETURN(argvi);
   30601             :   fail:
   30602             :     
   30603             :     
   30604           0 :     SWIG_croak_null();
   30605             :   }
   30606             : }
   30607             : 
   30608             : 
   30609           0 : XS(_wrap_mapObj_debug_get) {
   30610             :   {
   30611             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   30612           0 :     void *argp1 = 0 ;
   30613             :     int res1 = 0 ;
   30614             :     int argvi = 0;
   30615             :     int result;
   30616           0 :     dXSARGS;
   30617             :     
   30618           0 :     if ((items < 1) || (items > 1)) {
   30619           0 :       SWIG_croak("Usage: mapObj_debug_get(self);");
   30620             :     }
   30621           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   30622           0 :     if (!SWIG_IsOK(res1)) {
   30623           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_debug_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   30624             :     }
   30625           0 :     arg1 = (struct mapObj *)(argp1);
   30626           0 :     result = (int) ((arg1)->debug);
   30627           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   30628             :     
   30629           0 :     XSRETURN(argvi);
   30630             :   fail:
   30631             :     
   30632           0 :     SWIG_croak_null();
   30633             :   }
   30634             : }
   30635             : 
   30636             : 
   30637           0 : XS(_wrap_mapObj_datapattern_set) {
   30638             :   {
   30639             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   30640             :     char *arg2 = (char *) 0 ;
   30641           0 :     void *argp1 = 0 ;
   30642             :     int res1 = 0 ;
   30643             :     int res2 ;
   30644           0 :     char *buf2 = 0 ;
   30645           0 :     int alloc2 = 0 ;
   30646             :     int argvi = 0;
   30647           0 :     dXSARGS;
   30648             :     
   30649           0 :     if ((items < 2) || (items > 2)) {
   30650           0 :       SWIG_croak("Usage: mapObj_datapattern_set(self,datapattern);");
   30651             :     }
   30652           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   30653           0 :     if (!SWIG_IsOK(res1)) {
   30654           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_datapattern_set" "', argument " "1"" of type '" "struct mapObj *""'"); 
   30655             :     }
   30656           0 :     arg1 = (struct mapObj *)(argp1);
   30657           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   30658           0 :     if (!SWIG_IsOK(res2)) {
   30659           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_datapattern_set" "', argument " "2"" of type '" "char *""'");
   30660             :     }
   30661           0 :     arg2 = (char *)(buf2);
   30662             :     {
   30663           0 :       if (arg1->datapattern) free((char*)arg1->datapattern);
   30664           0 :       if (arg2) {
   30665           0 :         arg1->datapattern = (char *) malloc(strlen(arg2)+1);
   30666             :         strcpy((char*)arg1->datapattern,arg2);
   30667             :       } else {
   30668           0 :         arg1->datapattern = 0;
   30669             :       }
   30670             :     }
   30671           0 :     ST(argvi) = sv_newmortal();
   30672             :     
   30673           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   30674           0 :     XSRETURN(argvi);
   30675             :   fail:
   30676             :     
   30677           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   30678           0 :     SWIG_croak_null();
   30679             :   }
   30680             : }
   30681             : 
   30682             : 
   30683           0 : XS(_wrap_mapObj_datapattern_get) {
   30684             :   {
   30685             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   30686           0 :     void *argp1 = 0 ;
   30687             :     int res1 = 0 ;
   30688             :     int argvi = 0;
   30689             :     char *result = 0 ;
   30690           0 :     dXSARGS;
   30691             :     
   30692           0 :     if ((items < 1) || (items > 1)) {
   30693           0 :       SWIG_croak("Usage: mapObj_datapattern_get(self);");
   30694             :     }
   30695           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   30696           0 :     if (!SWIG_IsOK(res1)) {
   30697           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_datapattern_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   30698             :     }
   30699           0 :     arg1 = (struct mapObj *)(argp1);
   30700           0 :     result = (char *) ((arg1)->datapattern);
   30701           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   30702             :     
   30703           0 :     XSRETURN(argvi);
   30704             :   fail:
   30705             :     
   30706           0 :     SWIG_croak_null();
   30707             :   }
   30708             : }
   30709             : 
   30710             : 
   30711           0 : XS(_wrap_mapObj_templatepattern_set) {
   30712             :   {
   30713             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   30714             :     char *arg2 = (char *) 0 ;
   30715           0 :     void *argp1 = 0 ;
   30716             :     int res1 = 0 ;
   30717             :     int res2 ;
   30718           0 :     char *buf2 = 0 ;
   30719           0 :     int alloc2 = 0 ;
   30720             :     int argvi = 0;
   30721           0 :     dXSARGS;
   30722             :     
   30723           0 :     if ((items < 2) || (items > 2)) {
   30724           0 :       SWIG_croak("Usage: mapObj_templatepattern_set(self,templatepattern);");
   30725             :     }
   30726           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   30727           0 :     if (!SWIG_IsOK(res1)) {
   30728           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_templatepattern_set" "', argument " "1"" of type '" "struct mapObj *""'"); 
   30729             :     }
   30730           0 :     arg1 = (struct mapObj *)(argp1);
   30731           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   30732           0 :     if (!SWIG_IsOK(res2)) {
   30733           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_templatepattern_set" "', argument " "2"" of type '" "char *""'");
   30734             :     }
   30735           0 :     arg2 = (char *)(buf2);
   30736             :     {
   30737           0 :       if (arg1->templatepattern) free((char*)arg1->templatepattern);
   30738           0 :       if (arg2) {
   30739           0 :         arg1->templatepattern = (char *) malloc(strlen(arg2)+1);
   30740             :         strcpy((char*)arg1->templatepattern,arg2);
   30741             :       } else {
   30742           0 :         arg1->templatepattern = 0;
   30743             :       }
   30744             :     }
   30745           0 :     ST(argvi) = sv_newmortal();
   30746             :     
   30747           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   30748           0 :     XSRETURN(argvi);
   30749             :   fail:
   30750             :     
   30751           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   30752           0 :     SWIG_croak_null();
   30753             :   }
   30754             : }
   30755             : 
   30756             : 
   30757           0 : XS(_wrap_mapObj_templatepattern_get) {
   30758             :   {
   30759             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   30760           0 :     void *argp1 = 0 ;
   30761             :     int res1 = 0 ;
   30762             :     int argvi = 0;
   30763             :     char *result = 0 ;
   30764           0 :     dXSARGS;
   30765             :     
   30766           0 :     if ((items < 1) || (items > 1)) {
   30767           0 :       SWIG_croak("Usage: mapObj_templatepattern_get(self);");
   30768             :     }
   30769           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   30770           0 :     if (!SWIG_IsOK(res1)) {
   30771           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_templatepattern_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   30772             :     }
   30773           0 :     arg1 = (struct mapObj *)(argp1);
   30774           0 :     result = (char *) ((arg1)->templatepattern);
   30775           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   30776             :     
   30777           0 :     XSRETURN(argvi);
   30778             :   fail:
   30779             :     
   30780           0 :     SWIG_croak_null();
   30781             :   }
   30782             : }
   30783             : 
   30784             : 
   30785           0 : XS(_wrap_mapObj_configoptions_get) {
   30786             :   {
   30787             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   30788           0 :     void *argp1 = 0 ;
   30789             :     int res1 = 0 ;
   30790             :     int argvi = 0;
   30791             :     hashTableObj *result = 0 ;
   30792           0 :     dXSARGS;
   30793             :     
   30794           0 :     if ((items < 1) || (items > 1)) {
   30795           0 :       SWIG_croak("Usage: mapObj_configoptions_get(self);");
   30796             :     }
   30797           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   30798           0 :     if (!SWIG_IsOK(res1)) {
   30799           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_configoptions_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   30800             :     }
   30801           0 :     arg1 = (struct mapObj *)(argp1);
   30802           0 :     result = (hashTableObj *)& ((arg1)->configoptions);
   30803           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_hashTableObj, 0 | SWIG_SHADOW); argvi++ ;
   30804             :     
   30805           0 :     XSRETURN(argvi);
   30806             :   fail:
   30807             :     
   30808           0 :     SWIG_croak_null();
   30809             :   }
   30810             : }
   30811             : 
   30812             : 
   30813           1 : XS(_wrap_new_mapObj) {
   30814             :   {
   30815             :     char *arg1 = (char *) "" ;
   30816             :     int res1 ;
   30817           1 :     char *buf1 = 0 ;
   30818           1 :     int alloc1 = 0 ;
   30819             :     int argvi = 0;
   30820             :     struct mapObj *result = 0 ;
   30821           1 :     dXSARGS;
   30822             :     
   30823           1 :     if ((items < 0) || (items > 1)) {
   30824           0 :       SWIG_croak("Usage: new_mapObj(filename);");
   30825             :     }
   30826           1 :     if (items > 0) {
   30827           1 :       res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
   30828           1 :       if (!SWIG_IsOK(res1)) {
   30829           0 :         SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_mapObj" "', argument " "1"" of type '" "char *""'");
   30830             :       }
   30831           1 :       arg1 = (char *)(buf1);
   30832             :     }
   30833           1 :     result = (struct mapObj *)new_mapObj(arg1);
   30834           1 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mapObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   30835           1 :     if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
   30836           1 :     XSRETURN(argvi);
   30837             :   fail:
   30838           0 :     if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
   30839           0 :     SWIG_croak_null();
   30840             :   }
   30841             : }
   30842             : 
   30843             : 
   30844           1 : XS(_wrap_delete_mapObj) {
   30845             :   {
   30846             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   30847           1 :     void *argp1 = 0 ;
   30848             :     int res1 = 0 ;
   30849             :     int argvi = 0;
   30850           1 :     dXSARGS;
   30851             :     
   30852           1 :     if ((items < 1) || (items > 1)) {
   30853           0 :       SWIG_croak("Usage: delete_mapObj(self);");
   30854             :     }
   30855           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, SWIG_POINTER_DISOWN |  0 );
   30856           1 :     if (!SWIG_IsOK(res1)) {
   30857           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_mapObj" "', argument " "1"" of type '" "struct mapObj *""'"); 
   30858             :     }
   30859           1 :     arg1 = (struct mapObj *)(argp1);
   30860             :     delete_mapObj(arg1);
   30861           1 :     ST(argvi) = sv_newmortal();
   30862             :     
   30863           1 :     XSRETURN(argvi);
   30864             :   fail:
   30865             :     
   30866           0 :     SWIG_croak_null();
   30867             :   }
   30868             : }
   30869             : 
   30870             : 
   30871           0 : XS(_wrap_mapObj_clone) {
   30872             :   {
   30873             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   30874           0 :     void *argp1 = 0 ;
   30875             :     int res1 = 0 ;
   30876             :     int argvi = 0;
   30877             :     mapObj *result = 0 ;
   30878           0 :     dXSARGS;
   30879             :     
   30880           0 :     if ((items < 1) || (items > 1)) {
   30881           0 :       SWIG_croak("Usage: mapObj_clone(self);");
   30882             :     }
   30883           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   30884           0 :     if (!SWIG_IsOK(res1)) {
   30885           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_clone" "', argument " "1"" of type '" "struct mapObj *""'"); 
   30886             :     }
   30887           0 :     arg1 = (struct mapObj *)(argp1);
   30888           0 :     result = (mapObj *)mapObj_clone(arg1);
   30889           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mapObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   30890             :     
   30891           0 :     XSRETURN(argvi);
   30892             :   fail:
   30893             :     
   30894           0 :     SWIG_croak_null();
   30895             :   }
   30896             : }
   30897             : 
   30898             : 
   30899           1 : XS(_wrap_mapObj_insertLayer) {
   30900             :   {
   30901             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   30902             :     layerObj *arg2 = (layerObj *) 0 ;
   30903             :     int arg3 = (int) -1 ;
   30904           1 :     void *argp1 = 0 ;
   30905             :     int res1 = 0 ;
   30906           1 :     void *argp2 = 0 ;
   30907             :     int res2 = 0 ;
   30908             :     int val3 ;
   30909             :     int ecode3 = 0 ;
   30910             :     int argvi = 0;
   30911             :     int result;
   30912           1 :     dXSARGS;
   30913             :     
   30914           1 :     if ((items < 2) || (items > 3)) {
   30915           0 :       SWIG_croak("Usage: mapObj_insertLayer(self,layer,index);");
   30916             :     }
   30917           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   30918           1 :     if (!SWIG_IsOK(res1)) {
   30919           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_insertLayer" "', argument " "1"" of type '" "struct mapObj *""'"); 
   30920             :     }
   30921           1 :     arg1 = (struct mapObj *)(argp1);
   30922           1 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_layerObj, 0 |  0 );
   30923           1 :     if (!SWIG_IsOK(res2)) {
   30924           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_insertLayer" "', argument " "2"" of type '" "layerObj *""'"); 
   30925             :     }
   30926           1 :     arg2 = (layerObj *)(argp2);
   30927           1 :     if (items > 2) {
   30928           0 :       ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
   30929           0 :       if (!SWIG_IsOK(ecode3)) {
   30930           0 :         SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "mapObj_insertLayer" "', argument " "3"" of type '" "int""'");
   30931             :       } 
   30932           0 :       arg3 = (int)(val3);
   30933             :     }
   30934             :     result = (int)mapObj_insertLayer(arg1,arg2,arg3);
   30935           1 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   30936             :     
   30937             :     
   30938             :     
   30939           1 :     XSRETURN(argvi);
   30940             :   fail:
   30941             :     
   30942             :     
   30943             :     
   30944           0 :     SWIG_croak_null();
   30945             :   }
   30946             : }
   30947             : 
   30948             : 
   30949           0 : XS(_wrap_mapObj_removeLayer) {
   30950             :   {
   30951             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   30952             :     int arg2 ;
   30953           0 :     void *argp1 = 0 ;
   30954             :     int res1 = 0 ;
   30955             :     int val2 ;
   30956             :     int ecode2 = 0 ;
   30957             :     int argvi = 0;
   30958             :     layerObj *result = 0 ;
   30959           0 :     dXSARGS;
   30960             :     
   30961           0 :     if ((items < 2) || (items > 2)) {
   30962           0 :       SWIG_croak("Usage: mapObj_removeLayer(self,index);");
   30963             :     }
   30964           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   30965           0 :     if (!SWIG_IsOK(res1)) {
   30966           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_removeLayer" "', argument " "1"" of type '" "struct mapObj *""'"); 
   30967             :     }
   30968           0 :     arg1 = (struct mapObj *)(argp1);
   30969           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   30970           0 :     if (!SWIG_IsOK(ecode2)) {
   30971           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_removeLayer" "', argument " "2"" of type '" "int""'");
   30972             :     } 
   30973           0 :     arg2 = (int)(val2);
   30974             :     result = (layerObj *)mapObj_removeLayer(arg1,arg2);
   30975           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_layerObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   30976             :     
   30977             :     
   30978           0 :     XSRETURN(argvi);
   30979             :   fail:
   30980             :     
   30981             :     
   30982           0 :     SWIG_croak_null();
   30983             :   }
   30984             : }
   30985             : 
   30986             : 
   30987           0 : XS(_wrap_mapObj_setExtent) {
   30988             :   {
   30989             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   30990             :     double arg2 ;
   30991             :     double arg3 ;
   30992             :     double arg4 ;
   30993             :     double arg5 ;
   30994           0 :     void *argp1 = 0 ;
   30995             :     int res1 = 0 ;
   30996             :     double val2 ;
   30997             :     int ecode2 = 0 ;
   30998             :     double val3 ;
   30999             :     int ecode3 = 0 ;
   31000             :     double val4 ;
   31001             :     int ecode4 = 0 ;
   31002             :     double val5 ;
   31003             :     int ecode5 = 0 ;
   31004             :     int argvi = 0;
   31005             :     int result;
   31006           0 :     dXSARGS;
   31007             :     
   31008           0 :     if ((items < 5) || (items > 5)) {
   31009           0 :       SWIG_croak("Usage: mapObj_setExtent(self,minx,miny,maxx,maxy);");
   31010             :     }
   31011           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   31012           0 :     if (!SWIG_IsOK(res1)) {
   31013           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_setExtent" "', argument " "1"" of type '" "struct mapObj *""'"); 
   31014             :     }
   31015           0 :     arg1 = (struct mapObj *)(argp1);
   31016           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   31017           0 :     if (!SWIG_IsOK(ecode2)) {
   31018           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_setExtent" "', argument " "2"" of type '" "double""'");
   31019             :     } 
   31020           0 :     arg2 = (double)(val2);
   31021           0 :     ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
   31022           0 :     if (!SWIG_IsOK(ecode3)) {
   31023           0 :       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "mapObj_setExtent" "', argument " "3"" of type '" "double""'");
   31024             :     } 
   31025           0 :     arg3 = (double)(val3);
   31026           0 :     ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
   31027           0 :     if (!SWIG_IsOK(ecode4)) {
   31028           0 :       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "mapObj_setExtent" "', argument " "4"" of type '" "double""'");
   31029             :     } 
   31030           0 :     arg4 = (double)(val4);
   31031           0 :     ecode5 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
   31032           0 :     if (!SWIG_IsOK(ecode5)) {
   31033           0 :       SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "mapObj_setExtent" "', argument " "5"" of type '" "double""'");
   31034             :     } 
   31035           0 :     arg5 = (double)(val5);
   31036             :     result = (int)mapObj_setExtent(arg1,arg2,arg3,arg4,arg5);
   31037           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   31038             :     
   31039             :     
   31040             :     
   31041             :     
   31042             :     
   31043           0 :     XSRETURN(argvi);
   31044             :   fail:
   31045             :     
   31046             :     
   31047             :     
   31048             :     
   31049             :     
   31050           0 :     SWIG_croak_null();
   31051             :   }
   31052             : }
   31053             : 
   31054             : 
   31055           0 : XS(_wrap_mapObj_offsetExtent) {
   31056             :   {
   31057             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   31058             :     double arg2 ;
   31059             :     double arg3 ;
   31060           0 :     void *argp1 = 0 ;
   31061             :     int res1 = 0 ;
   31062             :     double val2 ;
   31063             :     int ecode2 = 0 ;
   31064             :     double val3 ;
   31065             :     int ecode3 = 0 ;
   31066             :     int argvi = 0;
   31067             :     int result;
   31068           0 :     dXSARGS;
   31069             :     
   31070           0 :     if ((items < 3) || (items > 3)) {
   31071           0 :       SWIG_croak("Usage: mapObj_offsetExtent(self,x,y);");
   31072             :     }
   31073           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   31074           0 :     if (!SWIG_IsOK(res1)) {
   31075           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_offsetExtent" "', argument " "1"" of type '" "struct mapObj *""'"); 
   31076             :     }
   31077           0 :     arg1 = (struct mapObj *)(argp1);
   31078           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   31079           0 :     if (!SWIG_IsOK(ecode2)) {
   31080           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_offsetExtent" "', argument " "2"" of type '" "double""'");
   31081             :     } 
   31082           0 :     arg2 = (double)(val2);
   31083           0 :     ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
   31084           0 :     if (!SWIG_IsOK(ecode3)) {
   31085           0 :       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "mapObj_offsetExtent" "', argument " "3"" of type '" "double""'");
   31086             :     } 
   31087           0 :     arg3 = (double)(val3);
   31088             :     result = (int)mapObj_offsetExtent(arg1,arg2,arg3);
   31089           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   31090             :     
   31091             :     
   31092             :     
   31093           0 :     XSRETURN(argvi);
   31094             :   fail:
   31095             :     
   31096             :     
   31097             :     
   31098           0 :     SWIG_croak_null();
   31099             :   }
   31100             : }
   31101             : 
   31102             : 
   31103           0 : XS(_wrap_mapObj_scaleExtent) {
   31104             :   {
   31105             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   31106             :     double arg2 ;
   31107             :     double arg3 ;
   31108             :     double arg4 ;
   31109           0 :     void *argp1 = 0 ;
   31110             :     int res1 = 0 ;
   31111             :     double val2 ;
   31112             :     int ecode2 = 0 ;
   31113             :     double val3 ;
   31114             :     int ecode3 = 0 ;
   31115             :     double val4 ;
   31116             :     int ecode4 = 0 ;
   31117             :     int argvi = 0;
   31118             :     int result;
   31119           0 :     dXSARGS;
   31120             :     
   31121           0 :     if ((items < 4) || (items > 4)) {
   31122           0 :       SWIG_croak("Usage: mapObj_scaleExtent(self,zoomfactor,minscaledenom,maxscaledenom);");
   31123             :     }
   31124           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   31125           0 :     if (!SWIG_IsOK(res1)) {
   31126           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_scaleExtent" "', argument " "1"" of type '" "struct mapObj *""'"); 
   31127             :     }
   31128           0 :     arg1 = (struct mapObj *)(argp1);
   31129           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   31130           0 :     if (!SWIG_IsOK(ecode2)) {
   31131           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_scaleExtent" "', argument " "2"" of type '" "double""'");
   31132             :     } 
   31133           0 :     arg2 = (double)(val2);
   31134           0 :     ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
   31135           0 :     if (!SWIG_IsOK(ecode3)) {
   31136           0 :       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "mapObj_scaleExtent" "', argument " "3"" of type '" "double""'");
   31137             :     } 
   31138           0 :     arg3 = (double)(val3);
   31139           0 :     ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
   31140           0 :     if (!SWIG_IsOK(ecode4)) {
   31141           0 :       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "mapObj_scaleExtent" "', argument " "4"" of type '" "double""'");
   31142             :     } 
   31143           0 :     arg4 = (double)(val4);
   31144             :     result = (int)mapObj_scaleExtent(arg1,arg2,arg3,arg4);
   31145           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   31146             :     
   31147             :     
   31148             :     
   31149             :     
   31150           0 :     XSRETURN(argvi);
   31151             :   fail:
   31152             :     
   31153             :     
   31154             :     
   31155             :     
   31156           0 :     SWIG_croak_null();
   31157             :   }
   31158             : }
   31159             : 
   31160             : 
   31161           0 : XS(_wrap_mapObj_setCenter) {
   31162             :   {
   31163             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   31164             :     pointObj *arg2 = (pointObj *) 0 ;
   31165           0 :     void *argp1 = 0 ;
   31166             :     int res1 = 0 ;
   31167           0 :     void *argp2 = 0 ;
   31168             :     int res2 = 0 ;
   31169             :     int argvi = 0;
   31170             :     int result;
   31171           0 :     dXSARGS;
   31172             :     
   31173           0 :     if ((items < 2) || (items > 2)) {
   31174           0 :       SWIG_croak("Usage: mapObj_setCenter(self,center);");
   31175             :     }
   31176           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   31177           0 :     if (!SWIG_IsOK(res1)) {
   31178           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_setCenter" "', argument " "1"" of type '" "struct mapObj *""'"); 
   31179             :     }
   31180           0 :     arg1 = (struct mapObj *)(argp1);
   31181           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_pointObj, 0 |  0 );
   31182           0 :     if (!SWIG_IsOK(res2)) {
   31183           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_setCenter" "', argument " "2"" of type '" "pointObj *""'"); 
   31184             :     }
   31185           0 :     arg2 = (pointObj *)(argp2);
   31186             :     result = (int)mapObj_setCenter(arg1,arg2);
   31187           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   31188             :     
   31189             :     
   31190           0 :     XSRETURN(argvi);
   31191             :   fail:
   31192             :     
   31193             :     
   31194           0 :     SWIG_croak_null();
   31195             :   }
   31196             : }
   31197             : 
   31198             : 
   31199           0 : XS(_wrap_mapObj_setSize) {
   31200             :   {
   31201             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   31202             :     int arg2 ;
   31203             :     int arg3 ;
   31204           0 :     void *argp1 = 0 ;
   31205             :     int res1 = 0 ;
   31206             :     int val2 ;
   31207             :     int ecode2 = 0 ;
   31208             :     int val3 ;
   31209             :     int ecode3 = 0 ;
   31210             :     int argvi = 0;
   31211             :     int result;
   31212           0 :     dXSARGS;
   31213             :     
   31214           0 :     if ((items < 3) || (items > 3)) {
   31215           0 :       SWIG_croak("Usage: mapObj_setSize(self,width,height);");
   31216             :     }
   31217           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   31218           0 :     if (!SWIG_IsOK(res1)) {
   31219           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_setSize" "', argument " "1"" of type '" "struct mapObj *""'"); 
   31220             :     }
   31221           0 :     arg1 = (struct mapObj *)(argp1);
   31222           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   31223           0 :     if (!SWIG_IsOK(ecode2)) {
   31224           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_setSize" "', argument " "2"" of type '" "int""'");
   31225             :     } 
   31226           0 :     arg2 = (int)(val2);
   31227           0 :     ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
   31228           0 :     if (!SWIG_IsOK(ecode3)) {
   31229           0 :       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "mapObj_setSize" "', argument " "3"" of type '" "int""'");
   31230             :     } 
   31231           0 :     arg3 = (int)(val3);
   31232             :     result = (int)mapObj_setSize(arg1,arg2,arg3);
   31233           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   31234             :     
   31235             :     
   31236             :     
   31237           0 :     XSRETURN(argvi);
   31238             :   fail:
   31239             :     
   31240             :     
   31241             :     
   31242           0 :     SWIG_croak_null();
   31243             :   }
   31244             : }
   31245             : 
   31246             : 
   31247           0 : XS(_wrap_mapObj_setRotation) {
   31248             :   {
   31249             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   31250             :     double arg2 ;
   31251           0 :     void *argp1 = 0 ;
   31252             :     int res1 = 0 ;
   31253             :     double val2 ;
   31254             :     int ecode2 = 0 ;
   31255             :     int argvi = 0;
   31256             :     int result;
   31257           0 :     dXSARGS;
   31258             :     
   31259           0 :     if ((items < 2) || (items > 2)) {
   31260           0 :       SWIG_croak("Usage: mapObj_setRotation(self,rotation_angle);");
   31261             :     }
   31262           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   31263           0 :     if (!SWIG_IsOK(res1)) {
   31264           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_setRotation" "', argument " "1"" of type '" "struct mapObj *""'"); 
   31265             :     }
   31266           0 :     arg1 = (struct mapObj *)(argp1);
   31267           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   31268           0 :     if (!SWIG_IsOK(ecode2)) {
   31269           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_setRotation" "', argument " "2"" of type '" "double""'");
   31270             :     } 
   31271           0 :     arg2 = (double)(val2);
   31272             :     result = (int)mapObj_setRotation(arg1,arg2);
   31273           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   31274             :     
   31275             :     
   31276           0 :     XSRETURN(argvi);
   31277             :   fail:
   31278             :     
   31279             :     
   31280           0 :     SWIG_croak_null();
   31281             :   }
   31282             : }
   31283             : 
   31284             : 
   31285           1 : XS(_wrap_mapObj_getLayer) {
   31286             :   {
   31287             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   31288             :     int arg2 ;
   31289           1 :     void *argp1 = 0 ;
   31290             :     int res1 = 0 ;
   31291             :     int val2 ;
   31292             :     int ecode2 = 0 ;
   31293             :     int argvi = 0;
   31294             :     layerObj *result = 0 ;
   31295           1 :     dXSARGS;
   31296             :     
   31297           1 :     if ((items < 2) || (items > 2)) {
   31298           0 :       SWIG_croak("Usage: mapObj_getLayer(self,i);");
   31299             :     }
   31300           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   31301           1 :     if (!SWIG_IsOK(res1)) {
   31302           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_getLayer" "', argument " "1"" of type '" "struct mapObj *""'"); 
   31303             :     }
   31304           1 :     arg1 = (struct mapObj *)(argp1);
   31305           1 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   31306           1 :     if (!SWIG_IsOK(ecode2)) {
   31307           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_getLayer" "', argument " "2"" of type '" "int""'");
   31308             :     } 
   31309           1 :     arg2 = (int)(val2);
   31310           1 :     result = (layerObj *)mapObj_getLayer(arg1,arg2);
   31311           1 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_layerObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   31312             :     
   31313             :     
   31314           1 :     XSRETURN(argvi);
   31315             :   fail:
   31316             :     
   31317             :     
   31318           0 :     SWIG_croak_null();
   31319             :   }
   31320             : }
   31321             : 
   31322             : 
   31323           1 : XS(_wrap_mapObj_getLayerByName) {
   31324             :   {
   31325             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   31326             :     char *arg2 = (char *) 0 ;
   31327           1 :     void *argp1 = 0 ;
   31328             :     int res1 = 0 ;
   31329             :     int res2 ;
   31330           1 :     char *buf2 = 0 ;
   31331           1 :     int alloc2 = 0 ;
   31332             :     int argvi = 0;
   31333             :     layerObj *result = 0 ;
   31334           1 :     dXSARGS;
   31335             :     
   31336           1 :     if ((items < 2) || (items > 2)) {
   31337           0 :       SWIG_croak("Usage: mapObj_getLayerByName(self,name);");
   31338             :     }
   31339           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   31340           1 :     if (!SWIG_IsOK(res1)) {
   31341           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_getLayerByName" "', argument " "1"" of type '" "struct mapObj *""'"); 
   31342             :     }
   31343           1 :     arg1 = (struct mapObj *)(argp1);
   31344           1 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   31345           1 :     if (!SWIG_IsOK(res2)) {
   31346           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_getLayerByName" "', argument " "2"" of type '" "char *""'");
   31347             :     }
   31348           1 :     arg2 = (char *)(buf2);
   31349           1 :     result = (layerObj *)mapObj_getLayerByName(arg1,arg2);
   31350           1 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_layerObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   31351             :     
   31352           1 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   31353           1 :     XSRETURN(argvi);
   31354             :   fail:
   31355             :     
   31356           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   31357           0 :     SWIG_croak_null();
   31358             :   }
   31359             : }
   31360             : 
   31361             : 
   31362           0 : XS(_wrap_mapObj_getSymbolByName) {
   31363             :   {
   31364             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   31365             :     char *arg2 = (char *) 0 ;
   31366           0 :     void *argp1 = 0 ;
   31367             :     int res1 = 0 ;
   31368             :     int res2 ;
   31369           0 :     char *buf2 = 0 ;
   31370           0 :     int alloc2 = 0 ;
   31371             :     int argvi = 0;
   31372             :     int result;
   31373           0 :     dXSARGS;
   31374             :     
   31375           0 :     if ((items < 2) || (items > 2)) {
   31376           0 :       SWIG_croak("Usage: mapObj_getSymbolByName(self,name);");
   31377             :     }
   31378           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   31379           0 :     if (!SWIG_IsOK(res1)) {
   31380           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_getSymbolByName" "', argument " "1"" of type '" "struct mapObj *""'"); 
   31381             :     }
   31382           0 :     arg1 = (struct mapObj *)(argp1);
   31383           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   31384           0 :     if (!SWIG_IsOK(res2)) {
   31385           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_getSymbolByName" "', argument " "2"" of type '" "char *""'");
   31386             :     }
   31387           0 :     arg2 = (char *)(buf2);
   31388             :     result = (int)mapObj_getSymbolByName(arg1,arg2);
   31389           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   31390             :     
   31391           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   31392           0 :     XSRETURN(argvi);
   31393             :   fail:
   31394             :     
   31395           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   31396           0 :     SWIG_croak_null();
   31397             :   }
   31398             : }
   31399             : 
   31400             : 
   31401           0 : XS(_wrap_mapObj_prepareQuery) {
   31402             :   {
   31403             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   31404           0 :     void *argp1 = 0 ;
   31405             :     int res1 = 0 ;
   31406             :     int argvi = 0;
   31407           0 :     dXSARGS;
   31408             :     
   31409           0 :     if ((items < 1) || (items > 1)) {
   31410           0 :       SWIG_croak("Usage: mapObj_prepareQuery(self);");
   31411             :     }
   31412           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   31413           0 :     if (!SWIG_IsOK(res1)) {
   31414           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_prepareQuery" "', argument " "1"" of type '" "struct mapObj *""'"); 
   31415             :     }
   31416           0 :     arg1 = (struct mapObj *)(argp1);
   31417           0 :     mapObj_prepareQuery(arg1);
   31418           0 :     ST(argvi) = sv_newmortal();
   31419             :     
   31420           0 :     XSRETURN(argvi);
   31421             :   fail:
   31422             :     
   31423           0 :     SWIG_croak_null();
   31424             :   }
   31425             : }
   31426             : 
   31427             : 
   31428           0 : XS(_wrap_mapObj_prepareImage) {
   31429             :   {
   31430             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   31431           0 :     void *argp1 = 0 ;
   31432             :     int res1 = 0 ;
   31433             :     int argvi = 0;
   31434             :     imageObj *result = 0 ;
   31435           0 :     dXSARGS;
   31436             :     
   31437           0 :     if ((items < 1) || (items > 1)) {
   31438           0 :       SWIG_croak("Usage: mapObj_prepareImage(self);");
   31439             :     }
   31440           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   31441           0 :     if (!SWIG_IsOK(res1)) {
   31442           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_prepareImage" "', argument " "1"" of type '" "struct mapObj *""'"); 
   31443             :     }
   31444           0 :     arg1 = (struct mapObj *)(argp1);
   31445             :     result = (imageObj *)mapObj_prepareImage(arg1);
   31446           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_imageObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   31447             :     
   31448           0 :     XSRETURN(argvi);
   31449             :   fail:
   31450             :     
   31451           0 :     SWIG_croak_null();
   31452             :   }
   31453             : }
   31454             : 
   31455             : 
   31456           0 : XS(_wrap_mapObj_setImageType) {
   31457             :   {
   31458             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   31459             :     char *arg2 = (char *) 0 ;
   31460           0 :     void *argp1 = 0 ;
   31461             :     int res1 = 0 ;
   31462             :     int res2 ;
   31463           0 :     char *buf2 = 0 ;
   31464           0 :     int alloc2 = 0 ;
   31465             :     int argvi = 0;
   31466           0 :     dXSARGS;
   31467             :     
   31468           0 :     if ((items < 2) || (items > 2)) {
   31469           0 :       SWIG_croak("Usage: mapObj_setImageType(self,imagetype);");
   31470             :     }
   31471           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   31472           0 :     if (!SWIG_IsOK(res1)) {
   31473           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_setImageType" "', argument " "1"" of type '" "struct mapObj *""'"); 
   31474             :     }
   31475           0 :     arg1 = (struct mapObj *)(argp1);
   31476           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   31477           0 :     if (!SWIG_IsOK(res2)) {
   31478           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_setImageType" "', argument " "2"" of type '" "char *""'");
   31479             :     }
   31480           0 :     arg2 = (char *)(buf2);
   31481           0 :     mapObj_setImageType(arg1,arg2);
   31482           0 :     ST(argvi) = sv_newmortal();
   31483             :     
   31484           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   31485           0 :     XSRETURN(argvi);
   31486             :   fail:
   31487             :     
   31488           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   31489           0 :     SWIG_croak_null();
   31490             :   }
   31491             : }
   31492             : 
   31493             : 
   31494           0 : XS(_wrap_mapObj_selectOutputFormat) {
   31495             :   {
   31496             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   31497             :     char *arg2 = (char *) 0 ;
   31498           0 :     void *argp1 = 0 ;
   31499             :     int res1 = 0 ;
   31500             :     int res2 ;
   31501           0 :     char *buf2 = 0 ;
   31502           0 :     int alloc2 = 0 ;
   31503             :     int argvi = 0;
   31504           0 :     dXSARGS;
   31505             :     
   31506           0 :     if ((items < 2) || (items > 2)) {
   31507           0 :       SWIG_croak("Usage: mapObj_selectOutputFormat(self,imagetype);");
   31508             :     }
   31509           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   31510           0 :     if (!SWIG_IsOK(res1)) {
   31511           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_selectOutputFormat" "', argument " "1"" of type '" "struct mapObj *""'"); 
   31512             :     }
   31513           0 :     arg1 = (struct mapObj *)(argp1);
   31514           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   31515           0 :     if (!SWIG_IsOK(res2)) {
   31516           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_selectOutputFormat" "', argument " "2"" of type '" "char *""'");
   31517             :     }
   31518           0 :     arg2 = (char *)(buf2);
   31519           0 :     mapObj_selectOutputFormat(arg1,arg2);
   31520           0 :     ST(argvi) = sv_newmortal();
   31521             :     
   31522           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   31523           0 :     XSRETURN(argvi);
   31524             :   fail:
   31525             :     
   31526           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   31527           0 :     SWIG_croak_null();
   31528             :   }
   31529             : }
   31530             : 
   31531             : 
   31532           0 : XS(_wrap_mapObj_getOutputFormat) {
   31533             :   {
   31534             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   31535             :     int arg2 ;
   31536           0 :     void *argp1 = 0 ;
   31537             :     int res1 = 0 ;
   31538             :     int val2 ;
   31539             :     int ecode2 = 0 ;
   31540             :     int argvi = 0;
   31541             :     outputFormatObj *result = 0 ;
   31542           0 :     dXSARGS;
   31543             :     
   31544           0 :     if ((items < 2) || (items > 2)) {
   31545           0 :       SWIG_croak("Usage: mapObj_getOutputFormat(self,i);");
   31546             :     }
   31547           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   31548           0 :     if (!SWIG_IsOK(res1)) {
   31549           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_getOutputFormat" "', argument " "1"" of type '" "struct mapObj *""'"); 
   31550             :     }
   31551           0 :     arg1 = (struct mapObj *)(argp1);
   31552           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   31553           0 :     if (!SWIG_IsOK(ecode2)) {
   31554           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_getOutputFormat" "', argument " "2"" of type '" "int""'");
   31555             :     } 
   31556           0 :     arg2 = (int)(val2);
   31557           0 :     result = (outputFormatObj *)mapObj_getOutputFormat(arg1,arg2);
   31558           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_outputFormatObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   31559             :     
   31560             :     
   31561           0 :     XSRETURN(argvi);
   31562             :   fail:
   31563             :     
   31564             :     
   31565           0 :     SWIG_croak_null();
   31566             :   }
   31567             : }
   31568             : 
   31569             : 
   31570           0 : XS(_wrap_mapObj_setOutputFormat) {
   31571             :   {
   31572             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   31573             :     outputFormatObj *arg2 = (outputFormatObj *) 0 ;
   31574           0 :     void *argp1 = 0 ;
   31575             :     int res1 = 0 ;
   31576           0 :     void *argp2 = 0 ;
   31577             :     int res2 = 0 ;
   31578             :     int argvi = 0;
   31579           0 :     dXSARGS;
   31580             :     
   31581           0 :     if ((items < 2) || (items > 2)) {
   31582           0 :       SWIG_croak("Usage: mapObj_setOutputFormat(self,format);");
   31583             :     }
   31584           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   31585           0 :     if (!SWIG_IsOK(res1)) {
   31586           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_setOutputFormat" "', argument " "1"" of type '" "struct mapObj *""'"); 
   31587             :     }
   31588           0 :     arg1 = (struct mapObj *)(argp1);
   31589           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_outputFormatObj, 0 |  0 );
   31590           0 :     if (!SWIG_IsOK(res2)) {
   31591           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_setOutputFormat" "', argument " "2"" of type '" "outputFormatObj *""'"); 
   31592             :     }
   31593           0 :     arg2 = (outputFormatObj *)(argp2);
   31594             :     mapObj_setOutputFormat(arg1,arg2);
   31595           0 :     ST(argvi) = sv_newmortal();
   31596             :     
   31597             :     
   31598           0 :     XSRETURN(argvi);
   31599             :   fail:
   31600             :     
   31601             :     
   31602           0 :     SWIG_croak_null();
   31603             :   }
   31604             : }
   31605             : 
   31606             : 
   31607           0 : XS(_wrap_mapObj_draw) {
   31608             :   {
   31609             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   31610           0 :     void *argp1 = 0 ;
   31611             :     int res1 = 0 ;
   31612             :     int argvi = 0;
   31613             :     imageObj *result = 0 ;
   31614           0 :     dXSARGS;
   31615             :     
   31616           0 :     if ((items < 1) || (items > 1)) {
   31617           0 :       SWIG_croak("Usage: mapObj_draw(self);");
   31618             :     }
   31619           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   31620           0 :     if (!SWIG_IsOK(res1)) {
   31621           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_draw" "', argument " "1"" of type '" "struct mapObj *""'"); 
   31622             :     }
   31623           0 :     arg1 = (struct mapObj *)(argp1);
   31624             :     result = (imageObj *)mapObj_draw(arg1);
   31625           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_imageObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   31626             :     
   31627           0 :     XSRETURN(argvi);
   31628             :   fail:
   31629             :     
   31630           0 :     SWIG_croak_null();
   31631             :   }
   31632             : }
   31633             : 
   31634             : 
   31635           0 : XS(_wrap_mapObj_drawQuery) {
   31636             :   {
   31637             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   31638           0 :     void *argp1 = 0 ;
   31639             :     int res1 = 0 ;
   31640             :     int argvi = 0;
   31641             :     imageObj *result = 0 ;
   31642           0 :     dXSARGS;
   31643             :     
   31644           0 :     if ((items < 1) || (items > 1)) {
   31645           0 :       SWIG_croak("Usage: mapObj_drawQuery(self);");
   31646             :     }
   31647           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   31648           0 :     if (!SWIG_IsOK(res1)) {
   31649           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_drawQuery" "', argument " "1"" of type '" "struct mapObj *""'"); 
   31650             :     }
   31651           0 :     arg1 = (struct mapObj *)(argp1);
   31652             :     result = (imageObj *)mapObj_drawQuery(arg1);
   31653           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_imageObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   31654             :     
   31655           0 :     XSRETURN(argvi);
   31656             :   fail:
   31657             :     
   31658           0 :     SWIG_croak_null();
   31659             :   }
   31660             : }
   31661             : 
   31662             : 
   31663           0 : XS(_wrap_mapObj_drawLegend) {
   31664             :   {
   31665             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   31666           0 :     void *argp1 = 0 ;
   31667             :     int res1 = 0 ;
   31668             :     int argvi = 0;
   31669             :     imageObj *result = 0 ;
   31670           0 :     dXSARGS;
   31671             :     
   31672           0 :     if ((items < 1) || (items > 1)) {
   31673           0 :       SWIG_croak("Usage: mapObj_drawLegend(self);");
   31674             :     }
   31675           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   31676           0 :     if (!SWIG_IsOK(res1)) {
   31677           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_drawLegend" "', argument " "1"" of type '" "struct mapObj *""'"); 
   31678             :     }
   31679           0 :     arg1 = (struct mapObj *)(argp1);
   31680             :     result = (imageObj *)mapObj_drawLegend(arg1);
   31681           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_imageObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   31682             :     
   31683           0 :     XSRETURN(argvi);
   31684             :   fail:
   31685             :     
   31686           0 :     SWIG_croak_null();
   31687             :   }
   31688             : }
   31689             : 
   31690             : 
   31691           0 : XS(_wrap_mapObj_drawScalebar) {
   31692             :   {
   31693             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   31694           0 :     void *argp1 = 0 ;
   31695             :     int res1 = 0 ;
   31696             :     int argvi = 0;
   31697             :     imageObj *result = 0 ;
   31698           0 :     dXSARGS;
   31699             :     
   31700           0 :     if ((items < 1) || (items > 1)) {
   31701           0 :       SWIG_croak("Usage: mapObj_drawScalebar(self);");
   31702             :     }
   31703           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   31704           0 :     if (!SWIG_IsOK(res1)) {
   31705           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_drawScalebar" "', argument " "1"" of type '" "struct mapObj *""'"); 
   31706             :     }
   31707           0 :     arg1 = (struct mapObj *)(argp1);
   31708             :     result = (imageObj *)mapObj_drawScalebar(arg1);
   31709           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_imageObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   31710             :     
   31711           0 :     XSRETURN(argvi);
   31712             :   fail:
   31713             :     
   31714           0 :     SWIG_croak_null();
   31715             :   }
   31716             : }
   31717             : 
   31718             : 
   31719           0 : XS(_wrap_mapObj_drawReferenceMap) {
   31720             :   {
   31721             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   31722           0 :     void *argp1 = 0 ;
   31723             :     int res1 = 0 ;
   31724             :     int argvi = 0;
   31725             :     imageObj *result = 0 ;
   31726           0 :     dXSARGS;
   31727             :     
   31728           0 :     if ((items < 1) || (items > 1)) {
   31729           0 :       SWIG_croak("Usage: mapObj_drawReferenceMap(self);");
   31730             :     }
   31731           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   31732           0 :     if (!SWIG_IsOK(res1)) {
   31733           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_drawReferenceMap" "', argument " "1"" of type '" "struct mapObj *""'"); 
   31734             :     }
   31735           0 :     arg1 = (struct mapObj *)(argp1);
   31736             :     result = (imageObj *)mapObj_drawReferenceMap(arg1);
   31737           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_imageObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   31738             :     
   31739           0 :     XSRETURN(argvi);
   31740             :   fail:
   31741             :     
   31742           0 :     SWIG_croak_null();
   31743             :   }
   31744             : }
   31745             : 
   31746             : 
   31747           0 : XS(_wrap_mapObj_embedScalebar) {
   31748             :   {
   31749             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   31750             :     imageObj *arg2 = (imageObj *) 0 ;
   31751           0 :     void *argp1 = 0 ;
   31752             :     int res1 = 0 ;
   31753           0 :     void *argp2 = 0 ;
   31754             :     int res2 = 0 ;
   31755             :     int argvi = 0;
   31756             :     int result;
   31757           0 :     dXSARGS;
   31758             :     
   31759           0 :     if ((items < 2) || (items > 2)) {
   31760           0 :       SWIG_croak("Usage: mapObj_embedScalebar(self,image);");
   31761             :     }
   31762           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   31763           0 :     if (!SWIG_IsOK(res1)) {
   31764           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_embedScalebar" "', argument " "1"" of type '" "struct mapObj *""'"); 
   31765             :     }
   31766           0 :     arg1 = (struct mapObj *)(argp1);
   31767           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_imageObj, 0 |  0 );
   31768           0 :     if (!SWIG_IsOK(res2)) {
   31769           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_embedScalebar" "', argument " "2"" of type '" "imageObj *""'"); 
   31770             :     }
   31771           0 :     arg2 = (imageObj *)(argp2);
   31772             :     result = (int)mapObj_embedScalebar(arg1,arg2);
   31773           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   31774             :     
   31775             :     
   31776           0 :     XSRETURN(argvi);
   31777             :   fail:
   31778             :     
   31779             :     
   31780           0 :     SWIG_croak_null();
   31781             :   }
   31782             : }
   31783             : 
   31784             : 
   31785           0 : XS(_wrap_mapObj_embedLegend) {
   31786             :   {
   31787             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   31788             :     imageObj *arg2 = (imageObj *) 0 ;
   31789           0 :     void *argp1 = 0 ;
   31790             :     int res1 = 0 ;
   31791           0 :     void *argp2 = 0 ;
   31792             :     int res2 = 0 ;
   31793             :     int argvi = 0;
   31794             :     int result;
   31795           0 :     dXSARGS;
   31796             :     
   31797           0 :     if ((items < 2) || (items > 2)) {
   31798           0 :       SWIG_croak("Usage: mapObj_embedLegend(self,image);");
   31799             :     }
   31800           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   31801           0 :     if (!SWIG_IsOK(res1)) {
   31802           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_embedLegend" "', argument " "1"" of type '" "struct mapObj *""'"); 
   31803             :     }
   31804           0 :     arg1 = (struct mapObj *)(argp1);
   31805           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_imageObj, 0 |  0 );
   31806           0 :     if (!SWIG_IsOK(res2)) {
   31807           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_embedLegend" "', argument " "2"" of type '" "imageObj *""'"); 
   31808             :     }
   31809           0 :     arg2 = (imageObj *)(argp2);
   31810             :     result = (int)mapObj_embedLegend(arg1,arg2);
   31811           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   31812             :     
   31813             :     
   31814           0 :     XSRETURN(argvi);
   31815             :   fail:
   31816             :     
   31817             :     
   31818           0 :     SWIG_croak_null();
   31819             :   }
   31820             : }
   31821             : 
   31822             : 
   31823           0 : XS(_wrap_mapObj_drawLabelCache) {
   31824             :   {
   31825             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   31826             :     imageObj *arg2 = (imageObj *) 0 ;
   31827           0 :     void *argp1 = 0 ;
   31828             :     int res1 = 0 ;
   31829           0 :     void *argp2 = 0 ;
   31830             :     int res2 = 0 ;
   31831             :     int argvi = 0;
   31832             :     int result;
   31833           0 :     dXSARGS;
   31834             :     
   31835           0 :     if ((items < 2) || (items > 2)) {
   31836           0 :       SWIG_croak("Usage: mapObj_drawLabelCache(self,image);");
   31837             :     }
   31838           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   31839           0 :     if (!SWIG_IsOK(res1)) {
   31840           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_drawLabelCache" "', argument " "1"" of type '" "struct mapObj *""'"); 
   31841             :     }
   31842           0 :     arg1 = (struct mapObj *)(argp1);
   31843           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_imageObj, 0 |  0 );
   31844           0 :     if (!SWIG_IsOK(res2)) {
   31845           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_drawLabelCache" "', argument " "2"" of type '" "imageObj *""'"); 
   31846             :     }
   31847           0 :     arg2 = (imageObj *)(argp2);
   31848             :     result = (int)mapObj_drawLabelCache(arg1,arg2);
   31849           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   31850             :     
   31851             :     
   31852           0 :     XSRETURN(argvi);
   31853             :   fail:
   31854             :     
   31855             :     
   31856           0 :     SWIG_croak_null();
   31857             :   }
   31858             : }
   31859             : 
   31860             : 
   31861           0 : XS(_wrap_mapObj_queryByFilter) {
   31862             :   {
   31863             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   31864             :     char *arg2 = (char *) 0 ;
   31865           0 :     void *argp1 = 0 ;
   31866             :     int res1 = 0 ;
   31867             :     int res2 ;
   31868           0 :     char *buf2 = 0 ;
   31869           0 :     int alloc2 = 0 ;
   31870             :     int argvi = 0;
   31871             :     int result;
   31872           0 :     dXSARGS;
   31873             :     
   31874           0 :     if ((items < 2) || (items > 2)) {
   31875           0 :       SWIG_croak("Usage: mapObj_queryByFilter(self,string);");
   31876             :     }
   31877           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   31878           0 :     if (!SWIG_IsOK(res1)) {
   31879           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_queryByFilter" "', argument " "1"" of type '" "struct mapObj *""'"); 
   31880             :     }
   31881           0 :     arg1 = (struct mapObj *)(argp1);
   31882           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   31883           0 :     if (!SWIG_IsOK(res2)) {
   31884           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_queryByFilter" "', argument " "2"" of type '" "char *""'");
   31885             :     }
   31886           0 :     arg2 = (char *)(buf2);
   31887           0 :     result = (int)mapObj_queryByFilter(arg1,arg2);
   31888           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   31889             :     
   31890           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   31891           0 :     XSRETURN(argvi);
   31892             :   fail:
   31893             :     
   31894           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   31895           0 :     SWIG_croak_null();
   31896             :   }
   31897             : }
   31898             : 
   31899             : 
   31900           0 : XS(_wrap_mapObj_queryByPoint) {
   31901             :   {
   31902             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   31903             :     pointObj *arg2 = (pointObj *) 0 ;
   31904             :     int arg3 ;
   31905             :     double arg4 ;
   31906           0 :     void *argp1 = 0 ;
   31907             :     int res1 = 0 ;
   31908           0 :     void *argp2 = 0 ;
   31909             :     int res2 = 0 ;
   31910             :     int val3 ;
   31911             :     int ecode3 = 0 ;
   31912             :     double val4 ;
   31913             :     int ecode4 = 0 ;
   31914             :     int argvi = 0;
   31915             :     int result;
   31916           0 :     dXSARGS;
   31917             :     
   31918           0 :     if ((items < 4) || (items > 4)) {
   31919           0 :       SWIG_croak("Usage: mapObj_queryByPoint(self,point,mode,buffer);");
   31920             :     }
   31921           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   31922           0 :     if (!SWIG_IsOK(res1)) {
   31923           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_queryByPoint" "', argument " "1"" of type '" "struct mapObj *""'"); 
   31924             :     }
   31925           0 :     arg1 = (struct mapObj *)(argp1);
   31926           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_pointObj, 0 |  0 );
   31927           0 :     if (!SWIG_IsOK(res2)) {
   31928           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_queryByPoint" "', argument " "2"" of type '" "pointObj *""'"); 
   31929             :     }
   31930           0 :     arg2 = (pointObj *)(argp2);
   31931           0 :     ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
   31932           0 :     if (!SWIG_IsOK(ecode3)) {
   31933           0 :       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "mapObj_queryByPoint" "', argument " "3"" of type '" "int""'");
   31934             :     } 
   31935           0 :     arg3 = (int)(val3);
   31936           0 :     ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
   31937           0 :     if (!SWIG_IsOK(ecode4)) {
   31938           0 :       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "mapObj_queryByPoint" "', argument " "4"" of type '" "double""'");
   31939             :     } 
   31940           0 :     arg4 = (double)(val4);
   31941           0 :     result = (int)mapObj_queryByPoint(arg1,arg2,arg3,arg4);
   31942           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   31943             :     
   31944             :     
   31945             :     
   31946             :     
   31947           0 :     XSRETURN(argvi);
   31948             :   fail:
   31949             :     
   31950             :     
   31951             :     
   31952             :     
   31953           0 :     SWIG_croak_null();
   31954             :   }
   31955             : }
   31956             : 
   31957             : 
   31958           0 : XS(_wrap_mapObj_queryByRect) {
   31959             :   {
   31960             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   31961             :     rectObj arg2 ;
   31962           0 :     void *argp1 = 0 ;
   31963             :     int res1 = 0 ;
   31964             :     void *argp2 ;
   31965             :     int res2 = 0 ;
   31966             :     int argvi = 0;
   31967             :     int result;
   31968           0 :     dXSARGS;
   31969             :     
   31970           0 :     if ((items < 2) || (items > 2)) {
   31971           0 :       SWIG_croak("Usage: mapObj_queryByRect(self,rect);");
   31972             :     }
   31973           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   31974           0 :     if (!SWIG_IsOK(res1)) {
   31975           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_queryByRect" "', argument " "1"" of type '" "struct mapObj *""'"); 
   31976             :     }
   31977           0 :     arg1 = (struct mapObj *)(argp1);
   31978             :     {
   31979           0 :       res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_rectObj,  0 );
   31980           0 :       if (!SWIG_IsOK(res2)) {
   31981           0 :         SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_queryByRect" "', argument " "2"" of type '" "rectObj""'"); 
   31982             :       }  
   31983           0 :       if (!argp2) {
   31984           0 :         SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "mapObj_queryByRect" "', argument " "2"" of type '" "rectObj""'");
   31985             :       } else {
   31986           0 :         arg2 = *((rectObj *)(argp2));
   31987             :       }
   31988             :     }
   31989             :     result = (int)mapObj_queryByRect(arg1,arg2);
   31990           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   31991             :     
   31992           0 :     XSRETURN(argvi);
   31993             :   fail:
   31994             :     
   31995           0 :     SWIG_croak_null();
   31996             :   }
   31997             : }
   31998             : 
   31999             : 
   32000           0 : XS(_wrap_mapObj_queryByFeatures) {
   32001             :   {
   32002             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   32003             :     int arg2 ;
   32004           0 :     void *argp1 = 0 ;
   32005             :     int res1 = 0 ;
   32006             :     int val2 ;
   32007             :     int ecode2 = 0 ;
   32008             :     int argvi = 0;
   32009             :     int result;
   32010           0 :     dXSARGS;
   32011             :     
   32012           0 :     if ((items < 2) || (items > 2)) {
   32013           0 :       SWIG_croak("Usage: mapObj_queryByFeatures(self,slayer);");
   32014             :     }
   32015           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   32016           0 :     if (!SWIG_IsOK(res1)) {
   32017           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_queryByFeatures" "', argument " "1"" of type '" "struct mapObj *""'"); 
   32018             :     }
   32019           0 :     arg1 = (struct mapObj *)(argp1);
   32020           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   32021           0 :     if (!SWIG_IsOK(ecode2)) {
   32022           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_queryByFeatures" "', argument " "2"" of type '" "int""'");
   32023             :     } 
   32024           0 :     arg2 = (int)(val2);
   32025             :     result = (int)mapObj_queryByFeatures(arg1,arg2);
   32026           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   32027             :     
   32028             :     
   32029           0 :     XSRETURN(argvi);
   32030             :   fail:
   32031             :     
   32032             :     
   32033           0 :     SWIG_croak_null();
   32034             :   }
   32035             : }
   32036             : 
   32037             : 
   32038           0 : XS(_wrap_mapObj_queryByShape) {
   32039             :   {
   32040             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   32041             :     shapeObj *arg2 = (shapeObj *) 0 ;
   32042           0 :     void *argp1 = 0 ;
   32043             :     int res1 = 0 ;
   32044           0 :     void *argp2 = 0 ;
   32045             :     int res2 = 0 ;
   32046             :     int argvi = 0;
   32047             :     int result;
   32048           0 :     dXSARGS;
   32049             :     
   32050           0 :     if ((items < 2) || (items > 2)) {
   32051           0 :       SWIG_croak("Usage: mapObj_queryByShape(self,shape);");
   32052             :     }
   32053           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   32054           0 :     if (!SWIG_IsOK(res1)) {
   32055           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_queryByShape" "', argument " "1"" of type '" "struct mapObj *""'"); 
   32056             :     }
   32057           0 :     arg1 = (struct mapObj *)(argp1);
   32058           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 |  0 );
   32059           0 :     if (!SWIG_IsOK(res2)) {
   32060           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_queryByShape" "', argument " "2"" of type '" "shapeObj *""'"); 
   32061             :     }
   32062           0 :     arg2 = (shapeObj *)(argp2);
   32063           0 :     result = (int)mapObj_queryByShape(arg1,arg2);
   32064           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   32065             :     
   32066             :     
   32067           0 :     XSRETURN(argvi);
   32068             :   fail:
   32069             :     
   32070             :     
   32071           0 :     SWIG_croak_null();
   32072             :   }
   32073             : }
   32074             : 
   32075             : 
   32076           0 : XS(_wrap_mapObj_setWKTProjection) {
   32077             :   {
   32078             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   32079             :     char *arg2 = (char *) 0 ;
   32080           0 :     void *argp1 = 0 ;
   32081             :     int res1 = 0 ;
   32082             :     int res2 ;
   32083           0 :     char *buf2 = 0 ;
   32084           0 :     int alloc2 = 0 ;
   32085             :     int argvi = 0;
   32086             :     int result;
   32087           0 :     dXSARGS;
   32088             :     
   32089           0 :     if ((items < 2) || (items > 2)) {
   32090           0 :       SWIG_croak("Usage: mapObj_setWKTProjection(self,wkt);");
   32091             :     }
   32092           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   32093           0 :     if (!SWIG_IsOK(res1)) {
   32094           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_setWKTProjection" "', argument " "1"" of type '" "struct mapObj *""'"); 
   32095             :     }
   32096           0 :     arg1 = (struct mapObj *)(argp1);
   32097           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   32098           0 :     if (!SWIG_IsOK(res2)) {
   32099           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_setWKTProjection" "', argument " "2"" of type '" "char *""'");
   32100             :     }
   32101           0 :     arg2 = (char *)(buf2);
   32102             :     result = (int)mapObj_setWKTProjection(arg1,arg2);
   32103           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   32104             :     
   32105           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   32106           0 :     XSRETURN(argvi);
   32107             :   fail:
   32108             :     
   32109           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   32110           0 :     SWIG_croak_null();
   32111             :   }
   32112             : }
   32113             : 
   32114             : 
   32115           0 : XS(_wrap_mapObj_getProjection) {
   32116             :   {
   32117             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   32118           0 :     void *argp1 = 0 ;
   32119             :     int res1 = 0 ;
   32120             :     int argvi = 0;
   32121             :     char *result = 0 ;
   32122           0 :     dXSARGS;
   32123             :     
   32124           0 :     if ((items < 1) || (items > 1)) {
   32125           0 :       SWIG_croak("Usage: mapObj_getProjection(self);");
   32126             :     }
   32127           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   32128           0 :     if (!SWIG_IsOK(res1)) {
   32129           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_getProjection" "', argument " "1"" of type '" "struct mapObj *""'"); 
   32130             :     }
   32131           0 :     arg1 = (struct mapObj *)(argp1);
   32132             :     result = (char *)mapObj_getProjection(arg1);
   32133           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   32134             :     
   32135           0 :     free((char*)result);
   32136           0 :     XSRETURN(argvi);
   32137             :   fail:
   32138             :     
   32139           0 :     SWIG_croak_null();
   32140             :   }
   32141             : }
   32142             : 
   32143             : 
   32144           0 : XS(_wrap_mapObj_setProjection) {
   32145             :   {
   32146             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   32147             :     char *arg2 = (char *) 0 ;
   32148           0 :     void *argp1 = 0 ;
   32149             :     int res1 = 0 ;
   32150             :     int res2 ;
   32151           0 :     char *buf2 = 0 ;
   32152           0 :     int alloc2 = 0 ;
   32153             :     int argvi = 0;
   32154             :     int result;
   32155           0 :     dXSARGS;
   32156             :     
   32157           0 :     if ((items < 2) || (items > 2)) {
   32158           0 :       SWIG_croak("Usage: mapObj_setProjection(self,proj4);");
   32159             :     }
   32160           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   32161           0 :     if (!SWIG_IsOK(res1)) {
   32162           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_setProjection" "', argument " "1"" of type '" "struct mapObj *""'"); 
   32163             :     }
   32164           0 :     arg1 = (struct mapObj *)(argp1);
   32165           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   32166           0 :     if (!SWIG_IsOK(res2)) {
   32167           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_setProjection" "', argument " "2"" of type '" "char *""'");
   32168             :     }
   32169           0 :     arg2 = (char *)(buf2);
   32170             :     result = (int)mapObj_setProjection(arg1,arg2);
   32171           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   32172             :     
   32173           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   32174           0 :     XSRETURN(argvi);
   32175             :   fail:
   32176             :     
   32177           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   32178           0 :     SWIG_croak_null();
   32179             :   }
   32180             : }
   32181             : 
   32182             : 
   32183           0 : XS(_wrap_mapObj_save) {
   32184             :   {
   32185             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   32186             :     char *arg2 = (char *) 0 ;
   32187           0 :     void *argp1 = 0 ;
   32188             :     int res1 = 0 ;
   32189             :     int res2 ;
   32190           0 :     char *buf2 = 0 ;
   32191           0 :     int alloc2 = 0 ;
   32192             :     int argvi = 0;
   32193             :     int result;
   32194           0 :     dXSARGS;
   32195             :     
   32196           0 :     if ((items < 2) || (items > 2)) {
   32197           0 :       SWIG_croak("Usage: mapObj_save(self,filename);");
   32198             :     }
   32199           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   32200           0 :     if (!SWIG_IsOK(res1)) {
   32201           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_save" "', argument " "1"" of type '" "struct mapObj *""'"); 
   32202             :     }
   32203           0 :     arg1 = (struct mapObj *)(argp1);
   32204           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   32205           0 :     if (!SWIG_IsOK(res2)) {
   32206           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_save" "', argument " "2"" of type '" "char *""'");
   32207             :     }
   32208           0 :     arg2 = (char *)(buf2);
   32209             :     result = (int)mapObj_save(arg1,arg2);
   32210           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   32211             :     
   32212           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   32213           0 :     XSRETURN(argvi);
   32214             :   fail:
   32215             :     
   32216           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   32217           0 :     SWIG_croak_null();
   32218             :   }
   32219             : }
   32220             : 
   32221             : 
   32222           0 : XS(_wrap_mapObj_saveQuery) {
   32223             :   {
   32224             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   32225             :     char *arg2 = (char *) 0 ;
   32226             :     int arg3 = (int) 0 ;
   32227           0 :     void *argp1 = 0 ;
   32228             :     int res1 = 0 ;
   32229             :     int res2 ;
   32230           0 :     char *buf2 = 0 ;
   32231           0 :     int alloc2 = 0 ;
   32232             :     int val3 ;
   32233             :     int ecode3 = 0 ;
   32234             :     int argvi = 0;
   32235             :     int result;
   32236           0 :     dXSARGS;
   32237             :     
   32238           0 :     if ((items < 2) || (items > 3)) {
   32239           0 :       SWIG_croak("Usage: mapObj_saveQuery(self,filename,results);");
   32240             :     }
   32241           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   32242           0 :     if (!SWIG_IsOK(res1)) {
   32243           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_saveQuery" "', argument " "1"" of type '" "struct mapObj *""'"); 
   32244             :     }
   32245           0 :     arg1 = (struct mapObj *)(argp1);
   32246           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   32247           0 :     if (!SWIG_IsOK(res2)) {
   32248           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_saveQuery" "', argument " "2"" of type '" "char *""'");
   32249             :     }
   32250           0 :     arg2 = (char *)(buf2);
   32251           0 :     if (items > 2) {
   32252           0 :       ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
   32253           0 :       if (!SWIG_IsOK(ecode3)) {
   32254           0 :         SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "mapObj_saveQuery" "', argument " "3"" of type '" "int""'");
   32255             :       } 
   32256           0 :       arg3 = (int)(val3);
   32257             :     }
   32258             :     result = (int)mapObj_saveQuery(arg1,arg2,arg3);
   32259           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   32260             :     
   32261           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   32262             :     
   32263           0 :     XSRETURN(argvi);
   32264             :   fail:
   32265             :     
   32266           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   32267             :     
   32268           0 :     SWIG_croak_null();
   32269             :   }
   32270             : }
   32271             : 
   32272             : 
   32273           0 : XS(_wrap_mapObj_loadQuery) {
   32274             :   {
   32275             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   32276             :     char *arg2 = (char *) 0 ;
   32277           0 :     void *argp1 = 0 ;
   32278             :     int res1 = 0 ;
   32279             :     int res2 ;
   32280           0 :     char *buf2 = 0 ;
   32281           0 :     int alloc2 = 0 ;
   32282             :     int argvi = 0;
   32283             :     int result;
   32284           0 :     dXSARGS;
   32285             :     
   32286           0 :     if ((items < 2) || (items > 2)) {
   32287           0 :       SWIG_croak("Usage: mapObj_loadQuery(self,filename);");
   32288             :     }
   32289           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   32290           0 :     if (!SWIG_IsOK(res1)) {
   32291           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_loadQuery" "', argument " "1"" of type '" "struct mapObj *""'"); 
   32292             :     }
   32293           0 :     arg1 = (struct mapObj *)(argp1);
   32294           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   32295           0 :     if (!SWIG_IsOK(res2)) {
   32296           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_loadQuery" "', argument " "2"" of type '" "char *""'");
   32297             :     }
   32298           0 :     arg2 = (char *)(buf2);
   32299             :     result = (int)mapObj_loadQuery(arg1,arg2);
   32300           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   32301             :     
   32302           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   32303           0 :     XSRETURN(argvi);
   32304             :   fail:
   32305             :     
   32306           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   32307           0 :     SWIG_croak_null();
   32308             :   }
   32309             : }
   32310             : 
   32311             : 
   32312           0 : XS(_wrap_mapObj_freeQuery) {
   32313             :   {
   32314             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   32315             :     int arg2 = (int) -1 ;
   32316           0 :     void *argp1 = 0 ;
   32317             :     int res1 = 0 ;
   32318             :     int val2 ;
   32319             :     int ecode2 = 0 ;
   32320             :     int argvi = 0;
   32321           0 :     dXSARGS;
   32322             :     
   32323           0 :     if ((items < 1) || (items > 2)) {
   32324           0 :       SWIG_croak("Usage: mapObj_freeQuery(self,qlayer);");
   32325             :     }
   32326           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   32327           0 :     if (!SWIG_IsOK(res1)) {
   32328           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_freeQuery" "', argument " "1"" of type '" "struct mapObj *""'"); 
   32329             :     }
   32330           0 :     arg1 = (struct mapObj *)(argp1);
   32331           0 :     if (items > 1) {
   32332           0 :       ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   32333           0 :       if (!SWIG_IsOK(ecode2)) {
   32334           0 :         SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_freeQuery" "', argument " "2"" of type '" "int""'");
   32335             :       } 
   32336           0 :       arg2 = (int)(val2);
   32337             :     }
   32338             :     mapObj_freeQuery(arg1,arg2);
   32339           0 :     ST(argvi) = sv_newmortal();
   32340             :     
   32341             :     
   32342           0 :     XSRETURN(argvi);
   32343             :   fail:
   32344             :     
   32345             :     
   32346           0 :     SWIG_croak_null();
   32347             :   }
   32348             : }
   32349             : 
   32350             : 
   32351           0 : XS(_wrap_mapObj_saveQueryAsGML) {
   32352             :   {
   32353             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   32354             :     char *arg2 = (char *) 0 ;
   32355             :     char *arg3 = (char *) "GOMF" ;
   32356           0 :     void *argp1 = 0 ;
   32357             :     int res1 = 0 ;
   32358             :     int res2 ;
   32359           0 :     char *buf2 = 0 ;
   32360           0 :     int alloc2 = 0 ;
   32361             :     int res3 ;
   32362           0 :     char *buf3 = 0 ;
   32363           0 :     int alloc3 = 0 ;
   32364             :     int argvi = 0;
   32365             :     int result;
   32366           0 :     dXSARGS;
   32367             :     
   32368           0 :     if ((items < 2) || (items > 3)) {
   32369           0 :       SWIG_croak("Usage: mapObj_saveQueryAsGML(self,filename,ns);");
   32370             :     }
   32371           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   32372           0 :     if (!SWIG_IsOK(res1)) {
   32373           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_saveQueryAsGML" "', argument " "1"" of type '" "struct mapObj *""'"); 
   32374             :     }
   32375           0 :     arg1 = (struct mapObj *)(argp1);
   32376           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   32377           0 :     if (!SWIG_IsOK(res2)) {
   32378           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_saveQueryAsGML" "', argument " "2"" of type '" "char *""'");
   32379             :     }
   32380           0 :     arg2 = (char *)(buf2);
   32381           0 :     if (items > 2) {
   32382           0 :       res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
   32383           0 :       if (!SWIG_IsOK(res3)) {
   32384           0 :         SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "mapObj_saveQueryAsGML" "', argument " "3"" of type '" "char const *""'");
   32385             :       }
   32386           0 :       arg3 = (char *)(buf3);
   32387             :     }
   32388             :     result = (int)mapObj_saveQueryAsGML(arg1,arg2,(char const *)arg3);
   32389           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   32390             :     
   32391           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   32392           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   32393           0 :     XSRETURN(argvi);
   32394             :   fail:
   32395             :     
   32396           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   32397           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   32398           0 :     SWIG_croak_null();
   32399             :   }
   32400             : }
   32401             : 
   32402             : 
   32403           0 : XS(_wrap_mapObj_getMetaData) {
   32404             :   {
   32405             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   32406             :     char *arg2 = (char *) 0 ;
   32407           0 :     void *argp1 = 0 ;
   32408             :     int res1 = 0 ;
   32409             :     int res2 ;
   32410           0 :     char *buf2 = 0 ;
   32411           0 :     int alloc2 = 0 ;
   32412             :     int argvi = 0;
   32413             :     char *result = 0 ;
   32414           0 :     dXSARGS;
   32415             :     
   32416           0 :     if ((items < 2) || (items > 2)) {
   32417           0 :       SWIG_croak("Usage: mapObj_getMetaData(self,name);");
   32418             :     }
   32419           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   32420           0 :     if (!SWIG_IsOK(res1)) {
   32421           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_getMetaData" "', argument " "1"" of type '" "struct mapObj *""'"); 
   32422             :     }
   32423           0 :     arg1 = (struct mapObj *)(argp1);
   32424           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   32425           0 :     if (!SWIG_IsOK(res2)) {
   32426           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_getMetaData" "', argument " "2"" of type '" "char *""'");
   32427             :     }
   32428           0 :     arg2 = (char *)(buf2);
   32429           0 :     result = (char *)mapObj_getMetaData(arg1,arg2);
   32430           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   32431             :     
   32432           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   32433           0 :     XSRETURN(argvi);
   32434             :   fail:
   32435             :     
   32436           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   32437           0 :     SWIG_croak_null();
   32438             :   }
   32439             : }
   32440             : 
   32441             : 
   32442           0 : XS(_wrap_mapObj_setMetaData) {
   32443             :   {
   32444             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   32445             :     char *arg2 = (char *) 0 ;
   32446             :     char *arg3 = (char *) 0 ;
   32447           0 :     void *argp1 = 0 ;
   32448             :     int res1 = 0 ;
   32449             :     int res2 ;
   32450           0 :     char *buf2 = 0 ;
   32451           0 :     int alloc2 = 0 ;
   32452             :     int res3 ;
   32453           0 :     char *buf3 = 0 ;
   32454           0 :     int alloc3 = 0 ;
   32455             :     int argvi = 0;
   32456             :     int result;
   32457           0 :     dXSARGS;
   32458             :     
   32459           0 :     if ((items < 3) || (items > 3)) {
   32460           0 :       SWIG_croak("Usage: mapObj_setMetaData(self,name,value);");
   32461             :     }
   32462           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   32463           0 :     if (!SWIG_IsOK(res1)) {
   32464           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_setMetaData" "', argument " "1"" of type '" "struct mapObj *""'"); 
   32465             :     }
   32466           0 :     arg1 = (struct mapObj *)(argp1);
   32467           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   32468           0 :     if (!SWIG_IsOK(res2)) {
   32469           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_setMetaData" "', argument " "2"" of type '" "char *""'");
   32470             :     }
   32471           0 :     arg2 = (char *)(buf2);
   32472           0 :     res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
   32473           0 :     if (!SWIG_IsOK(res3)) {
   32474           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "mapObj_setMetaData" "', argument " "3"" of type '" "char *""'");
   32475             :     }
   32476           0 :     arg3 = (char *)(buf3);
   32477             :     result = (int)mapObj_setMetaData(arg1,arg2,arg3);
   32478           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   32479             :     
   32480           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   32481           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   32482           0 :     XSRETURN(argvi);
   32483             :   fail:
   32484             :     
   32485           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   32486           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   32487           0 :     SWIG_croak_null();
   32488             :   }
   32489             : }
   32490             : 
   32491             : 
   32492           0 : XS(_wrap_mapObj_removeMetaData) {
   32493             :   {
   32494             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   32495             :     char *arg2 = (char *) 0 ;
   32496           0 :     void *argp1 = 0 ;
   32497             :     int res1 = 0 ;
   32498             :     int res2 ;
   32499           0 :     char *buf2 = 0 ;
   32500           0 :     int alloc2 = 0 ;
   32501             :     int argvi = 0;
   32502             :     int result;
   32503           0 :     dXSARGS;
   32504             :     
   32505           0 :     if ((items < 2) || (items > 2)) {
   32506           0 :       SWIG_croak("Usage: mapObj_removeMetaData(self,name);");
   32507             :     }
   32508           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   32509           0 :     if (!SWIG_IsOK(res1)) {
   32510           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_removeMetaData" "', argument " "1"" of type '" "struct mapObj *""'"); 
   32511             :     }
   32512           0 :     arg1 = (struct mapObj *)(argp1);
   32513           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   32514           0 :     if (!SWIG_IsOK(res2)) {
   32515           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_removeMetaData" "', argument " "2"" of type '" "char *""'");
   32516             :     }
   32517           0 :     arg2 = (char *)(buf2);
   32518             :     result = (int)mapObj_removeMetaData(arg1,arg2);
   32519           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   32520             :     
   32521           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   32522           0 :     XSRETURN(argvi);
   32523             :   fail:
   32524             :     
   32525           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   32526           0 :     SWIG_croak_null();
   32527             :   }
   32528             : }
   32529             : 
   32530             : 
   32531           0 : XS(_wrap_mapObj_getFirstMetaDataKey) {
   32532             :   {
   32533             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   32534           0 :     void *argp1 = 0 ;
   32535             :     int res1 = 0 ;
   32536             :     int argvi = 0;
   32537             :     char *result = 0 ;
   32538           0 :     dXSARGS;
   32539             :     
   32540           0 :     if ((items < 1) || (items > 1)) {
   32541           0 :       SWIG_croak("Usage: mapObj_getFirstMetaDataKey(self);");
   32542             :     }
   32543           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   32544           0 :     if (!SWIG_IsOK(res1)) {
   32545           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_getFirstMetaDataKey" "', argument " "1"" of type '" "struct mapObj *""'"); 
   32546             :     }
   32547           0 :     arg1 = (struct mapObj *)(argp1);
   32548             :     result = (char *)mapObj_getFirstMetaDataKey(arg1);
   32549           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   32550             :     
   32551           0 :     XSRETURN(argvi);
   32552             :   fail:
   32553             :     
   32554           0 :     SWIG_croak_null();
   32555             :   }
   32556             : }
   32557             : 
   32558             : 
   32559           0 : XS(_wrap_mapObj_getNextMetaDataKey) {
   32560             :   {
   32561             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   32562             :     char *arg2 = (char *) 0 ;
   32563           0 :     void *argp1 = 0 ;
   32564             :     int res1 = 0 ;
   32565             :     int res2 ;
   32566           0 :     char *buf2 = 0 ;
   32567           0 :     int alloc2 = 0 ;
   32568             :     int argvi = 0;
   32569             :     char *result = 0 ;
   32570           0 :     dXSARGS;
   32571             :     
   32572           0 :     if ((items < 2) || (items > 2)) {
   32573           0 :       SWIG_croak("Usage: mapObj_getNextMetaDataKey(self,lastkey);");
   32574             :     }
   32575           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   32576           0 :     if (!SWIG_IsOK(res1)) {
   32577           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_getNextMetaDataKey" "', argument " "1"" of type '" "struct mapObj *""'"); 
   32578             :     }
   32579           0 :     arg1 = (struct mapObj *)(argp1);
   32580           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   32581           0 :     if (!SWIG_IsOK(res2)) {
   32582           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_getNextMetaDataKey" "', argument " "2"" of type '" "char *""'");
   32583             :     }
   32584           0 :     arg2 = (char *)(buf2);
   32585             :     result = (char *)mapObj_getNextMetaDataKey(arg1,arg2);
   32586           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   32587             :     
   32588           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   32589           0 :     XSRETURN(argvi);
   32590             :   fail:
   32591             :     
   32592           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   32593           0 :     SWIG_croak_null();
   32594             :   }
   32595             : }
   32596             : 
   32597             : 
   32598           0 : XS(_wrap_mapObj_setSymbolSet) {
   32599             :   {
   32600             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   32601             :     char *arg2 = (char *) 0 ;
   32602           0 :     void *argp1 = 0 ;
   32603             :     int res1 = 0 ;
   32604             :     int res2 ;
   32605           0 :     char *buf2 = 0 ;
   32606           0 :     int alloc2 = 0 ;
   32607             :     int argvi = 0;
   32608             :     int result;
   32609           0 :     dXSARGS;
   32610             :     
   32611           0 :     if ((items < 2) || (items > 2)) {
   32612           0 :       SWIG_croak("Usage: mapObj_setSymbolSet(self,szFileName);");
   32613             :     }
   32614           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   32615           0 :     if (!SWIG_IsOK(res1)) {
   32616           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_setSymbolSet" "', argument " "1"" of type '" "struct mapObj *""'"); 
   32617             :     }
   32618           0 :     arg1 = (struct mapObj *)(argp1);
   32619           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   32620           0 :     if (!SWIG_IsOK(res2)) {
   32621           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_setSymbolSet" "', argument " "2"" of type '" "char *""'");
   32622             :     }
   32623           0 :     arg2 = (char *)(buf2);
   32624           0 :     result = (int)mapObj_setSymbolSet(arg1,arg2);
   32625           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   32626             :     
   32627           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   32628           0 :     XSRETURN(argvi);
   32629             :   fail:
   32630             :     
   32631           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   32632           0 :     SWIG_croak_null();
   32633             :   }
   32634             : }
   32635             : 
   32636             : 
   32637           0 : XS(_wrap_mapObj_getNumSymbols) {
   32638             :   {
   32639           0 :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   32640           0 :     void *argp1 = 0 ;
   32641             :     int res1 = 0 ;
   32642             :     int argvi = 0;
   32643             :     int result;
   32644           0 :     dXSARGS;
   32645             :     
   32646           0 :     if ((items < 1) || (items > 1)) {
   32647           0 :       SWIG_croak("Usage: mapObj_getNumSymbols(self);");
   32648             :     }
   32649           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   32650           0 :     if (!SWIG_IsOK(res1)) {
   32651           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_getNumSymbols" "', argument " "1"" of type '" "struct mapObj *""'"); 
   32652             :     }
   32653           0 :     arg1 = (struct mapObj *)(argp1);
   32654             :     result = (int)mapObj_getNumSymbols(arg1);
   32655           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   32656             :     
   32657           0 :     XSRETURN(argvi);
   32658             :   fail:
   32659             :     
   32660           0 :     SWIG_croak_null();
   32661             :   }
   32662             : }
   32663             : 
   32664             : 
   32665           0 : XS(_wrap_mapObj_setFontSet) {
   32666             :   {
   32667             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   32668             :     char *arg2 = (char *) 0 ;
   32669           0 :     void *argp1 = 0 ;
   32670             :     int res1 = 0 ;
   32671             :     int res2 ;
   32672           0 :     char *buf2 = 0 ;
   32673           0 :     int alloc2 = 0 ;
   32674             :     int argvi = 0;
   32675             :     int result;
   32676           0 :     dXSARGS;
   32677             :     
   32678           0 :     if ((items < 2) || (items > 2)) {
   32679           0 :       SWIG_croak("Usage: mapObj_setFontSet(self,filename);");
   32680             :     }
   32681           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   32682           0 :     if (!SWIG_IsOK(res1)) {
   32683           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_setFontSet" "', argument " "1"" of type '" "struct mapObj *""'"); 
   32684             :     }
   32685           0 :     arg1 = (struct mapObj *)(argp1);
   32686           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   32687           0 :     if (!SWIG_IsOK(res2)) {
   32688           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_setFontSet" "', argument " "2"" of type '" "char *""'");
   32689             :     }
   32690           0 :     arg2 = (char *)(buf2);
   32691           0 :     result = (int)mapObj_setFontSet(arg1,arg2);
   32692           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   32693             :     
   32694           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   32695           0 :     XSRETURN(argvi);
   32696             :   fail:
   32697             :     
   32698           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   32699           0 :     SWIG_croak_null();
   32700             :   }
   32701             : }
   32702             : 
   32703             : 
   32704           0 : XS(_wrap_mapObj_saveMapContext) {
   32705             :   {
   32706             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   32707             :     char *arg2 = (char *) 0 ;
   32708           0 :     void *argp1 = 0 ;
   32709             :     int res1 = 0 ;
   32710             :     int res2 ;
   32711           0 :     char *buf2 = 0 ;
   32712           0 :     int alloc2 = 0 ;
   32713             :     int argvi = 0;
   32714             :     int result;
   32715           0 :     dXSARGS;
   32716             :     
   32717           0 :     if ((items < 2) || (items > 2)) {
   32718           0 :       SWIG_croak("Usage: mapObj_saveMapContext(self,szFileName);");
   32719             :     }
   32720           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   32721           0 :     if (!SWIG_IsOK(res1)) {
   32722           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_saveMapContext" "', argument " "1"" of type '" "struct mapObj *""'"); 
   32723             :     }
   32724           0 :     arg1 = (struct mapObj *)(argp1);
   32725           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   32726           0 :     if (!SWIG_IsOK(res2)) {
   32727           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_saveMapContext" "', argument " "2"" of type '" "char *""'");
   32728             :     }
   32729           0 :     arg2 = (char *)(buf2);
   32730             :     result = (int)mapObj_saveMapContext(arg1,arg2);
   32731           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   32732             :     
   32733           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   32734           0 :     XSRETURN(argvi);
   32735             :   fail:
   32736             :     
   32737           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   32738           0 :     SWIG_croak_null();
   32739             :   }
   32740             : }
   32741             : 
   32742             : 
   32743           0 : XS(_wrap_mapObj_loadMapContext) {
   32744             :   {
   32745             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   32746             :     char *arg2 = (char *) 0 ;
   32747             :     int arg3 = (int) 0 ;
   32748           0 :     void *argp1 = 0 ;
   32749             :     int res1 = 0 ;
   32750             :     int res2 ;
   32751           0 :     char *buf2 = 0 ;
   32752           0 :     int alloc2 = 0 ;
   32753             :     int val3 ;
   32754             :     int ecode3 = 0 ;
   32755             :     int argvi = 0;
   32756             :     int result;
   32757           0 :     dXSARGS;
   32758             :     
   32759           0 :     if ((items < 2) || (items > 3)) {
   32760           0 :       SWIG_croak("Usage: mapObj_loadMapContext(self,szFileName,useUniqueNames);");
   32761             :     }
   32762           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   32763           0 :     if (!SWIG_IsOK(res1)) {
   32764           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_loadMapContext" "', argument " "1"" of type '" "struct mapObj *""'"); 
   32765             :     }
   32766           0 :     arg1 = (struct mapObj *)(argp1);
   32767           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   32768           0 :     if (!SWIG_IsOK(res2)) {
   32769           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_loadMapContext" "', argument " "2"" of type '" "char *""'");
   32770             :     }
   32771           0 :     arg2 = (char *)(buf2);
   32772           0 :     if (items > 2) {
   32773           0 :       ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
   32774           0 :       if (!SWIG_IsOK(ecode3)) {
   32775           0 :         SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "mapObj_loadMapContext" "', argument " "3"" of type '" "int""'");
   32776             :       } 
   32777           0 :       arg3 = (int)(val3);
   32778             :     }
   32779             :     result = (int)mapObj_loadMapContext(arg1,arg2,arg3);
   32780           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   32781             :     
   32782           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   32783             :     
   32784           0 :     XSRETURN(argvi);
   32785             :   fail:
   32786             :     
   32787           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   32788             :     
   32789           0 :     SWIG_croak_null();
   32790             :   }
   32791             : }
   32792             : 
   32793             : 
   32794           0 : XS(_wrap_mapObj_moveLayerUp) {
   32795             :   {
   32796             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   32797             :     int arg2 ;
   32798           0 :     void *argp1 = 0 ;
   32799             :     int res1 = 0 ;
   32800             :     int val2 ;
   32801             :     int ecode2 = 0 ;
   32802             :     int argvi = 0;
   32803             :     int result;
   32804           0 :     dXSARGS;
   32805             :     
   32806           0 :     if ((items < 2) || (items > 2)) {
   32807           0 :       SWIG_croak("Usage: mapObj_moveLayerUp(self,layerindex);");
   32808             :     }
   32809           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   32810           0 :     if (!SWIG_IsOK(res1)) {
   32811           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_moveLayerUp" "', argument " "1"" of type '" "struct mapObj *""'"); 
   32812             :     }
   32813           0 :     arg1 = (struct mapObj *)(argp1);
   32814           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   32815           0 :     if (!SWIG_IsOK(ecode2)) {
   32816           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_moveLayerUp" "', argument " "2"" of type '" "int""'");
   32817             :     } 
   32818           0 :     arg2 = (int)(val2);
   32819             :     result = (int)mapObj_moveLayerUp(arg1,arg2);
   32820           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   32821             :     
   32822             :     
   32823           0 :     XSRETURN(argvi);
   32824             :   fail:
   32825             :     
   32826             :     
   32827           0 :     SWIG_croak_null();
   32828             :   }
   32829             : }
   32830             : 
   32831             : 
   32832           0 : XS(_wrap_mapObj_moveLayerDown) {
   32833             :   {
   32834             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   32835             :     int arg2 ;
   32836           0 :     void *argp1 = 0 ;
   32837             :     int res1 = 0 ;
   32838             :     int val2 ;
   32839             :     int ecode2 = 0 ;
   32840             :     int argvi = 0;
   32841             :     int result;
   32842           0 :     dXSARGS;
   32843             :     
   32844           0 :     if ((items < 2) || (items > 2)) {
   32845           0 :       SWIG_croak("Usage: mapObj_moveLayerDown(self,layerindex);");
   32846             :     }
   32847           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   32848           0 :     if (!SWIG_IsOK(res1)) {
   32849           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_moveLayerDown" "', argument " "1"" of type '" "struct mapObj *""'"); 
   32850             :     }
   32851           0 :     arg1 = (struct mapObj *)(argp1);
   32852           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   32853           0 :     if (!SWIG_IsOK(ecode2)) {
   32854           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_moveLayerDown" "', argument " "2"" of type '" "int""'");
   32855             :     } 
   32856           0 :     arg2 = (int)(val2);
   32857             :     result = (int)mapObj_moveLayerDown(arg1,arg2);
   32858           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   32859             :     
   32860             :     
   32861           0 :     XSRETURN(argvi);
   32862             :   fail:
   32863             :     
   32864             :     
   32865           0 :     SWIG_croak_null();
   32866             :   }
   32867             : }
   32868             : 
   32869             : 
   32870           0 : XS(_wrap_mapObj_getLayersDrawingOrder) {
   32871             :   {
   32872             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   32873           0 :     void *argp1 = 0 ;
   32874             :     int res1 = 0 ;
   32875             :     int argvi = 0;
   32876             :     intarray *result = 0 ;
   32877           0 :     dXSARGS;
   32878             :     
   32879           0 :     if ((items < 1) || (items > 1)) {
   32880           0 :       SWIG_croak("Usage: mapObj_getLayersDrawingOrder(self);");
   32881             :     }
   32882           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   32883           0 :     if (!SWIG_IsOK(res1)) {
   32884           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_getLayersDrawingOrder" "', argument " "1"" of type '" "struct mapObj *""'"); 
   32885             :     }
   32886           0 :     arg1 = (struct mapObj *)(argp1);
   32887           0 :     result = (intarray *)mapObj_getLayersDrawingOrder(arg1);
   32888           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_intarray, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   32889             :     
   32890           0 :     XSRETURN(argvi);
   32891             :   fail:
   32892             :     
   32893           0 :     SWIG_croak_null();
   32894             :   }
   32895             : }
   32896             : 
   32897             : 
   32898           0 : XS(_wrap_mapObj_setLayersDrawingOrder) {
   32899             :   {
   32900             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   32901             :     int *arg2 = (int *) 0 ;
   32902           0 :     void *argp1 = 0 ;
   32903             :     int res1 = 0 ;
   32904           0 :     void *argp2 = 0 ;
   32905             :     int res2 = 0 ;
   32906             :     int argvi = 0;
   32907             :     int result;
   32908           0 :     dXSARGS;
   32909             :     
   32910           0 :     if ((items < 2) || (items > 2)) {
   32911           0 :       SWIG_croak("Usage: mapObj_setLayersDrawingOrder(self,panIndexes);");
   32912             :     }
   32913           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   32914           0 :     if (!SWIG_IsOK(res1)) {
   32915           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_setLayersDrawingOrder" "', argument " "1"" of type '" "struct mapObj *""'"); 
   32916             :     }
   32917           0 :     arg1 = (struct mapObj *)(argp1);
   32918           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_int, 0 |  0 );
   32919           0 :     if (!SWIG_IsOK(res2)) {
   32920           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_setLayersDrawingOrder" "', argument " "2"" of type '" "int *""'"); 
   32921             :     }
   32922           0 :     arg2 = (int *)(argp2);
   32923             :     result = (int)mapObj_setLayersDrawingOrder(arg1,arg2);
   32924           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   32925             :     
   32926             :     
   32927           0 :     XSRETURN(argvi);
   32928             :   fail:
   32929             :     
   32930             :     
   32931           0 :     SWIG_croak_null();
   32932             :   }
   32933             : }
   32934             : 
   32935             : 
   32936           0 : XS(_wrap_mapObj_setConfigOption) {
   32937             :   {
   32938             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   32939             :     char *arg2 = (char *) 0 ;
   32940             :     char *arg3 = (char *) 0 ;
   32941           0 :     void *argp1 = 0 ;
   32942             :     int res1 = 0 ;
   32943             :     int res2 ;
   32944           0 :     char *buf2 = 0 ;
   32945           0 :     int alloc2 = 0 ;
   32946             :     int res3 ;
   32947           0 :     char *buf3 = 0 ;
   32948           0 :     int alloc3 = 0 ;
   32949             :     int argvi = 0;
   32950           0 :     dXSARGS;
   32951             :     
   32952           0 :     if ((items < 3) || (items > 3)) {
   32953           0 :       SWIG_croak("Usage: mapObj_setConfigOption(self,key,value);");
   32954             :     }
   32955           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   32956           0 :     if (!SWIG_IsOK(res1)) {
   32957           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_setConfigOption" "', argument " "1"" of type '" "struct mapObj *""'"); 
   32958             :     }
   32959           0 :     arg1 = (struct mapObj *)(argp1);
   32960           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   32961           0 :     if (!SWIG_IsOK(res2)) {
   32962           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_setConfigOption" "', argument " "2"" of type '" "char *""'");
   32963             :     }
   32964           0 :     arg2 = (char *)(buf2);
   32965           0 :     res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
   32966           0 :     if (!SWIG_IsOK(res3)) {
   32967           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "mapObj_setConfigOption" "', argument " "3"" of type '" "char *""'");
   32968             :     }
   32969           0 :     arg3 = (char *)(buf3);
   32970             :     mapObj_setConfigOption(arg1,arg2,arg3);
   32971           0 :     ST(argvi) = sv_newmortal();
   32972             :     
   32973           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   32974           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   32975           0 :     XSRETURN(argvi);
   32976             :   fail:
   32977             :     
   32978           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   32979           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   32980           0 :     SWIG_croak_null();
   32981             :   }
   32982             : }
   32983             : 
   32984             : 
   32985           0 : XS(_wrap_mapObj_getConfigOption) {
   32986             :   {
   32987             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   32988             :     char *arg2 = (char *) 0 ;
   32989           0 :     void *argp1 = 0 ;
   32990             :     int res1 = 0 ;
   32991             :     int res2 ;
   32992           0 :     char *buf2 = 0 ;
   32993           0 :     int alloc2 = 0 ;
   32994             :     int argvi = 0;
   32995             :     char *result = 0 ;
   32996           0 :     dXSARGS;
   32997             :     
   32998           0 :     if ((items < 2) || (items > 2)) {
   32999           0 :       SWIG_croak("Usage: mapObj_getConfigOption(self,key);");
   33000             :     }
   33001           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   33002           0 :     if (!SWIG_IsOK(res1)) {
   33003           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_getConfigOption" "', argument " "1"" of type '" "struct mapObj *""'"); 
   33004             :     }
   33005           0 :     arg1 = (struct mapObj *)(argp1);
   33006           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   33007           0 :     if (!SWIG_IsOK(res2)) {
   33008           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_getConfigOption" "', argument " "2"" of type '" "char *""'");
   33009             :     }
   33010           0 :     arg2 = (char *)(buf2);
   33011             :     result = (char *)mapObj_getConfigOption(arg1,arg2);
   33012           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   33013             :     
   33014           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   33015           0 :     XSRETURN(argvi);
   33016             :   fail:
   33017             :     
   33018           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   33019           0 :     SWIG_croak_null();
   33020             :   }
   33021             : }
   33022             : 
   33023             : 
   33024           0 : XS(_wrap_mapObj_applyConfigOptions) {
   33025             :   {
   33026             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   33027           0 :     void *argp1 = 0 ;
   33028             :     int res1 = 0 ;
   33029             :     int argvi = 0;
   33030           0 :     dXSARGS;
   33031             :     
   33032           0 :     if ((items < 1) || (items > 1)) {
   33033           0 :       SWIG_croak("Usage: mapObj_applyConfigOptions(self);");
   33034             :     }
   33035           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   33036           0 :     if (!SWIG_IsOK(res1)) {
   33037           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_applyConfigOptions" "', argument " "1"" of type '" "struct mapObj *""'"); 
   33038             :     }
   33039           0 :     arg1 = (struct mapObj *)(argp1);
   33040             :     mapObj_applyConfigOptions(arg1);
   33041           0 :     ST(argvi) = sv_newmortal();
   33042             :     
   33043           0 :     XSRETURN(argvi);
   33044             :   fail:
   33045             :     
   33046           0 :     SWIG_croak_null();
   33047             :   }
   33048             : }
   33049             : 
   33050             : 
   33051           0 : XS(_wrap_mapObj_applySLD) {
   33052             :   {
   33053             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   33054             :     char *arg2 = (char *) 0 ;
   33055           0 :     void *argp1 = 0 ;
   33056             :     int res1 = 0 ;
   33057             :     int res2 ;
   33058           0 :     char *buf2 = 0 ;
   33059           0 :     int alloc2 = 0 ;
   33060             :     int argvi = 0;
   33061             :     int result;
   33062           0 :     dXSARGS;
   33063             :     
   33064           0 :     if ((items < 2) || (items > 2)) {
   33065           0 :       SWIG_croak("Usage: mapObj_applySLD(self,sld);");
   33066             :     }
   33067           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   33068           0 :     if (!SWIG_IsOK(res1)) {
   33069           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_applySLD" "', argument " "1"" of type '" "struct mapObj *""'"); 
   33070             :     }
   33071           0 :     arg1 = (struct mapObj *)(argp1);
   33072           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   33073           0 :     if (!SWIG_IsOK(res2)) {
   33074           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_applySLD" "', argument " "2"" of type '" "char *""'");
   33075             :     }
   33076           0 :     arg2 = (char *)(buf2);
   33077             :     result = (int)mapObj_applySLD(arg1,arg2);
   33078           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   33079             :     
   33080           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   33081           0 :     XSRETURN(argvi);
   33082             :   fail:
   33083             :     
   33084           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   33085           0 :     SWIG_croak_null();
   33086             :   }
   33087             : }
   33088             : 
   33089             : 
   33090           0 : XS(_wrap_mapObj_applySLDURL) {
   33091             :   {
   33092             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   33093             :     char *arg2 = (char *) 0 ;
   33094           0 :     void *argp1 = 0 ;
   33095             :     int res1 = 0 ;
   33096             :     int res2 ;
   33097           0 :     char *buf2 = 0 ;
   33098           0 :     int alloc2 = 0 ;
   33099             :     int argvi = 0;
   33100             :     int result;
   33101           0 :     dXSARGS;
   33102             :     
   33103           0 :     if ((items < 2) || (items > 2)) {
   33104           0 :       SWIG_croak("Usage: mapObj_applySLDURL(self,sld);");
   33105             :     }
   33106           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   33107           0 :     if (!SWIG_IsOK(res1)) {
   33108           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_applySLDURL" "', argument " "1"" of type '" "struct mapObj *""'"); 
   33109             :     }
   33110           0 :     arg1 = (struct mapObj *)(argp1);
   33111           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   33112           0 :     if (!SWIG_IsOK(res2)) {
   33113           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_applySLDURL" "', argument " "2"" of type '" "char *""'");
   33114             :     }
   33115           0 :     arg2 = (char *)(buf2);
   33116             :     result = (int)mapObj_applySLDURL(arg1,arg2);
   33117           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   33118             :     
   33119           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   33120           0 :     XSRETURN(argvi);
   33121             :   fail:
   33122             :     
   33123           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   33124           0 :     SWIG_croak_null();
   33125             :   }
   33126             : }
   33127             : 
   33128             : 
   33129           0 : XS(_wrap_mapObj_generateSLD) {
   33130             :   {
   33131             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   33132           0 :     void *argp1 = 0 ;
   33133             :     int res1 = 0 ;
   33134             :     int argvi = 0;
   33135             :     char *result = 0 ;
   33136           0 :     dXSARGS;
   33137             :     
   33138           0 :     if ((items < 1) || (items > 1)) {
   33139           0 :       SWIG_croak("Usage: mapObj_generateSLD(self);");
   33140             :     }
   33141           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   33142           0 :     if (!SWIG_IsOK(res1)) {
   33143           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_generateSLD" "', argument " "1"" of type '" "struct mapObj *""'"); 
   33144             :     }
   33145           0 :     arg1 = (struct mapObj *)(argp1);
   33146             :     result = (char *)mapObj_generateSLD(arg1);
   33147           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   33148             :     
   33149           0 :     free((char*)result);
   33150           0 :     XSRETURN(argvi);
   33151             :   fail:
   33152             :     
   33153           0 :     SWIG_croak_null();
   33154             :   }
   33155             : }
   33156             : 
   33157             : 
   33158           0 : XS(_wrap_mapObj_processTemplate) {
   33159             :   {
   33160             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   33161             :     int arg2 ;
   33162             :     char **arg3 = (char **) 0 ;
   33163             :     char **arg4 = (char **) 0 ;
   33164             :     int arg5 ;
   33165           0 :     void *argp1 = 0 ;
   33166             :     int res1 = 0 ;
   33167             :     int val2 ;
   33168             :     int ecode2 = 0 ;
   33169           0 :     void *argp3 = 0 ;
   33170             :     int res3 = 0 ;
   33171           0 :     void *argp4 = 0 ;
   33172             :     int res4 = 0 ;
   33173             :     int val5 ;
   33174             :     int ecode5 = 0 ;
   33175             :     int argvi = 0;
   33176             :     char *result = 0 ;
   33177           0 :     dXSARGS;
   33178             :     
   33179           0 :     if ((items < 5) || (items > 5)) {
   33180           0 :       SWIG_croak("Usage: mapObj_processTemplate(self,bGenerateImages,names,values,numentries);");
   33181             :     }
   33182           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   33183           0 :     if (!SWIG_IsOK(res1)) {
   33184           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_processTemplate" "', argument " "1"" of type '" "struct mapObj *""'"); 
   33185             :     }
   33186           0 :     arg1 = (struct mapObj *)(argp1);
   33187           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   33188           0 :     if (!SWIG_IsOK(ecode2)) {
   33189           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_processTemplate" "', argument " "2"" of type '" "int""'");
   33190             :     } 
   33191           0 :     arg2 = (int)(val2);
   33192           0 :     res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_p_char, 0 |  0 );
   33193           0 :     if (!SWIG_IsOK(res3)) {
   33194           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "mapObj_processTemplate" "', argument " "3"" of type '" "char **""'"); 
   33195             :     }
   33196           0 :     arg3 = (char **)(argp3);
   33197           0 :     res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_p_char, 0 |  0 );
   33198           0 :     if (!SWIG_IsOK(res4)) {
   33199           0 :       SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "mapObj_processTemplate" "', argument " "4"" of type '" "char **""'"); 
   33200             :     }
   33201           0 :     arg4 = (char **)(argp4);
   33202           0 :     ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
   33203           0 :     if (!SWIG_IsOK(ecode5)) {
   33204           0 :       SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "mapObj_processTemplate" "', argument " "5"" of type '" "int""'");
   33205             :     } 
   33206           0 :     arg5 = (int)(val5);
   33207             :     result = (char *)mapObj_processTemplate(arg1,arg2,arg3,arg4,arg5);
   33208           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   33209             :     
   33210             :     
   33211             :     
   33212             :     
   33213             :     
   33214           0 :     free((char*)result);
   33215           0 :     XSRETURN(argvi);
   33216             :   fail:
   33217             :     
   33218             :     
   33219             :     
   33220             :     
   33221             :     
   33222           0 :     SWIG_croak_null();
   33223             :   }
   33224             : }
   33225             : 
   33226             : 
   33227           0 : XS(_wrap_mapObj_processLegendTemplate) {
   33228             :   {
   33229             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   33230             :     char **arg2 = (char **) 0 ;
   33231             :     char **arg3 = (char **) 0 ;
   33232             :     int arg4 ;
   33233           0 :     void *argp1 = 0 ;
   33234             :     int res1 = 0 ;
   33235           0 :     void *argp2 = 0 ;
   33236             :     int res2 = 0 ;
   33237           0 :     void *argp3 = 0 ;
   33238             :     int res3 = 0 ;
   33239             :     int val4 ;
   33240             :     int ecode4 = 0 ;
   33241             :     int argvi = 0;
   33242             :     char *result = 0 ;
   33243           0 :     dXSARGS;
   33244             :     
   33245           0 :     if ((items < 4) || (items > 4)) {
   33246           0 :       SWIG_croak("Usage: mapObj_processLegendTemplate(self,names,values,numentries);");
   33247             :     }
   33248           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   33249           0 :     if (!SWIG_IsOK(res1)) {
   33250           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_processLegendTemplate" "', argument " "1"" of type '" "struct mapObj *""'"); 
   33251             :     }
   33252           0 :     arg1 = (struct mapObj *)(argp1);
   33253           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_p_char, 0 |  0 );
   33254           0 :     if (!SWIG_IsOK(res2)) {
   33255           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_processLegendTemplate" "', argument " "2"" of type '" "char **""'"); 
   33256             :     }
   33257           0 :     arg2 = (char **)(argp2);
   33258           0 :     res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_p_char, 0 |  0 );
   33259           0 :     if (!SWIG_IsOK(res3)) {
   33260           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "mapObj_processLegendTemplate" "', argument " "3"" of type '" "char **""'"); 
   33261             :     }
   33262           0 :     arg3 = (char **)(argp3);
   33263           0 :     ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
   33264           0 :     if (!SWIG_IsOK(ecode4)) {
   33265           0 :       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "mapObj_processLegendTemplate" "', argument " "4"" of type '" "int""'");
   33266             :     } 
   33267           0 :     arg4 = (int)(val4);
   33268             :     result = (char *)mapObj_processLegendTemplate(arg1,arg2,arg3,arg4);
   33269           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   33270             :     
   33271             :     
   33272             :     
   33273             :     
   33274           0 :     free((char*)result);
   33275           0 :     XSRETURN(argvi);
   33276             :   fail:
   33277             :     
   33278             :     
   33279             :     
   33280             :     
   33281           0 :     SWIG_croak_null();
   33282             :   }
   33283             : }
   33284             : 
   33285             : 
   33286           0 : XS(_wrap_mapObj_processQueryTemplate) {
   33287             :   {
   33288             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   33289             :     char **arg2 = (char **) 0 ;
   33290             :     char **arg3 = (char **) 0 ;
   33291             :     int arg4 ;
   33292           0 :     void *argp1 = 0 ;
   33293             :     int res1 = 0 ;
   33294           0 :     void *argp2 = 0 ;
   33295             :     int res2 = 0 ;
   33296           0 :     void *argp3 = 0 ;
   33297             :     int res3 = 0 ;
   33298             :     int val4 ;
   33299             :     int ecode4 = 0 ;
   33300             :     int argvi = 0;
   33301             :     char *result = 0 ;
   33302           0 :     dXSARGS;
   33303             :     
   33304           0 :     if ((items < 4) || (items > 4)) {
   33305           0 :       SWIG_croak("Usage: mapObj_processQueryTemplate(self,names,values,numentries);");
   33306             :     }
   33307           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   33308           0 :     if (!SWIG_IsOK(res1)) {
   33309           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_processQueryTemplate" "', argument " "1"" of type '" "struct mapObj *""'"); 
   33310             :     }
   33311           0 :     arg1 = (struct mapObj *)(argp1);
   33312           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_p_char, 0 |  0 );
   33313           0 :     if (!SWIG_IsOK(res2)) {
   33314           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_processQueryTemplate" "', argument " "2"" of type '" "char **""'"); 
   33315             :     }
   33316           0 :     arg2 = (char **)(argp2);
   33317           0 :     res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_p_char, 0 |  0 );
   33318           0 :     if (!SWIG_IsOK(res3)) {
   33319           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "mapObj_processQueryTemplate" "', argument " "3"" of type '" "char **""'"); 
   33320             :     }
   33321           0 :     arg3 = (char **)(argp3);
   33322           0 :     ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
   33323           0 :     if (!SWIG_IsOK(ecode4)) {
   33324           0 :       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "mapObj_processQueryTemplate" "', argument " "4"" of type '" "int""'");
   33325             :     } 
   33326           0 :     arg4 = (int)(val4);
   33327             :     result = (char *)mapObj_processQueryTemplate(arg1,arg2,arg3,arg4);
   33328           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   33329             :     
   33330             :     
   33331             :     
   33332             :     
   33333           0 :     free((char*)result);
   33334           0 :     XSRETURN(argvi);
   33335             :   fail:
   33336             :     
   33337             :     
   33338             :     
   33339             :     
   33340           0 :     SWIG_croak_null();
   33341             :   }
   33342             : }
   33343             : 
   33344             : 
   33345           0 : XS(_wrap_mapObj_getOutputFormatByName) {
   33346             :   {
   33347             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   33348             :     char *arg2 = (char *) 0 ;
   33349           0 :     void *argp1 = 0 ;
   33350             :     int res1 = 0 ;
   33351             :     int res2 ;
   33352           0 :     char *buf2 = 0 ;
   33353           0 :     int alloc2 = 0 ;
   33354             :     int argvi = 0;
   33355             :     outputFormatObj *result = 0 ;
   33356           0 :     dXSARGS;
   33357             :     
   33358           0 :     if ((items < 2) || (items > 2)) {
   33359           0 :       SWIG_croak("Usage: mapObj_getOutputFormatByName(self,name);");
   33360             :     }
   33361           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   33362           0 :     if (!SWIG_IsOK(res1)) {
   33363           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_getOutputFormatByName" "', argument " "1"" of type '" "struct mapObj *""'"); 
   33364             :     }
   33365           0 :     arg1 = (struct mapObj *)(argp1);
   33366           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   33367           0 :     if (!SWIG_IsOK(res2)) {
   33368           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_getOutputFormatByName" "', argument " "2"" of type '" "char *""'");
   33369             :     }
   33370           0 :     arg2 = (char *)(buf2);
   33371             :     result = (outputFormatObj *)mapObj_getOutputFormatByName(arg1,arg2);
   33372           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_outputFormatObj, 0 | SWIG_SHADOW); argvi++ ;
   33373             :     
   33374           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   33375           0 :     XSRETURN(argvi);
   33376             :   fail:
   33377             :     
   33378           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   33379           0 :     SWIG_croak_null();
   33380             :   }
   33381             : }
   33382             : 
   33383             : 
   33384           0 : XS(_wrap_mapObj_appendOutputFormat) {
   33385             :   {
   33386             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   33387             :     outputFormatObj *arg2 = (outputFormatObj *) 0 ;
   33388           0 :     void *argp1 = 0 ;
   33389             :     int res1 = 0 ;
   33390           0 :     void *argp2 = 0 ;
   33391             :     int res2 = 0 ;
   33392             :     int argvi = 0;
   33393             :     int result;
   33394           0 :     dXSARGS;
   33395             :     
   33396           0 :     if ((items < 2) || (items > 2)) {
   33397           0 :       SWIG_croak("Usage: mapObj_appendOutputFormat(self,format);");
   33398             :     }
   33399           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   33400           0 :     if (!SWIG_IsOK(res1)) {
   33401           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_appendOutputFormat" "', argument " "1"" of type '" "struct mapObj *""'"); 
   33402             :     }
   33403           0 :     arg1 = (struct mapObj *)(argp1);
   33404           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_outputFormatObj, 0 |  0 );
   33405           0 :     if (!SWIG_IsOK(res2)) {
   33406           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_appendOutputFormat" "', argument " "2"" of type '" "outputFormatObj *""'"); 
   33407             :     }
   33408           0 :     arg2 = (outputFormatObj *)(argp2);
   33409             :     result = (int)mapObj_appendOutputFormat(arg1,arg2);
   33410           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   33411             :     
   33412             :     
   33413           0 :     XSRETURN(argvi);
   33414             :   fail:
   33415             :     
   33416             :     
   33417           0 :     SWIG_croak_null();
   33418             :   }
   33419             : }
   33420             : 
   33421             : 
   33422           0 : XS(_wrap_mapObj_removeOutputFormat) {
   33423             :   {
   33424             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   33425             :     char *arg2 = (char *) 0 ;
   33426           0 :     void *argp1 = 0 ;
   33427             :     int res1 = 0 ;
   33428             :     int res2 ;
   33429           0 :     char *buf2 = 0 ;
   33430           0 :     int alloc2 = 0 ;
   33431             :     int argvi = 0;
   33432             :     int result;
   33433           0 :     dXSARGS;
   33434             :     
   33435           0 :     if ((items < 2) || (items > 2)) {
   33436           0 :       SWIG_croak("Usage: mapObj_removeOutputFormat(self,name);");
   33437             :     }
   33438           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   33439           0 :     if (!SWIG_IsOK(res1)) {
   33440           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_removeOutputFormat" "', argument " "1"" of type '" "struct mapObj *""'"); 
   33441             :     }
   33442           0 :     arg1 = (struct mapObj *)(argp1);
   33443           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   33444           0 :     if (!SWIG_IsOK(res2)) {
   33445           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_removeOutputFormat" "', argument " "2"" of type '" "char *""'");
   33446             :     }
   33447           0 :     arg2 = (char *)(buf2);
   33448             :     result = (int)mapObj_removeOutputFormat(arg1,arg2);
   33449           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   33450             :     
   33451           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   33452           0 :     XSRETURN(argvi);
   33453             :   fail:
   33454             :     
   33455           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   33456           0 :     SWIG_croak_null();
   33457             :   }
   33458             : }
   33459             : 
   33460             : 
   33461           0 : XS(_wrap_mapObj_loadOWSParameters) {
   33462             :   {
   33463             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   33464             :     cgiRequestObj *arg2 = (cgiRequestObj *) 0 ;
   33465             :     char *arg3 = (char *) "1.1.1" ;
   33466           0 :     void *argp1 = 0 ;
   33467             :     int res1 = 0 ;
   33468           0 :     void *argp2 = 0 ;
   33469             :     int res2 = 0 ;
   33470             :     int res3 ;
   33471           0 :     char *buf3 = 0 ;
   33472           0 :     int alloc3 = 0 ;
   33473             :     int argvi = 0;
   33474             :     int result;
   33475           0 :     dXSARGS;
   33476             :     
   33477           0 :     if ((items < 2) || (items > 3)) {
   33478           0 :       SWIG_croak("Usage: mapObj_loadOWSParameters(self,request,wmtver_string);");
   33479             :     }
   33480           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   33481           0 :     if (!SWIG_IsOK(res1)) {
   33482           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_loadOWSParameters" "', argument " "1"" of type '" "struct mapObj *""'"); 
   33483             :     }
   33484           0 :     arg1 = (struct mapObj *)(argp1);
   33485           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_cgiRequestObj, 0 |  0 );
   33486           0 :     if (!SWIG_IsOK(res2)) {
   33487           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_loadOWSParameters" "', argument " "2"" of type '" "cgiRequestObj *""'"); 
   33488             :     }
   33489           0 :     arg2 = (cgiRequestObj *)(argp2);
   33490           0 :     if (items > 2) {
   33491           0 :       res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
   33492           0 :       if (!SWIG_IsOK(res3)) {
   33493           0 :         SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "mapObj_loadOWSParameters" "', argument " "3"" of type '" "char *""'");
   33494             :       }
   33495           0 :       arg3 = (char *)(buf3);
   33496             :     }
   33497             :     result = (int)mapObj_loadOWSParameters(arg1,arg2,arg3);
   33498           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   33499             :     
   33500             :     
   33501           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   33502           0 :     XSRETURN(argvi);
   33503             :   fail:
   33504             :     
   33505             :     
   33506           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   33507           0 :     SWIG_croak_null();
   33508             :   }
   33509             : }
   33510             : 
   33511             : 
   33512           1 : XS(_wrap_mapObj_OWSDispatch) {
   33513             :   {
   33514             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   33515             :     cgiRequestObj *arg2 = (cgiRequestObj *) 0 ;
   33516           1 :     void *argp1 = 0 ;
   33517             :     int res1 = 0 ;
   33518           1 :     void *argp2 = 0 ;
   33519             :     int res2 = 0 ;
   33520             :     int argvi = 0;
   33521             :     int result;
   33522           1 :     dXSARGS;
   33523             :     
   33524           1 :     if ((items < 2) || (items > 2)) {
   33525           0 :       SWIG_croak("Usage: mapObj_OWSDispatch(self,req);");
   33526             :     }
   33527           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   33528           1 :     if (!SWIG_IsOK(res1)) {
   33529           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_OWSDispatch" "', argument " "1"" of type '" "struct mapObj *""'"); 
   33530             :     }
   33531           1 :     arg1 = (struct mapObj *)(argp1);
   33532           1 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_cgiRequestObj, 0 |  0 );
   33533           1 :     if (!SWIG_IsOK(res2)) {
   33534           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_OWSDispatch" "', argument " "2"" of type '" "cgiRequestObj *""'"); 
   33535             :     }
   33536           1 :     arg2 = (cgiRequestObj *)(argp2);
   33537             :     result = (int)mapObj_OWSDispatch(arg1,arg2);
   33538           1 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   33539             :     
   33540             :     
   33541           1 :     XSRETURN(argvi);
   33542             :   fail:
   33543             :     
   33544             :     
   33545           0 :     SWIG_croak_null();
   33546             :   }
   33547             : }
   33548             : 
   33549             : 
   33550           0 : XS(_wrap_mapObj_convertToString) {
   33551             :   {
   33552             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   33553           0 :     void *argp1 = 0 ;
   33554             :     int res1 = 0 ;
   33555             :     int argvi = 0;
   33556             :     char *result = 0 ;
   33557           0 :     dXSARGS;
   33558             :     
   33559           0 :     if ((items < 1) || (items > 1)) {
   33560           0 :       SWIG_croak("Usage: mapObj_convertToString(self);");
   33561             :     }
   33562           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   33563           0 :     if (!SWIG_IsOK(res1)) {
   33564           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_convertToString" "', argument " "1"" of type '" "struct mapObj *""'"); 
   33565             :     }
   33566           0 :     arg1 = (struct mapObj *)(argp1);
   33567             :     result = (char *)mapObj_convertToString(arg1);
   33568           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   33569             :     
   33570           0 :     free((char*)result);
   33571           0 :     XSRETURN(argvi);
   33572             :   fail:
   33573             :     
   33574           0 :     SWIG_croak_null();
   33575             :   }
   33576             : }
   33577             : 
   33578             : 
   33579           0 : XS(_wrap_mapObj_zoomPoint) {
   33580             :   {
   33581             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   33582             :     int arg2 ;
   33583             :     pointObj *arg3 = (pointObj *) 0 ;
   33584             :     int arg4 ;
   33585             :     int arg5 ;
   33586             :     rectObj *arg6 = (rectObj *) 0 ;
   33587             :     rectObj *arg7 = (rectObj *) 0 ;
   33588           0 :     void *argp1 = 0 ;
   33589             :     int res1 = 0 ;
   33590             :     int val2 ;
   33591             :     int ecode2 = 0 ;
   33592           0 :     void *argp3 = 0 ;
   33593             :     int res3 = 0 ;
   33594             :     int val4 ;
   33595             :     int ecode4 = 0 ;
   33596             :     int val5 ;
   33597             :     int ecode5 = 0 ;
   33598           0 :     void *argp6 = 0 ;
   33599             :     int res6 = 0 ;
   33600           0 :     void *argp7 = 0 ;
   33601             :     int res7 = 0 ;
   33602             :     int argvi = 0;
   33603             :     int result;
   33604           0 :     dXSARGS;
   33605             :     
   33606           0 :     if ((items < 7) || (items > 7)) {
   33607           0 :       SWIG_croak("Usage: mapObj_zoomPoint(self,zoomfactor,poPixPos,width,height,poGeorefExt,poMaxGeorefExt);");
   33608             :     }
   33609           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   33610           0 :     if (!SWIG_IsOK(res1)) {
   33611           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_zoomPoint" "', argument " "1"" of type '" "struct mapObj *""'"); 
   33612             :     }
   33613           0 :     arg1 = (struct mapObj *)(argp1);
   33614           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   33615           0 :     if (!SWIG_IsOK(ecode2)) {
   33616           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_zoomPoint" "', argument " "2"" of type '" "int""'");
   33617             :     } 
   33618           0 :     arg2 = (int)(val2);
   33619           0 :     res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_pointObj, 0 |  0 );
   33620           0 :     if (!SWIG_IsOK(res3)) {
   33621           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "mapObj_zoomPoint" "', argument " "3"" of type '" "pointObj *""'"); 
   33622             :     }
   33623           0 :     arg3 = (pointObj *)(argp3);
   33624           0 :     ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
   33625           0 :     if (!SWIG_IsOK(ecode4)) {
   33626           0 :       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "mapObj_zoomPoint" "', argument " "4"" of type '" "int""'");
   33627             :     } 
   33628           0 :     arg4 = (int)(val4);
   33629           0 :     ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
   33630           0 :     if (!SWIG_IsOK(ecode5)) {
   33631           0 :       SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "mapObj_zoomPoint" "', argument " "5"" of type '" "int""'");
   33632             :     } 
   33633           0 :     arg5 = (int)(val5);
   33634           0 :     res6 = SWIG_ConvertPtr(ST(5), &argp6,SWIGTYPE_p_rectObj, 0 |  0 );
   33635           0 :     if (!SWIG_IsOK(res6)) {
   33636           0 :       SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "mapObj_zoomPoint" "', argument " "6"" of type '" "rectObj *""'"); 
   33637             :     }
   33638           0 :     arg6 = (rectObj *)(argp6);
   33639           0 :     res7 = SWIG_ConvertPtr(ST(6), &argp7,SWIGTYPE_p_rectObj, 0 |  0 );
   33640           0 :     if (!SWIG_IsOK(res7)) {
   33641           0 :       SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "mapObj_zoomPoint" "', argument " "7"" of type '" "rectObj *""'"); 
   33642             :     }
   33643           0 :     arg7 = (rectObj *)(argp7);
   33644           0 :     result = (int)mapObj_zoomPoint(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
   33645           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   33646             :     
   33647             :     
   33648             :     
   33649             :     
   33650             :     
   33651             :     
   33652             :     
   33653           0 :     XSRETURN(argvi);
   33654             :   fail:
   33655             :     
   33656             :     
   33657             :     
   33658             :     
   33659             :     
   33660             :     
   33661             :     
   33662           0 :     SWIG_croak_null();
   33663             :   }
   33664             : }
   33665             : 
   33666             : 
   33667           0 : XS(_wrap_mapObj_zoomRectangle) {
   33668             :   {
   33669             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   33670             :     rectObj *arg2 = (rectObj *) 0 ;
   33671             :     int arg3 ;
   33672             :     int arg4 ;
   33673             :     rectObj *arg5 = (rectObj *) 0 ;
   33674             :     rectObj *arg6 = (rectObj *) 0 ;
   33675           0 :     void *argp1 = 0 ;
   33676             :     int res1 = 0 ;
   33677           0 :     void *argp2 = 0 ;
   33678             :     int res2 = 0 ;
   33679             :     int val3 ;
   33680             :     int ecode3 = 0 ;
   33681             :     int val4 ;
   33682             :     int ecode4 = 0 ;
   33683           0 :     void *argp5 = 0 ;
   33684             :     int res5 = 0 ;
   33685           0 :     void *argp6 = 0 ;
   33686             :     int res6 = 0 ;
   33687             :     int argvi = 0;
   33688             :     int result;
   33689           0 :     dXSARGS;
   33690             :     
   33691           0 :     if ((items < 6) || (items > 6)) {
   33692           0 :       SWIG_croak("Usage: mapObj_zoomRectangle(self,poPixRect,width,height,poGeorefExt,poMaxGeorefExt);");
   33693             :     }
   33694           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   33695           0 :     if (!SWIG_IsOK(res1)) {
   33696           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_zoomRectangle" "', argument " "1"" of type '" "struct mapObj *""'"); 
   33697             :     }
   33698           0 :     arg1 = (struct mapObj *)(argp1);
   33699           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_rectObj, 0 |  0 );
   33700           0 :     if (!SWIG_IsOK(res2)) {
   33701           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_zoomRectangle" "', argument " "2"" of type '" "rectObj *""'"); 
   33702             :     }
   33703           0 :     arg2 = (rectObj *)(argp2);
   33704           0 :     ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
   33705           0 :     if (!SWIG_IsOK(ecode3)) {
   33706           0 :       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "mapObj_zoomRectangle" "', argument " "3"" of type '" "int""'");
   33707             :     } 
   33708           0 :     arg3 = (int)(val3);
   33709           0 :     ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
   33710           0 :     if (!SWIG_IsOK(ecode4)) {
   33711           0 :       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "mapObj_zoomRectangle" "', argument " "4"" of type '" "int""'");
   33712             :     } 
   33713           0 :     arg4 = (int)(val4);
   33714           0 :     res5 = SWIG_ConvertPtr(ST(4), &argp5,SWIGTYPE_p_rectObj, 0 |  0 );
   33715           0 :     if (!SWIG_IsOK(res5)) {
   33716           0 :       SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "mapObj_zoomRectangle" "', argument " "5"" of type '" "rectObj *""'"); 
   33717             :     }
   33718           0 :     arg5 = (rectObj *)(argp5);
   33719           0 :     res6 = SWIG_ConvertPtr(ST(5), &argp6,SWIGTYPE_p_rectObj, 0 |  0 );
   33720           0 :     if (!SWIG_IsOK(res6)) {
   33721           0 :       SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "mapObj_zoomRectangle" "', argument " "6"" of type '" "rectObj *""'"); 
   33722             :     }
   33723           0 :     arg6 = (rectObj *)(argp6);
   33724           0 :     result = (int)mapObj_zoomRectangle(arg1,arg2,arg3,arg4,arg5,arg6);
   33725           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   33726             :     
   33727             :     
   33728             :     
   33729             :     
   33730             :     
   33731             :     
   33732           0 :     XSRETURN(argvi);
   33733             :   fail:
   33734             :     
   33735             :     
   33736             :     
   33737             :     
   33738             :     
   33739             :     
   33740           0 :     SWIG_croak_null();
   33741             :   }
   33742             : }
   33743             : 
   33744             : 
   33745           0 : XS(_wrap_mapObj_zoomScale) {
   33746             :   {
   33747             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   33748             :     double arg2 ;
   33749             :     pointObj *arg3 = (pointObj *) 0 ;
   33750             :     int arg4 ;
   33751             :     int arg5 ;
   33752             :     rectObj *arg6 = (rectObj *) 0 ;
   33753             :     rectObj *arg7 = (rectObj *) 0 ;
   33754           0 :     void *argp1 = 0 ;
   33755             :     int res1 = 0 ;
   33756             :     double val2 ;
   33757             :     int ecode2 = 0 ;
   33758           0 :     void *argp3 = 0 ;
   33759             :     int res3 = 0 ;
   33760             :     int val4 ;
   33761             :     int ecode4 = 0 ;
   33762             :     int val5 ;
   33763             :     int ecode5 = 0 ;
   33764           0 :     void *argp6 = 0 ;
   33765             :     int res6 = 0 ;
   33766           0 :     void *argp7 = 0 ;
   33767             :     int res7 = 0 ;
   33768             :     int argvi = 0;
   33769             :     int result;
   33770           0 :     dXSARGS;
   33771             :     
   33772           0 :     if ((items < 7) || (items > 7)) {
   33773           0 :       SWIG_croak("Usage: mapObj_zoomScale(self,scale,poPixPos,width,height,poGeorefExt,poMaxGeorefExt);");
   33774             :     }
   33775           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   33776           0 :     if (!SWIG_IsOK(res1)) {
   33777           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_zoomScale" "', argument " "1"" of type '" "struct mapObj *""'"); 
   33778             :     }
   33779           0 :     arg1 = (struct mapObj *)(argp1);
   33780           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   33781           0 :     if (!SWIG_IsOK(ecode2)) {
   33782           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_zoomScale" "', argument " "2"" of type '" "double""'");
   33783             :     } 
   33784           0 :     arg2 = (double)(val2);
   33785           0 :     res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_pointObj, 0 |  0 );
   33786           0 :     if (!SWIG_IsOK(res3)) {
   33787           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "mapObj_zoomScale" "', argument " "3"" of type '" "pointObj *""'"); 
   33788             :     }
   33789           0 :     arg3 = (pointObj *)(argp3);
   33790           0 :     ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
   33791           0 :     if (!SWIG_IsOK(ecode4)) {
   33792           0 :       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "mapObj_zoomScale" "', argument " "4"" of type '" "int""'");
   33793             :     } 
   33794           0 :     arg4 = (int)(val4);
   33795           0 :     ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
   33796           0 :     if (!SWIG_IsOK(ecode5)) {
   33797           0 :       SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "mapObj_zoomScale" "', argument " "5"" of type '" "int""'");
   33798             :     } 
   33799           0 :     arg5 = (int)(val5);
   33800           0 :     res6 = SWIG_ConvertPtr(ST(5), &argp6,SWIGTYPE_p_rectObj, 0 |  0 );
   33801           0 :     if (!SWIG_IsOK(res6)) {
   33802           0 :       SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "mapObj_zoomScale" "', argument " "6"" of type '" "rectObj *""'"); 
   33803             :     }
   33804           0 :     arg6 = (rectObj *)(argp6);
   33805           0 :     res7 = SWIG_ConvertPtr(ST(6), &argp7,SWIGTYPE_p_rectObj, 0 |  0 );
   33806           0 :     if (!SWIG_IsOK(res7)) {
   33807           0 :       SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "mapObj_zoomScale" "', argument " "7"" of type '" "rectObj *""'"); 
   33808             :     }
   33809           0 :     arg7 = (rectObj *)(argp7);
   33810           0 :     result = (int)mapObj_zoomScale(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
   33811           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   33812             :     
   33813             :     
   33814             :     
   33815             :     
   33816             :     
   33817             :     
   33818             :     
   33819           0 :     XSRETURN(argvi);
   33820             :   fail:
   33821             :     
   33822             :     
   33823             :     
   33824             :     
   33825             :     
   33826             :     
   33827             :     
   33828           0 :     SWIG_croak_null();
   33829             :   }
   33830             : }
   33831             : 
   33832             : 
   33833           0 : XS(_wrap_msSaveImage) {
   33834             :   {
   33835             :     mapObj *arg1 = (mapObj *) 0 ;
   33836             :     imageObj *arg2 = (imageObj *) 0 ;
   33837             :     char *arg3 = (char *) 0 ;
   33838           0 :     void *argp1 = 0 ;
   33839             :     int res1 = 0 ;
   33840           0 :     void *argp2 = 0 ;
   33841             :     int res2 = 0 ;
   33842             :     int res3 ;
   33843           0 :     char *buf3 = 0 ;
   33844           0 :     int alloc3 = 0 ;
   33845             :     int argvi = 0;
   33846             :     int result;
   33847           0 :     dXSARGS;
   33848             :     
   33849           0 :     if ((items < 3) || (items > 3)) {
   33850           0 :       SWIG_croak("Usage: msSaveImage(map,img,filename);");
   33851             :     }
   33852           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   33853           0 :     if (!SWIG_IsOK(res1)) {
   33854           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "msSaveImage" "', argument " "1"" of type '" "mapObj *""'"); 
   33855             :     }
   33856           0 :     arg1 = (mapObj *)(argp1);
   33857           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_imageObj, 0 |  0 );
   33858           0 :     if (!SWIG_IsOK(res2)) {
   33859           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "msSaveImage" "', argument " "2"" of type '" "imageObj *""'"); 
   33860             :     }
   33861           0 :     arg2 = (imageObj *)(argp2);
   33862           0 :     res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
   33863           0 :     if (!SWIG_IsOK(res3)) {
   33864           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "msSaveImage" "', argument " "3"" of type '" "char const *""'");
   33865             :     }
   33866           0 :     arg3 = (char *)(buf3);
   33867           0 :     result = (int)msSaveImage(arg1,arg2,(char const *)arg3);
   33868           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   33869             :     
   33870             :     
   33871           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   33872           0 :     XSRETURN(argvi);
   33873             :   fail:
   33874             :     
   33875             :     
   33876           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   33877           0 :     SWIG_croak_null();
   33878             :   }
   33879             : }
   33880             : 
   33881             : 
   33882           0 : XS(_wrap_msFreeImage) {
   33883             :   {
   33884             :     imageObj *arg1 = (imageObj *) 0 ;
   33885           0 :     void *argp1 = 0 ;
   33886             :     int res1 = 0 ;
   33887             :     int argvi = 0;
   33888           0 :     dXSARGS;
   33889             :     
   33890           0 :     if ((items < 1) || (items > 1)) {
   33891           0 :       SWIG_croak("Usage: msFreeImage(img);");
   33892             :     }
   33893           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_imageObj, 0 |  0 );
   33894           0 :     if (!SWIG_IsOK(res1)) {
   33895           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "msFreeImage" "', argument " "1"" of type '" "imageObj *""'"); 
   33896             :     }
   33897           0 :     arg1 = (imageObj *)(argp1);
   33898           0 :     msFreeImage(arg1);
   33899           0 :     ST(argvi) = sv_newmortal();
   33900             :     
   33901           0 :     XSRETURN(argvi);
   33902             :   fail:
   33903             :     
   33904           0 :     SWIG_croak_null();
   33905             :   }
   33906             : }
   33907             : 
   33908             : 
   33909           0 : XS(_wrap_msSetup) {
   33910             :   {
   33911             :     int argvi = 0;
   33912             :     int result;
   33913           0 :     dXSARGS;
   33914             :     
   33915           0 :     if ((items < 0) || (items > 0)) {
   33916           0 :       SWIG_croak("Usage: msSetup();");
   33917             :     }
   33918           0 :     result = (int)msSetup();
   33919           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   33920           0 :     XSRETURN(argvi);
   33921             :   fail:
   33922           0 :     SWIG_croak_null();
   33923             :   }
   33924             : }
   33925             : 
   33926             : 
   33927           0 : XS(_wrap_msCleanup) {
   33928             :   {
   33929             :     int argvi = 0;
   33930           0 :     dXSARGS;
   33931             :     
   33932           0 :     if ((items < 0) || (items > 0)) {
   33933           0 :       SWIG_croak("Usage: msCleanup();");
   33934             :     }
   33935           0 :     msCleanup();
   33936           0 :     ST(argvi) = sv_newmortal();
   33937           0 :     XSRETURN(argvi);
   33938             :   fail:
   33939           0 :     SWIG_croak_null();
   33940             :   }
   33941             : }
   33942             : 
   33943             : 
   33944           0 : XS(_wrap_msLoadMapFromString) {
   33945             :   {
   33946             :     char *arg1 = (char *) 0 ;
   33947             :     char *arg2 = (char *) 0 ;
   33948             :     int res1 ;
   33949           0 :     char *buf1 = 0 ;
   33950           0 :     int alloc1 = 0 ;
   33951             :     int res2 ;
   33952           0 :     char *buf2 = 0 ;
   33953           0 :     int alloc2 = 0 ;
   33954             :     int argvi = 0;
   33955             :     mapObj *result = 0 ;
   33956           0 :     dXSARGS;
   33957             :     
   33958           0 :     if ((items < 2) || (items > 2)) {
   33959           0 :       SWIG_croak("Usage: msLoadMapFromString(buffer,new_mappath);");
   33960             :     }
   33961           0 :     res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
   33962           0 :     if (!SWIG_IsOK(res1)) {
   33963           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "msLoadMapFromString" "', argument " "1"" of type '" "char *""'");
   33964             :     }
   33965           0 :     arg1 = (char *)(buf1);
   33966           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   33967           0 :     if (!SWIG_IsOK(res2)) {
   33968           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "msLoadMapFromString" "', argument " "2"" of type '" "char *""'");
   33969             :     }
   33970           0 :     arg2 = (char *)(buf2);
   33971           0 :     result = (mapObj *)msLoadMapFromString(arg1,arg2);
   33972           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mapObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   33973           0 :     if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
   33974           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   33975           0 :     XSRETURN(argvi);
   33976             :   fail:
   33977           0 :     if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
   33978           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   33979           0 :     SWIG_croak_null();
   33980             :   }
   33981             : }
   33982             : 
   33983             : 
   33984           0 : XS(_wrap_rectObj_minx_set) {
   33985             :   {
   33986             :     rectObj *arg1 = (rectObj *) 0 ;
   33987             :     double arg2 ;
   33988           0 :     void *argp1 = 0 ;
   33989             :     int res1 = 0 ;
   33990             :     double val2 ;
   33991             :     int ecode2 = 0 ;
   33992             :     int argvi = 0;
   33993           0 :     dXSARGS;
   33994             :     
   33995           0 :     if ((items < 2) || (items > 2)) {
   33996           0 :       SWIG_croak("Usage: rectObj_minx_set(self,minx);");
   33997             :     }
   33998           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 |  0 );
   33999           0 :     if (!SWIG_IsOK(res1)) {
   34000           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_minx_set" "', argument " "1"" of type '" "rectObj *""'"); 
   34001             :     }
   34002           0 :     arg1 = (rectObj *)(argp1);
   34003           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   34004           0 :     if (!SWIG_IsOK(ecode2)) {
   34005           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "rectObj_minx_set" "', argument " "2"" of type '" "double""'");
   34006             :     } 
   34007           0 :     arg2 = (double)(val2);
   34008           0 :     if (arg1) (arg1)->minx = arg2;
   34009           0 :     ST(argvi) = sv_newmortal();
   34010             :     
   34011             :     
   34012           0 :     XSRETURN(argvi);
   34013             :   fail:
   34014             :     
   34015             :     
   34016           0 :     SWIG_croak_null();
   34017             :   }
   34018             : }
   34019             : 
   34020             : 
   34021           1 : XS(_wrap_rectObj_minx_get) {
   34022             :   {
   34023             :     rectObj *arg1 = (rectObj *) 0 ;
   34024           1 :     void *argp1 = 0 ;
   34025             :     int res1 = 0 ;
   34026             :     int argvi = 0;
   34027             :     double result;
   34028           1 :     dXSARGS;
   34029             :     
   34030           1 :     if ((items < 1) || (items > 1)) {
   34031           0 :       SWIG_croak("Usage: rectObj_minx_get(self);");
   34032             :     }
   34033           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 |  0 );
   34034           1 :     if (!SWIG_IsOK(res1)) {
   34035           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_minx_get" "', argument " "1"" of type '" "rectObj *""'"); 
   34036             :     }
   34037           1 :     arg1 = (rectObj *)(argp1);
   34038           1 :     result = (double) ((arg1)->minx);
   34039           1 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   34040             :     
   34041           1 :     XSRETURN(argvi);
   34042             :   fail:
   34043             :     
   34044           0 :     SWIG_croak_null();
   34045             :   }
   34046             : }
   34047             : 
   34048             : 
   34049           0 : XS(_wrap_rectObj_miny_set) {
   34050             :   {
   34051             :     rectObj *arg1 = (rectObj *) 0 ;
   34052             :     double arg2 ;
   34053           0 :     void *argp1 = 0 ;
   34054             :     int res1 = 0 ;
   34055             :     double val2 ;
   34056             :     int ecode2 = 0 ;
   34057             :     int argvi = 0;
   34058           0 :     dXSARGS;
   34059             :     
   34060           0 :     if ((items < 2) || (items > 2)) {
   34061           0 :       SWIG_croak("Usage: rectObj_miny_set(self,miny);");
   34062             :     }
   34063           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 |  0 );
   34064           0 :     if (!SWIG_IsOK(res1)) {
   34065           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_miny_set" "', argument " "1"" of type '" "rectObj *""'"); 
   34066             :     }
   34067           0 :     arg1 = (rectObj *)(argp1);
   34068           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   34069           0 :     if (!SWIG_IsOK(ecode2)) {
   34070           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "rectObj_miny_set" "', argument " "2"" of type '" "double""'");
   34071             :     } 
   34072           0 :     arg2 = (double)(val2);
   34073           0 :     if (arg1) (arg1)->miny = arg2;
   34074           0 :     ST(argvi) = sv_newmortal();
   34075             :     
   34076             :     
   34077           0 :     XSRETURN(argvi);
   34078             :   fail:
   34079             :     
   34080             :     
   34081           0 :     SWIG_croak_null();
   34082             :   }
   34083             : }
   34084             : 
   34085             : 
   34086           1 : XS(_wrap_rectObj_miny_get) {
   34087             :   {
   34088             :     rectObj *arg1 = (rectObj *) 0 ;
   34089           1 :     void *argp1 = 0 ;
   34090             :     int res1 = 0 ;
   34091             :     int argvi = 0;
   34092             :     double result;
   34093           1 :     dXSARGS;
   34094             :     
   34095           1 :     if ((items < 1) || (items > 1)) {
   34096           0 :       SWIG_croak("Usage: rectObj_miny_get(self);");
   34097             :     }
   34098           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 |  0 );
   34099           1 :     if (!SWIG_IsOK(res1)) {
   34100           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_miny_get" "', argument " "1"" of type '" "rectObj *""'"); 
   34101             :     }
   34102           1 :     arg1 = (rectObj *)(argp1);
   34103           1 :     result = (double) ((arg1)->miny);
   34104           1 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   34105             :     
   34106           1 :     XSRETURN(argvi);
   34107             :   fail:
   34108             :     
   34109           0 :     SWIG_croak_null();
   34110             :   }
   34111             : }
   34112             : 
   34113             : 
   34114           0 : XS(_wrap_rectObj_maxx_set) {
   34115             :   {
   34116             :     rectObj *arg1 = (rectObj *) 0 ;
   34117             :     double arg2 ;
   34118           0 :     void *argp1 = 0 ;
   34119             :     int res1 = 0 ;
   34120             :     double val2 ;
   34121             :     int ecode2 = 0 ;
   34122             :     int argvi = 0;
   34123           0 :     dXSARGS;
   34124             :     
   34125           0 :     if ((items < 2) || (items > 2)) {
   34126           0 :       SWIG_croak("Usage: rectObj_maxx_set(self,maxx);");
   34127             :     }
   34128           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 |  0 );
   34129           0 :     if (!SWIG_IsOK(res1)) {
   34130           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_maxx_set" "', argument " "1"" of type '" "rectObj *""'"); 
   34131             :     }
   34132           0 :     arg1 = (rectObj *)(argp1);
   34133           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   34134           0 :     if (!SWIG_IsOK(ecode2)) {
   34135           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "rectObj_maxx_set" "', argument " "2"" of type '" "double""'");
   34136             :     } 
   34137           0 :     arg2 = (double)(val2);
   34138           0 :     if (arg1) (arg1)->maxx = arg2;
   34139           0 :     ST(argvi) = sv_newmortal();
   34140             :     
   34141             :     
   34142           0 :     XSRETURN(argvi);
   34143             :   fail:
   34144             :     
   34145             :     
   34146           0 :     SWIG_croak_null();
   34147             :   }
   34148             : }
   34149             : 
   34150             : 
   34151           1 : XS(_wrap_rectObj_maxx_get) {
   34152             :   {
   34153             :     rectObj *arg1 = (rectObj *) 0 ;
   34154           1 :     void *argp1 = 0 ;
   34155             :     int res1 = 0 ;
   34156             :     int argvi = 0;
   34157             :     double result;
   34158           1 :     dXSARGS;
   34159             :     
   34160           1 :     if ((items < 1) || (items > 1)) {
   34161           0 :       SWIG_croak("Usage: rectObj_maxx_get(self);");
   34162             :     }
   34163           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 |  0 );
   34164           1 :     if (!SWIG_IsOK(res1)) {
   34165           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_maxx_get" "', argument " "1"" of type '" "rectObj *""'"); 
   34166             :     }
   34167           1 :     arg1 = (rectObj *)(argp1);
   34168           1 :     result = (double) ((arg1)->maxx);
   34169           1 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   34170             :     
   34171           1 :     XSRETURN(argvi);
   34172             :   fail:
   34173             :     
   34174           0 :     SWIG_croak_null();
   34175             :   }
   34176             : }
   34177             : 
   34178             : 
   34179           0 : XS(_wrap_rectObj_maxy_set) {
   34180             :   {
   34181             :     rectObj *arg1 = (rectObj *) 0 ;
   34182             :     double arg2 ;
   34183           0 :     void *argp1 = 0 ;
   34184             :     int res1 = 0 ;
   34185             :     double val2 ;
   34186             :     int ecode2 = 0 ;
   34187             :     int argvi = 0;
   34188           0 :     dXSARGS;
   34189             :     
   34190           0 :     if ((items < 2) || (items > 2)) {
   34191           0 :       SWIG_croak("Usage: rectObj_maxy_set(self,maxy);");
   34192             :     }
   34193           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 |  0 );
   34194           0 :     if (!SWIG_IsOK(res1)) {
   34195           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_maxy_set" "', argument " "1"" of type '" "rectObj *""'"); 
   34196             :     }
   34197           0 :     arg1 = (rectObj *)(argp1);
   34198           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   34199           0 :     if (!SWIG_IsOK(ecode2)) {
   34200           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "rectObj_maxy_set" "', argument " "2"" of type '" "double""'");
   34201             :     } 
   34202           0 :     arg2 = (double)(val2);
   34203           0 :     if (arg1) (arg1)->maxy = arg2;
   34204           0 :     ST(argvi) = sv_newmortal();
   34205             :     
   34206             :     
   34207           0 :     XSRETURN(argvi);
   34208             :   fail:
   34209             :     
   34210             :     
   34211           0 :     SWIG_croak_null();
   34212             :   }
   34213             : }
   34214             : 
   34215             : 
   34216           1 : XS(_wrap_rectObj_maxy_get) {
   34217             :   {
   34218             :     rectObj *arg1 = (rectObj *) 0 ;
   34219           1 :     void *argp1 = 0 ;
   34220             :     int res1 = 0 ;
   34221             :     int argvi = 0;
   34222             :     double result;
   34223           1 :     dXSARGS;
   34224             :     
   34225           1 :     if ((items < 1) || (items > 1)) {
   34226           0 :       SWIG_croak("Usage: rectObj_maxy_get(self);");
   34227             :     }
   34228           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 |  0 );
   34229           1 :     if (!SWIG_IsOK(res1)) {
   34230           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_maxy_get" "', argument " "1"" of type '" "rectObj *""'"); 
   34231             :     }
   34232           1 :     arg1 = (rectObj *)(argp1);
   34233           1 :     result = (double) ((arg1)->maxy);
   34234           1 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   34235             :     
   34236           1 :     XSRETURN(argvi);
   34237             :   fail:
   34238             :     
   34239           0 :     SWIG_croak_null();
   34240             :   }
   34241             : }
   34242             : 
   34243             : 
   34244           0 : XS(_wrap_new_rectObj) {
   34245             :   {
   34246             :     double arg1 = (double) -1.0 ;
   34247             :     double arg2 = (double) -1.0 ;
   34248             :     double arg3 = (double) -1.0 ;
   34249             :     double arg4 = (double) -1.0 ;
   34250             :     int arg5 = (int) 0 ;
   34251             :     double val1 ;
   34252             :     int ecode1 = 0 ;
   34253             :     double val2 ;
   34254             :     int ecode2 = 0 ;
   34255             :     double val3 ;
   34256             :     int ecode3 = 0 ;
   34257             :     double val4 ;
   34258             :     int ecode4 = 0 ;
   34259             :     int val5 ;
   34260             :     int ecode5 = 0 ;
   34261             :     int argvi = 0;
   34262             :     rectObj *result = 0 ;
   34263           0 :     dXSARGS;
   34264             :     
   34265           0 :     if ((items < 0) || (items > 5)) {
   34266           0 :       SWIG_croak("Usage: new_rectObj(minx,miny,maxx,maxy,imageunits);");
   34267             :     }
   34268           0 :     if (items > 0) {
   34269           0 :       ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
   34270           0 :       if (!SWIG_IsOK(ecode1)) {
   34271           0 :         SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_rectObj" "', argument " "1"" of type '" "double""'");
   34272             :       } 
   34273           0 :       arg1 = (double)(val1);
   34274             :     }
   34275           0 :     if (items > 1) {
   34276           0 :       ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   34277           0 :       if (!SWIG_IsOK(ecode2)) {
   34278           0 :         SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_rectObj" "', argument " "2"" of type '" "double""'");
   34279             :       } 
   34280           0 :       arg2 = (double)(val2);
   34281             :     }
   34282           0 :     if (items > 2) {
   34283           0 :       ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
   34284           0 :       if (!SWIG_IsOK(ecode3)) {
   34285           0 :         SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_rectObj" "', argument " "3"" of type '" "double""'");
   34286             :       } 
   34287           0 :       arg3 = (double)(val3);
   34288             :     }
   34289           0 :     if (items > 3) {
   34290           0 :       ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
   34291           0 :       if (!SWIG_IsOK(ecode4)) {
   34292           0 :         SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_rectObj" "', argument " "4"" of type '" "double""'");
   34293             :       } 
   34294           0 :       arg4 = (double)(val4);
   34295             :     }
   34296           0 :     if (items > 4) {
   34297           0 :       ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
   34298           0 :       if (!SWIG_IsOK(ecode5)) {
   34299           0 :         SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_rectObj" "', argument " "5"" of type '" "int""'");
   34300             :       } 
   34301           0 :       arg5 = (int)(val5);
   34302             :     }
   34303           0 :     result = (rectObj *)new_rectObj(arg1,arg2,arg3,arg4,arg5);
   34304           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_rectObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   34305             :     
   34306             :     
   34307             :     
   34308             :     
   34309             :     
   34310           0 :     XSRETURN(argvi);
   34311             :   fail:
   34312             :     
   34313             :     
   34314             :     
   34315             :     
   34316             :     
   34317           0 :     SWIG_croak_null();
   34318             :   }
   34319             : }
   34320             : 
   34321             : 
   34322           0 : XS(_wrap_delete_rectObj) {
   34323             :   {
   34324             :     rectObj *arg1 = (rectObj *) 0 ;
   34325           0 :     void *argp1 = 0 ;
   34326             :     int res1 = 0 ;
   34327             :     int argvi = 0;
   34328           0 :     dXSARGS;
   34329             :     
   34330           0 :     if ((items < 1) || (items > 1)) {
   34331           0 :       SWIG_croak("Usage: delete_rectObj(self);");
   34332             :     }
   34333           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, SWIG_POINTER_DISOWN |  0 );
   34334           0 :     if (!SWIG_IsOK(res1)) {
   34335           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_rectObj" "', argument " "1"" of type '" "rectObj *""'"); 
   34336             :     }
   34337           0 :     arg1 = (rectObj *)(argp1);
   34338             :     delete_rectObj(arg1);
   34339           0 :     ST(argvi) = sv_newmortal();
   34340             :     
   34341           0 :     XSRETURN(argvi);
   34342             :   fail:
   34343             :     
   34344           0 :     SWIG_croak_null();
   34345             :   }
   34346             : }
   34347             : 
   34348             : 
   34349           0 : XS(_wrap_rectObj_project) {
   34350             :   {
   34351             :     rectObj *arg1 = (rectObj *) 0 ;
   34352             :     projectionObj *arg2 = (projectionObj *) 0 ;
   34353             :     projectionObj *arg3 = (projectionObj *) 0 ;
   34354           0 :     void *argp1 = 0 ;
   34355             :     int res1 = 0 ;
   34356           0 :     void *argp2 = 0 ;
   34357             :     int res2 = 0 ;
   34358           0 :     void *argp3 = 0 ;
   34359             :     int res3 = 0 ;
   34360             :     int argvi = 0;
   34361             :     int result;
   34362           0 :     dXSARGS;
   34363             :     
   34364           0 :     if ((items < 3) || (items > 3)) {
   34365           0 :       SWIG_croak("Usage: rectObj_project(self,projin,projout);");
   34366             :     }
   34367           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 |  0 );
   34368           0 :     if (!SWIG_IsOK(res1)) {
   34369           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_project" "', argument " "1"" of type '" "rectObj *""'"); 
   34370             :     }
   34371           0 :     arg1 = (rectObj *)(argp1);
   34372           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_projectionObj, 0 |  0 );
   34373           0 :     if (!SWIG_IsOK(res2)) {
   34374           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "rectObj_project" "', argument " "2"" of type '" "projectionObj *""'"); 
   34375             :     }
   34376           0 :     arg2 = (projectionObj *)(argp2);
   34377           0 :     res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_projectionObj, 0 |  0 );
   34378           0 :     if (!SWIG_IsOK(res3)) {
   34379           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "rectObj_project" "', argument " "3"" of type '" "projectionObj *""'"); 
   34380             :     }
   34381           0 :     arg3 = (projectionObj *)(argp3);
   34382             :     result = (int)rectObj_project(arg1,arg2,arg3);
   34383           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   34384             :     
   34385             :     
   34386             :     
   34387           0 :     XSRETURN(argvi);
   34388             :   fail:
   34389             :     
   34390             :     
   34391             :     
   34392           0 :     SWIG_croak_null();
   34393             :   }
   34394             : }
   34395             : 
   34396             : 
   34397           0 : XS(_wrap_rectObj_fit) {
   34398             :   {
   34399             :     rectObj *arg1 = (rectObj *) 0 ;
   34400             :     int arg2 ;
   34401             :     int arg3 ;
   34402           0 :     void *argp1 = 0 ;
   34403             :     int res1 = 0 ;
   34404             :     int val2 ;
   34405             :     int ecode2 = 0 ;
   34406             :     int val3 ;
   34407             :     int ecode3 = 0 ;
   34408             :     int argvi = 0;
   34409             :     double result;
   34410           0 :     dXSARGS;
   34411             :     
   34412           0 :     if ((items < 3) || (items > 3)) {
   34413           0 :       SWIG_croak("Usage: rectObj_fit(self,width,height);");
   34414             :     }
   34415           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 |  0 );
   34416           0 :     if (!SWIG_IsOK(res1)) {
   34417           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_fit" "', argument " "1"" of type '" "rectObj *""'"); 
   34418             :     }
   34419           0 :     arg1 = (rectObj *)(argp1);
   34420           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   34421           0 :     if (!SWIG_IsOK(ecode2)) {
   34422           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "rectObj_fit" "', argument " "2"" of type '" "int""'");
   34423             :     } 
   34424           0 :     arg2 = (int)(val2);
   34425           0 :     ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
   34426           0 :     if (!SWIG_IsOK(ecode3)) {
   34427           0 :       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "rectObj_fit" "', argument " "3"" of type '" "int""'");
   34428             :     } 
   34429           0 :     arg3 = (int)(val3);
   34430             :     result = (double)rectObj_fit(arg1,arg2,arg3);
   34431           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   34432             :     
   34433             :     
   34434             :     
   34435           0 :     XSRETURN(argvi);
   34436             :   fail:
   34437             :     
   34438             :     
   34439             :     
   34440           0 :     SWIG_croak_null();
   34441             :   }
   34442             : }
   34443             : 
   34444             : 
   34445           0 : XS(_wrap_rectObj_draw) {
   34446             :   {
   34447             :     rectObj *arg1 = (rectObj *) 0 ;
   34448             :     mapObj *arg2 = (mapObj *) 0 ;
   34449             :     layerObj *arg3 = (layerObj *) 0 ;
   34450             :     imageObj *arg4 = (imageObj *) 0 ;
   34451             :     int arg5 ;
   34452             :     char *arg6 = (char *) 0 ;
   34453           0 :     void *argp1 = 0 ;
   34454             :     int res1 = 0 ;
   34455           0 :     void *argp2 = 0 ;
   34456             :     int res2 = 0 ;
   34457           0 :     void *argp3 = 0 ;
   34458             :     int res3 = 0 ;
   34459           0 :     void *argp4 = 0 ;
   34460             :     int res4 = 0 ;
   34461             :     int val5 ;
   34462             :     int ecode5 = 0 ;
   34463             :     int res6 ;
   34464           0 :     char *buf6 = 0 ;
   34465           0 :     int alloc6 = 0 ;
   34466             :     int argvi = 0;
   34467             :     int result;
   34468           0 :     dXSARGS;
   34469             :     
   34470           0 :     if ((items < 6) || (items > 6)) {
   34471           0 :       SWIG_croak("Usage: rectObj_draw(self,map,layer,image,classindex,text);");
   34472             :     }
   34473           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 |  0 );
   34474           0 :     if (!SWIG_IsOK(res1)) {
   34475           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_draw" "', argument " "1"" of type '" "rectObj *""'"); 
   34476             :     }
   34477           0 :     arg1 = (rectObj *)(argp1);
   34478           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 |  0 );
   34479           0 :     if (!SWIG_IsOK(res2)) {
   34480           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "rectObj_draw" "', argument " "2"" of type '" "mapObj *""'"); 
   34481             :     }
   34482           0 :     arg2 = (mapObj *)(argp2);
   34483           0 :     res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_layerObj, 0 |  0 );
   34484           0 :     if (!SWIG_IsOK(res3)) {
   34485           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "rectObj_draw" "', argument " "3"" of type '" "layerObj *""'"); 
   34486             :     }
   34487           0 :     arg3 = (layerObj *)(argp3);
   34488           0 :     res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_imageObj, 0 |  0 );
   34489           0 :     if (!SWIG_IsOK(res4)) {
   34490           0 :       SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "rectObj_draw" "', argument " "4"" of type '" "imageObj *""'"); 
   34491             :     }
   34492           0 :     arg4 = (imageObj *)(argp4);
   34493           0 :     ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
   34494           0 :     if (!SWIG_IsOK(ecode5)) {
   34495           0 :       SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "rectObj_draw" "', argument " "5"" of type '" "int""'");
   34496             :     } 
   34497           0 :     arg5 = (int)(val5);
   34498           0 :     res6 = SWIG_AsCharPtrAndSize(ST(5), &buf6, NULL, &alloc6);
   34499           0 :     if (!SWIG_IsOK(res6)) {
   34500           0 :       SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "rectObj_draw" "', argument " "6"" of type '" "char *""'");
   34501             :     }
   34502           0 :     arg6 = (char *)(buf6);
   34503           0 :     result = (int)rectObj_draw(arg1,arg2,arg3,arg4,arg5,arg6);
   34504           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   34505             :     
   34506             :     
   34507             :     
   34508             :     
   34509             :     
   34510           0 :     if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
   34511           0 :     XSRETURN(argvi);
   34512             :   fail:
   34513             :     
   34514             :     
   34515             :     
   34516             :     
   34517             :     
   34518           0 :     if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
   34519           0 :     SWIG_croak_null();
   34520             :   }
   34521             : }
   34522             : 
   34523             : 
   34524           0 : XS(_wrap_rectObj_getCenter) {
   34525             :   {
   34526             :     rectObj *arg1 = (rectObj *) 0 ;
   34527           0 :     void *argp1 = 0 ;
   34528             :     int res1 = 0 ;
   34529             :     int argvi = 0;
   34530             :     pointObj *result = 0 ;
   34531           0 :     dXSARGS;
   34532             :     
   34533           0 :     if ((items < 1) || (items > 1)) {
   34534           0 :       SWIG_croak("Usage: rectObj_getCenter(self);");
   34535             :     }
   34536           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 |  0 );
   34537           0 :     if (!SWIG_IsOK(res1)) {
   34538           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_getCenter" "', argument " "1"" of type '" "rectObj *""'"); 
   34539             :     }
   34540           0 :     arg1 = (rectObj *)(argp1);
   34541           0 :     result = (pointObj *)rectObj_getCenter(arg1);
   34542           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pointObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   34543             :     
   34544           0 :     XSRETURN(argvi);
   34545             :   fail:
   34546             :     
   34547           0 :     SWIG_croak_null();
   34548             :   }
   34549             : }
   34550             : 
   34551             : 
   34552           0 : XS(_wrap_rectObj_toPolygon) {
   34553             :   {
   34554             :     rectObj *arg1 = (rectObj *) 0 ;
   34555           0 :     void *argp1 = 0 ;
   34556             :     int res1 = 0 ;
   34557             :     int argvi = 0;
   34558             :     shapeObj *result = 0 ;
   34559           0 :     dXSARGS;
   34560             :     
   34561           0 :     if ((items < 1) || (items > 1)) {
   34562           0 :       SWIG_croak("Usage: rectObj_toPolygon(self);");
   34563             :     }
   34564           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 |  0 );
   34565           0 :     if (!SWIG_IsOK(res1)) {
   34566           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_toPolygon" "', argument " "1"" of type '" "rectObj *""'"); 
   34567             :     }
   34568           0 :     arg1 = (rectObj *)(argp1);
   34569           0 :     result = (shapeObj *)rectObj_toPolygon(arg1);
   34570           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   34571             :     
   34572           0 :     XSRETURN(argvi);
   34573             :   fail:
   34574             :     
   34575           0 :     SWIG_croak_null();
   34576             :   }
   34577             : }
   34578             : 
   34579             : 
   34580           0 : XS(_wrap_rectObj_toString) {
   34581             :   {
   34582             :     rectObj *arg1 = (rectObj *) 0 ;
   34583           0 :     void *argp1 = 0 ;
   34584             :     int res1 = 0 ;
   34585             :     int argvi = 0;
   34586             :     char *result = 0 ;
   34587           0 :     dXSARGS;
   34588             :     
   34589           0 :     if ((items < 1) || (items > 1)) {
   34590           0 :       SWIG_croak("Usage: rectObj_toString(self);");
   34591             :     }
   34592           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 |  0 );
   34593           0 :     if (!SWIG_IsOK(res1)) {
   34594           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_toString" "', argument " "1"" of type '" "rectObj *""'"); 
   34595             :     }
   34596           0 :     arg1 = (rectObj *)(argp1);
   34597           0 :     result = (char *)rectObj_toString(arg1);
   34598           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   34599             :     
   34600           0 :     free((char*)result);
   34601           0 :     XSRETURN(argvi);
   34602             :   fail:
   34603             :     
   34604           0 :     SWIG_croak_null();
   34605             :   }
   34606             : }
   34607             : 
   34608             : 
   34609           0 : XS(_wrap_pointObj_x_set) {
   34610             :   {
   34611             :     pointObj *arg1 = (pointObj *) 0 ;
   34612             :     double arg2 ;
   34613           0 :     void *argp1 = 0 ;
   34614             :     int res1 = 0 ;
   34615             :     double val2 ;
   34616             :     int ecode2 = 0 ;
   34617             :     int argvi = 0;
   34618           0 :     dXSARGS;
   34619             :     
   34620           0 :     if ((items < 2) || (items > 2)) {
   34621           0 :       SWIG_croak("Usage: pointObj_x_set(self,x);");
   34622             :     }
   34623           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 |  0 );
   34624           0 :     if (!SWIG_IsOK(res1)) {
   34625           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_x_set" "', argument " "1"" of type '" "pointObj *""'"); 
   34626             :     }
   34627           0 :     arg1 = (pointObj *)(argp1);
   34628           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   34629           0 :     if (!SWIG_IsOK(ecode2)) {
   34630           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pointObj_x_set" "', argument " "2"" of type '" "double""'");
   34631             :     } 
   34632           0 :     arg2 = (double)(val2);
   34633           0 :     if (arg1) (arg1)->x = arg2;
   34634           0 :     ST(argvi) = sv_newmortal();
   34635             :     
   34636             :     
   34637           0 :     XSRETURN(argvi);
   34638             :   fail:
   34639             :     
   34640             :     
   34641           0 :     SWIG_croak_null();
   34642             :   }
   34643             : }
   34644             : 
   34645             : 
   34646           1 : XS(_wrap_pointObj_x_get) {
   34647             :   {
   34648             :     pointObj *arg1 = (pointObj *) 0 ;
   34649           1 :     void *argp1 = 0 ;
   34650             :     int res1 = 0 ;
   34651             :     int argvi = 0;
   34652             :     double result;
   34653           1 :     dXSARGS;
   34654             :     
   34655           1 :     if ((items < 1) || (items > 1)) {
   34656           0 :       SWIG_croak("Usage: pointObj_x_get(self);");
   34657             :     }
   34658           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 |  0 );
   34659           1 :     if (!SWIG_IsOK(res1)) {
   34660           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_x_get" "', argument " "1"" of type '" "pointObj *""'"); 
   34661             :     }
   34662           1 :     arg1 = (pointObj *)(argp1);
   34663           1 :     result = (double) ((arg1)->x);
   34664           1 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   34665             :     
   34666           1 :     XSRETURN(argvi);
   34667             :   fail:
   34668             :     
   34669           0 :     SWIG_croak_null();
   34670             :   }
   34671             : }
   34672             : 
   34673             : 
   34674           0 : XS(_wrap_pointObj_y_set) {
   34675             :   {
   34676             :     pointObj *arg1 = (pointObj *) 0 ;
   34677             :     double arg2 ;
   34678           0 :     void *argp1 = 0 ;
   34679             :     int res1 = 0 ;
   34680             :     double val2 ;
   34681             :     int ecode2 = 0 ;
   34682             :     int argvi = 0;
   34683           0 :     dXSARGS;
   34684             :     
   34685           0 :     if ((items < 2) || (items > 2)) {
   34686           0 :       SWIG_croak("Usage: pointObj_y_set(self,y);");
   34687             :     }
   34688           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 |  0 );
   34689           0 :     if (!SWIG_IsOK(res1)) {
   34690           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_y_set" "', argument " "1"" of type '" "pointObj *""'"); 
   34691             :     }
   34692           0 :     arg1 = (pointObj *)(argp1);
   34693           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   34694           0 :     if (!SWIG_IsOK(ecode2)) {
   34695           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pointObj_y_set" "', argument " "2"" of type '" "double""'");
   34696             :     } 
   34697           0 :     arg2 = (double)(val2);
   34698           0 :     if (arg1) (arg1)->y = arg2;
   34699           0 :     ST(argvi) = sv_newmortal();
   34700             :     
   34701             :     
   34702           0 :     XSRETURN(argvi);
   34703             :   fail:
   34704             :     
   34705             :     
   34706           0 :     SWIG_croak_null();
   34707             :   }
   34708             : }
   34709             : 
   34710             : 
   34711           1 : XS(_wrap_pointObj_y_get) {
   34712             :   {
   34713             :     pointObj *arg1 = (pointObj *) 0 ;
   34714           1 :     void *argp1 = 0 ;
   34715             :     int res1 = 0 ;
   34716             :     int argvi = 0;
   34717             :     double result;
   34718           1 :     dXSARGS;
   34719             :     
   34720           1 :     if ((items < 1) || (items > 1)) {
   34721           0 :       SWIG_croak("Usage: pointObj_y_get(self);");
   34722             :     }
   34723           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 |  0 );
   34724           1 :     if (!SWIG_IsOK(res1)) {
   34725           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_y_get" "', argument " "1"" of type '" "pointObj *""'"); 
   34726             :     }
   34727           1 :     arg1 = (pointObj *)(argp1);
   34728           1 :     result = (double) ((arg1)->y);
   34729           1 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   34730             :     
   34731           1 :     XSRETURN(argvi);
   34732             :   fail:
   34733             :     
   34734           0 :     SWIG_croak_null();
   34735             :   }
   34736             : }
   34737             : 
   34738             : 
   34739           0 : XS(_wrap_new_pointObj) {
   34740             :   {
   34741             :     double arg1 = (double) 0.0 ;
   34742             :     double arg2 = (double) 0.0 ;
   34743             :     double arg3 = (double) 0.0 ;
   34744             :     double arg4 = (double) -2e38 ;
   34745             :     double val1 ;
   34746             :     int ecode1 = 0 ;
   34747             :     double val2 ;
   34748             :     int ecode2 = 0 ;
   34749             :     double val3 ;
   34750             :     int ecode3 = 0 ;
   34751             :     double val4 ;
   34752             :     int ecode4 = 0 ;
   34753             :     int argvi = 0;
   34754             :     pointObj *result = 0 ;
   34755           0 :     dXSARGS;
   34756             :     
   34757           0 :     if ((items < 0) || (items > 4)) {
   34758           0 :       SWIG_croak("Usage: new_pointObj(x,y,z,m);");
   34759             :     }
   34760           0 :     if (items > 0) {
   34761           0 :       ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
   34762           0 :       if (!SWIG_IsOK(ecode1)) {
   34763           0 :         SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_pointObj" "', argument " "1"" of type '" "double""'");
   34764             :       } 
   34765           0 :       arg1 = (double)(val1);
   34766             :     }
   34767           0 :     if (items > 1) {
   34768           0 :       ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   34769           0 :       if (!SWIG_IsOK(ecode2)) {
   34770           0 :         SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_pointObj" "', argument " "2"" of type '" "double""'");
   34771             :       } 
   34772           0 :       arg2 = (double)(val2);
   34773             :     }
   34774           0 :     if (items > 2) {
   34775           0 :       ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
   34776           0 :       if (!SWIG_IsOK(ecode3)) {
   34777           0 :         SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_pointObj" "', argument " "3"" of type '" "double""'");
   34778             :       } 
   34779             :       arg3 = (double)(val3);
   34780             :     }
   34781           0 :     if (items > 3) {
   34782           0 :       ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
   34783           0 :       if (!SWIG_IsOK(ecode4)) {
   34784           0 :         SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_pointObj" "', argument " "4"" of type '" "double""'");
   34785             :       } 
   34786             :       arg4 = (double)(val4);
   34787             :     }
   34788             :     result = (pointObj *)new_pointObj(arg1,arg2,arg3,arg4);
   34789           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pointObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   34790             :     
   34791             :     
   34792             :     
   34793             :     
   34794           0 :     XSRETURN(argvi);
   34795             :   fail:
   34796             :     
   34797             :     
   34798             :     
   34799             :     
   34800           0 :     SWIG_croak_null();
   34801             :   }
   34802             : }
   34803             : 
   34804             : 
   34805           0 : XS(_wrap_delete_pointObj) {
   34806             :   {
   34807             :     pointObj *arg1 = (pointObj *) 0 ;
   34808           0 :     void *argp1 = 0 ;
   34809             :     int res1 = 0 ;
   34810             :     int argvi = 0;
   34811           0 :     dXSARGS;
   34812             :     
   34813           0 :     if ((items < 1) || (items > 1)) {
   34814           0 :       SWIG_croak("Usage: delete_pointObj(self);");
   34815             :     }
   34816           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, SWIG_POINTER_DISOWN |  0 );
   34817           0 :     if (!SWIG_IsOK(res1)) {
   34818           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_pointObj" "', argument " "1"" of type '" "pointObj *""'"); 
   34819             :     }
   34820           0 :     arg1 = (pointObj *)(argp1);
   34821             :     delete_pointObj(arg1);
   34822           0 :     ST(argvi) = sv_newmortal();
   34823             :     
   34824           0 :     XSRETURN(argvi);
   34825             :   fail:
   34826             :     
   34827           0 :     SWIG_croak_null();
   34828             :   }
   34829             : }
   34830             : 
   34831             : 
   34832           0 : XS(_wrap_pointObj_project) {
   34833             :   {
   34834             :     pointObj *arg1 = (pointObj *) 0 ;
   34835             :     projectionObj *arg2 = (projectionObj *) 0 ;
   34836             :     projectionObj *arg3 = (projectionObj *) 0 ;
   34837           0 :     void *argp1 = 0 ;
   34838             :     int res1 = 0 ;
   34839           0 :     void *argp2 = 0 ;
   34840             :     int res2 = 0 ;
   34841           0 :     void *argp3 = 0 ;
   34842             :     int res3 = 0 ;
   34843             :     int argvi = 0;
   34844             :     int result;
   34845           0 :     dXSARGS;
   34846             :     
   34847           0 :     if ((items < 3) || (items > 3)) {
   34848           0 :       SWIG_croak("Usage: pointObj_project(self,projin,projout);");
   34849             :     }
   34850           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 |  0 );
   34851           0 :     if (!SWIG_IsOK(res1)) {
   34852           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_project" "', argument " "1"" of type '" "pointObj *""'"); 
   34853             :     }
   34854           0 :     arg1 = (pointObj *)(argp1);
   34855           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_projectionObj, 0 |  0 );
   34856           0 :     if (!SWIG_IsOK(res2)) {
   34857           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pointObj_project" "', argument " "2"" of type '" "projectionObj *""'"); 
   34858             :     }
   34859           0 :     arg2 = (projectionObj *)(argp2);
   34860           0 :     res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_projectionObj, 0 |  0 );
   34861           0 :     if (!SWIG_IsOK(res3)) {
   34862           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "pointObj_project" "', argument " "3"" of type '" "projectionObj *""'"); 
   34863             :     }
   34864           0 :     arg3 = (projectionObj *)(argp3);
   34865             :     result = (int)pointObj_project(arg1,arg2,arg3);
   34866           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   34867             :     
   34868             :     
   34869             :     
   34870           0 :     XSRETURN(argvi);
   34871             :   fail:
   34872             :     
   34873             :     
   34874             :     
   34875           0 :     SWIG_croak_null();
   34876             :   }
   34877             : }
   34878             : 
   34879             : 
   34880           0 : XS(_wrap_pointObj_draw) {
   34881             :   {
   34882             :     pointObj *arg1 = (pointObj *) 0 ;
   34883             :     mapObj *arg2 = (mapObj *) 0 ;
   34884             :     layerObj *arg3 = (layerObj *) 0 ;
   34885             :     imageObj *arg4 = (imageObj *) 0 ;
   34886             :     int arg5 ;
   34887             :     char *arg6 = (char *) 0 ;
   34888           0 :     void *argp1 = 0 ;
   34889             :     int res1 = 0 ;
   34890           0 :     void *argp2 = 0 ;
   34891             :     int res2 = 0 ;
   34892           0 :     void *argp3 = 0 ;
   34893             :     int res3 = 0 ;
   34894           0 :     void *argp4 = 0 ;
   34895             :     int res4 = 0 ;
   34896             :     int val5 ;
   34897             :     int ecode5 = 0 ;
   34898             :     int res6 ;
   34899           0 :     char *buf6 = 0 ;
   34900           0 :     int alloc6 = 0 ;
   34901             :     int argvi = 0;
   34902             :     int result;
   34903           0 :     dXSARGS;
   34904             :     
   34905           0 :     if ((items < 6) || (items > 6)) {
   34906           0 :       SWIG_croak("Usage: pointObj_draw(self,map,layer,image,classindex,text);");
   34907             :     }
   34908           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 |  0 );
   34909           0 :     if (!SWIG_IsOK(res1)) {
   34910           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_draw" "', argument " "1"" of type '" "pointObj *""'"); 
   34911             :     }
   34912           0 :     arg1 = (pointObj *)(argp1);
   34913           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 |  0 );
   34914           0 :     if (!SWIG_IsOK(res2)) {
   34915           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pointObj_draw" "', argument " "2"" of type '" "mapObj *""'"); 
   34916             :     }
   34917           0 :     arg2 = (mapObj *)(argp2);
   34918           0 :     res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_layerObj, 0 |  0 );
   34919           0 :     if (!SWIG_IsOK(res3)) {
   34920           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "pointObj_draw" "', argument " "3"" of type '" "layerObj *""'"); 
   34921             :     }
   34922           0 :     arg3 = (layerObj *)(argp3);
   34923           0 :     res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_imageObj, 0 |  0 );
   34924           0 :     if (!SWIG_IsOK(res4)) {
   34925           0 :       SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "pointObj_draw" "', argument " "4"" of type '" "imageObj *""'"); 
   34926             :     }
   34927           0 :     arg4 = (imageObj *)(argp4);
   34928           0 :     ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
   34929           0 :     if (!SWIG_IsOK(ecode5)) {
   34930           0 :       SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "pointObj_draw" "', argument " "5"" of type '" "int""'");
   34931             :     } 
   34932           0 :     arg5 = (int)(val5);
   34933           0 :     res6 = SWIG_AsCharPtrAndSize(ST(5), &buf6, NULL, &alloc6);
   34934           0 :     if (!SWIG_IsOK(res6)) {
   34935           0 :       SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "pointObj_draw" "', argument " "6"" of type '" "char *""'");
   34936             :     }
   34937           0 :     arg6 = (char *)(buf6);
   34938             :     result = (int)pointObj_draw(arg1,arg2,arg3,arg4,arg5,arg6);
   34939           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   34940             :     
   34941             :     
   34942             :     
   34943             :     
   34944             :     
   34945           0 :     if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
   34946           0 :     XSRETURN(argvi);
   34947             :   fail:
   34948             :     
   34949             :     
   34950             :     
   34951             :     
   34952             :     
   34953           0 :     if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
   34954           0 :     SWIG_croak_null();
   34955             :   }
   34956             : }
   34957             : 
   34958             : 
   34959           0 : XS(_wrap_pointObj_distanceToPoint) {
   34960             :   {
   34961             :     pointObj *arg1 = (pointObj *) 0 ;
   34962             :     pointObj *arg2 = (pointObj *) 0 ;
   34963           0 :     void *argp1 = 0 ;
   34964             :     int res1 = 0 ;
   34965           0 :     void *argp2 = 0 ;
   34966             :     int res2 = 0 ;
   34967             :     int argvi = 0;
   34968             :     double result;
   34969           0 :     dXSARGS;
   34970             :     
   34971           0 :     if ((items < 2) || (items > 2)) {
   34972           0 :       SWIG_croak("Usage: pointObj_distanceToPoint(self,point);");
   34973             :     }
   34974           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 |  0 );
   34975           0 :     if (!SWIG_IsOK(res1)) {
   34976           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_distanceToPoint" "', argument " "1"" of type '" "pointObj *""'"); 
   34977             :     }
   34978           0 :     arg1 = (pointObj *)(argp1);
   34979           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_pointObj, 0 |  0 );
   34980           0 :     if (!SWIG_IsOK(res2)) {
   34981           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pointObj_distanceToPoint" "', argument " "2"" of type '" "pointObj *""'"); 
   34982             :     }
   34983           0 :     arg2 = (pointObj *)(argp2);
   34984             :     result = (double)pointObj_distanceToPoint(arg1,arg2);
   34985           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   34986             :     
   34987             :     
   34988           0 :     XSRETURN(argvi);
   34989             :   fail:
   34990             :     
   34991             :     
   34992           0 :     SWIG_croak_null();
   34993             :   }
   34994             : }
   34995             : 
   34996             : 
   34997           1 : XS(_wrap_pointObj_distanceToSegment) {
   34998             :   {
   34999             :     pointObj *arg1 = (pointObj *) 0 ;
   35000             :     pointObj *arg2 = (pointObj *) 0 ;
   35001             :     pointObj *arg3 = (pointObj *) 0 ;
   35002           1 :     void *argp1 = 0 ;
   35003             :     int res1 = 0 ;
   35004           1 :     void *argp2 = 0 ;
   35005             :     int res2 = 0 ;
   35006           1 :     void *argp3 = 0 ;
   35007             :     int res3 = 0 ;
   35008             :     int argvi = 0;
   35009             :     double result;
   35010           1 :     dXSARGS;
   35011             :     
   35012           1 :     if ((items < 3) || (items > 3)) {
   35013           0 :       SWIG_croak("Usage: pointObj_distanceToSegment(self,a,b);");
   35014             :     }
   35015           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 |  0 );
   35016           1 :     if (!SWIG_IsOK(res1)) {
   35017           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_distanceToSegment" "', argument " "1"" of type '" "pointObj *""'"); 
   35018             :     }
   35019           1 :     arg1 = (pointObj *)(argp1);
   35020           1 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_pointObj, 0 |  0 );
   35021           1 :     if (!SWIG_IsOK(res2)) {
   35022           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pointObj_distanceToSegment" "', argument " "2"" of type '" "pointObj *""'"); 
   35023             :     }
   35024           1 :     arg2 = (pointObj *)(argp2);
   35025           1 :     res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_pointObj, 0 |  0 );
   35026           1 :     if (!SWIG_IsOK(res3)) {
   35027           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "pointObj_distanceToSegment" "', argument " "3"" of type '" "pointObj *""'"); 
   35028             :     }
   35029           1 :     arg3 = (pointObj *)(argp3);
   35030             :     result = (double)pointObj_distanceToSegment(arg1,arg2,arg3);
   35031           1 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   35032             :     
   35033             :     
   35034             :     
   35035           1 :     XSRETURN(argvi);
   35036             :   fail:
   35037             :     
   35038             :     
   35039             :     
   35040           0 :     SWIG_croak_null();
   35041             :   }
   35042             : }
   35043             : 
   35044             : 
   35045           0 : XS(_wrap_pointObj_distanceToShape) {
   35046             :   {
   35047             :     pointObj *arg1 = (pointObj *) 0 ;
   35048             :     shapeObj *arg2 = (shapeObj *) 0 ;
   35049           0 :     void *argp1 = 0 ;
   35050             :     int res1 = 0 ;
   35051           0 :     void *argp2 = 0 ;
   35052             :     int res2 = 0 ;
   35053             :     int argvi = 0;
   35054             :     double result;
   35055           0 :     dXSARGS;
   35056             :     
   35057           0 :     if ((items < 2) || (items > 2)) {
   35058           0 :       SWIG_croak("Usage: pointObj_distanceToShape(self,shape);");
   35059             :     }
   35060           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 |  0 );
   35061           0 :     if (!SWIG_IsOK(res1)) {
   35062           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_distanceToShape" "', argument " "1"" of type '" "pointObj *""'"); 
   35063             :     }
   35064           0 :     arg1 = (pointObj *)(argp1);
   35065           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 |  0 );
   35066           0 :     if (!SWIG_IsOK(res2)) {
   35067           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pointObj_distanceToShape" "', argument " "2"" of type '" "shapeObj *""'"); 
   35068             :     }
   35069           0 :     arg2 = (shapeObj *)(argp2);
   35070             :     result = (double)pointObj_distanceToShape(arg1,arg2);
   35071           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   35072             :     
   35073             :     
   35074           0 :     XSRETURN(argvi);
   35075             :   fail:
   35076             :     
   35077             :     
   35078           0 :     SWIG_croak_null();
   35079             :   }
   35080             : }
   35081             : 
   35082             : 
   35083           0 : XS(_wrap_pointObj_setXY) {
   35084             :   {
   35085             :     pointObj *arg1 = (pointObj *) 0 ;
   35086             :     double arg2 ;
   35087             :     double arg3 ;
   35088             :     double arg4 = (double) -2e38 ;
   35089           0 :     void *argp1 = 0 ;
   35090             :     int res1 = 0 ;
   35091             :     double val2 ;
   35092             :     int ecode2 = 0 ;
   35093             :     double val3 ;
   35094             :     int ecode3 = 0 ;
   35095             :     double val4 ;
   35096             :     int ecode4 = 0 ;
   35097             :     int argvi = 0;
   35098             :     int result;
   35099           0 :     dXSARGS;
   35100             :     
   35101           0 :     if ((items < 3) || (items > 4)) {
   35102           0 :       SWIG_croak("Usage: pointObj_setXY(self,x,y,m);");
   35103             :     }
   35104           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 |  0 );
   35105           0 :     if (!SWIG_IsOK(res1)) {
   35106           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_setXY" "', argument " "1"" of type '" "pointObj *""'"); 
   35107             :     }
   35108           0 :     arg1 = (pointObj *)(argp1);
   35109           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   35110           0 :     if (!SWIG_IsOK(ecode2)) {
   35111           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pointObj_setXY" "', argument " "2"" of type '" "double""'");
   35112             :     } 
   35113           0 :     arg2 = (double)(val2);
   35114           0 :     ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
   35115           0 :     if (!SWIG_IsOK(ecode3)) {
   35116           0 :       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "pointObj_setXY" "', argument " "3"" of type '" "double""'");
   35117             :     } 
   35118           0 :     arg3 = (double)(val3);
   35119           0 :     if (items > 3) {
   35120           0 :       ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
   35121           0 :       if (!SWIG_IsOK(ecode4)) {
   35122           0 :         SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "pointObj_setXY" "', argument " "4"" of type '" "double""'");
   35123             :       } 
   35124             :       arg4 = (double)(val4);
   35125             :     }
   35126             :     result = (int)pointObj_setXY(arg1,arg2,arg3,arg4);
   35127           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   35128             :     
   35129             :     
   35130             :     
   35131             :     
   35132           0 :     XSRETURN(argvi);
   35133             :   fail:
   35134             :     
   35135             :     
   35136             :     
   35137             :     
   35138           0 :     SWIG_croak_null();
   35139             :   }
   35140             : }
   35141             : 
   35142             : 
   35143           0 : XS(_wrap_pointObj_setXYZ) {
   35144             :   {
   35145             :     pointObj *arg1 = (pointObj *) 0 ;
   35146             :     double arg2 ;
   35147             :     double arg3 ;
   35148             :     double arg4 ;
   35149             :     double arg5 = (double) -2e38 ;
   35150           0 :     void *argp1 = 0 ;
   35151             :     int res1 = 0 ;
   35152             :     double val2 ;
   35153             :     int ecode2 = 0 ;
   35154             :     double val3 ;
   35155             :     int ecode3 = 0 ;
   35156             :     double val4 ;
   35157             :     int ecode4 = 0 ;
   35158             :     double val5 ;
   35159             :     int ecode5 = 0 ;
   35160             :     int argvi = 0;
   35161             :     int result;
   35162           0 :     dXSARGS;
   35163             :     
   35164           0 :     if ((items < 4) || (items > 5)) {
   35165           0 :       SWIG_croak("Usage: pointObj_setXYZ(self,x,y,z,m);");
   35166             :     }
   35167           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 |  0 );
   35168           0 :     if (!SWIG_IsOK(res1)) {
   35169           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_setXYZ" "', argument " "1"" of type '" "pointObj *""'"); 
   35170             :     }
   35171           0 :     arg1 = (pointObj *)(argp1);
   35172           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   35173           0 :     if (!SWIG_IsOK(ecode2)) {
   35174           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pointObj_setXYZ" "', argument " "2"" of type '" "double""'");
   35175             :     } 
   35176           0 :     arg2 = (double)(val2);
   35177           0 :     ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
   35178           0 :     if (!SWIG_IsOK(ecode3)) {
   35179           0 :       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "pointObj_setXYZ" "', argument " "3"" of type '" "double""'");
   35180             :     } 
   35181           0 :     arg3 = (double)(val3);
   35182           0 :     ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
   35183           0 :     if (!SWIG_IsOK(ecode4)) {
   35184           0 :       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "pointObj_setXYZ" "', argument " "4"" of type '" "double""'");
   35185             :     } 
   35186             :     arg4 = (double)(val4);
   35187           0 :     if (items > 4) {
   35188           0 :       ecode5 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
   35189           0 :       if (!SWIG_IsOK(ecode5)) {
   35190           0 :         SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "pointObj_setXYZ" "', argument " "5"" of type '" "double""'");
   35191             :       } 
   35192             :       arg5 = (double)(val5);
   35193             :     }
   35194             :     result = (int)pointObj_setXYZ(arg1,arg2,arg3,arg4,arg5);
   35195           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   35196             :     
   35197             :     
   35198             :     
   35199             :     
   35200             :     
   35201           0 :     XSRETURN(argvi);
   35202             :   fail:
   35203             :     
   35204             :     
   35205             :     
   35206             :     
   35207             :     
   35208           0 :     SWIG_croak_null();
   35209             :   }
   35210             : }
   35211             : 
   35212             : 
   35213           0 : XS(_wrap_pointObj_setXYZM) {
   35214             :   {
   35215             :     pointObj *arg1 = (pointObj *) 0 ;
   35216             :     double arg2 ;
   35217             :     double arg3 ;
   35218             :     double arg4 ;
   35219             :     double arg5 ;
   35220           0 :     void *argp1 = 0 ;
   35221             :     int res1 = 0 ;
   35222             :     double val2 ;
   35223             :     int ecode2 = 0 ;
   35224             :     double val3 ;
   35225             :     int ecode3 = 0 ;
   35226             :     double val4 ;
   35227             :     int ecode4 = 0 ;
   35228             :     double val5 ;
   35229             :     int ecode5 = 0 ;
   35230             :     int argvi = 0;
   35231             :     int result;
   35232           0 :     dXSARGS;
   35233             :     
   35234           0 :     if ((items < 5) || (items > 5)) {
   35235           0 :       SWIG_croak("Usage: pointObj_setXYZM(self,x,y,z,m);");
   35236             :     }
   35237           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 |  0 );
   35238           0 :     if (!SWIG_IsOK(res1)) {
   35239           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_setXYZM" "', argument " "1"" of type '" "pointObj *""'"); 
   35240             :     }
   35241           0 :     arg1 = (pointObj *)(argp1);
   35242           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   35243           0 :     if (!SWIG_IsOK(ecode2)) {
   35244           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pointObj_setXYZM" "', argument " "2"" of type '" "double""'");
   35245             :     } 
   35246           0 :     arg2 = (double)(val2);
   35247           0 :     ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
   35248           0 :     if (!SWIG_IsOK(ecode3)) {
   35249           0 :       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "pointObj_setXYZM" "', argument " "3"" of type '" "double""'");
   35250             :     } 
   35251           0 :     arg3 = (double)(val3);
   35252           0 :     ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
   35253           0 :     if (!SWIG_IsOK(ecode4)) {
   35254           0 :       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "pointObj_setXYZM" "', argument " "4"" of type '" "double""'");
   35255             :     } 
   35256             :     arg4 = (double)(val4);
   35257           0 :     ecode5 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
   35258           0 :     if (!SWIG_IsOK(ecode5)) {
   35259           0 :       SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "pointObj_setXYZM" "', argument " "5"" of type '" "double""'");
   35260             :     } 
   35261             :     arg5 = (double)(val5);
   35262             :     result = (int)pointObj_setXYZM(arg1,arg2,arg3,arg4,arg5);
   35263           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   35264             :     
   35265             :     
   35266             :     
   35267             :     
   35268             :     
   35269           0 :     XSRETURN(argvi);
   35270             :   fail:
   35271             :     
   35272             :     
   35273             :     
   35274             :     
   35275             :     
   35276           0 :     SWIG_croak_null();
   35277             :   }
   35278             : }
   35279             : 
   35280             : 
   35281           0 : XS(_wrap_pointObj_toString) {
   35282             :   {
   35283             :     pointObj *arg1 = (pointObj *) 0 ;
   35284           0 :     void *argp1 = 0 ;
   35285             :     int res1 = 0 ;
   35286             :     int argvi = 0;
   35287             :     char *result = 0 ;
   35288           0 :     dXSARGS;
   35289             :     
   35290           0 :     if ((items < 1) || (items > 1)) {
   35291           0 :       SWIG_croak("Usage: pointObj_toString(self);");
   35292             :     }
   35293           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 |  0 );
   35294           0 :     if (!SWIG_IsOK(res1)) {
   35295           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_toString" "', argument " "1"" of type '" "pointObj *""'"); 
   35296             :     }
   35297           0 :     arg1 = (pointObj *)(argp1);
   35298           0 :     result = (char *)pointObj_toString(arg1);
   35299           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   35300             :     
   35301           0 :     free((char*)result);
   35302           0 :     XSRETURN(argvi);
   35303             :   fail:
   35304             :     
   35305           0 :     SWIG_croak_null();
   35306             :   }
   35307             : }
   35308             : 
   35309             : 
   35310           0 : XS(_wrap_pointObj_toShape) {
   35311             :   {
   35312             :     pointObj *arg1 = (pointObj *) 0 ;
   35313           0 :     void *argp1 = 0 ;
   35314             :     int res1 = 0 ;
   35315             :     int argvi = 0;
   35316             :     shapeObj *result = 0 ;
   35317           0 :     dXSARGS;
   35318             :     
   35319           0 :     if ((items < 1) || (items > 1)) {
   35320           0 :       SWIG_croak("Usage: pointObj_toShape(self);");
   35321             :     }
   35322           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 |  0 );
   35323           0 :     if (!SWIG_IsOK(res1)) {
   35324           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_toShape" "', argument " "1"" of type '" "pointObj *""'"); 
   35325             :     }
   35326           0 :     arg1 = (pointObj *)(argp1);
   35327           0 :     result = (shapeObj *)pointObj_toShape(arg1);
   35328           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   35329             :     
   35330           0 :     XSRETURN(argvi);
   35331             :   fail:
   35332             :     
   35333           0 :     SWIG_croak_null();
   35334             :   }
   35335             : }
   35336             : 
   35337             : 
   35338           1 : XS(_wrap_lineObj_numpoints_get) {
   35339             :   {
   35340             :     lineObj *arg1 = (lineObj *) 0 ;
   35341           1 :     void *argp1 = 0 ;
   35342             :     int res1 = 0 ;
   35343             :     int argvi = 0;
   35344             :     int result;
   35345           1 :     dXSARGS;
   35346             :     
   35347           1 :     if ((items < 1) || (items > 1)) {
   35348           0 :       SWIG_croak("Usage: lineObj_numpoints_get(self);");
   35349             :     }
   35350           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_lineObj, 0 |  0 );
   35351           1 :     if (!SWIG_IsOK(res1)) {
   35352           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "lineObj_numpoints_get" "', argument " "1"" of type '" "lineObj *""'"); 
   35353             :     }
   35354           1 :     arg1 = (lineObj *)(argp1);
   35355           1 :     result = (int) ((arg1)->numpoints);
   35356           1 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   35357             :     
   35358           1 :     XSRETURN(argvi);
   35359             :   fail:
   35360             :     
   35361           0 :     SWIG_croak_null();
   35362             :   }
   35363             : }
   35364             : 
   35365             : 
   35366           1 : XS(_wrap_new_lineObj) {
   35367             :   {
   35368             :     int argvi = 0;
   35369             :     lineObj *result = 0 ;
   35370           1 :     dXSARGS;
   35371             :     
   35372           1 :     if ((items < 0) || (items > 0)) {
   35373           0 :       SWIG_croak("Usage: new_lineObj();");
   35374             :     }
   35375             :     result = (lineObj *)new_lineObj();
   35376           1 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_lineObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   35377           1 :     XSRETURN(argvi);
   35378             :   fail:
   35379           0 :     SWIG_croak_null();
   35380             :   }
   35381             : }
   35382             : 
   35383             : 
   35384           1 : XS(_wrap_delete_lineObj) {
   35385             :   {
   35386             :     lineObj *arg1 = (lineObj *) 0 ;
   35387           1 :     void *argp1 = 0 ;
   35388             :     int res1 = 0 ;
   35389             :     int argvi = 0;
   35390           1 :     dXSARGS;
   35391             :     
   35392           1 :     if ((items < 1) || (items > 1)) {
   35393           0 :       SWIG_croak("Usage: delete_lineObj(self);");
   35394             :     }
   35395           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_lineObj, SWIG_POINTER_DISOWN |  0 );
   35396           1 :     if (!SWIG_IsOK(res1)) {
   35397           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_lineObj" "', argument " "1"" of type '" "lineObj *""'"); 
   35398             :     }
   35399           1 :     arg1 = (lineObj *)(argp1);
   35400             :     delete_lineObj(arg1);
   35401           1 :     ST(argvi) = sv_newmortal();
   35402             :     
   35403           1 :     XSRETURN(argvi);
   35404             :   fail:
   35405             :     
   35406           0 :     SWIG_croak_null();
   35407             :   }
   35408             : }
   35409             : 
   35410             : 
   35411           0 : XS(_wrap_lineObj_project) {
   35412             :   {
   35413             :     lineObj *arg1 = (lineObj *) 0 ;
   35414             :     projectionObj *arg2 = (projectionObj *) 0 ;
   35415             :     projectionObj *arg3 = (projectionObj *) 0 ;
   35416           0 :     void *argp1 = 0 ;
   35417             :     int res1 = 0 ;
   35418           0 :     void *argp2 = 0 ;
   35419             :     int res2 = 0 ;
   35420           0 :     void *argp3 = 0 ;
   35421             :     int res3 = 0 ;
   35422             :     int argvi = 0;
   35423             :     int result;
   35424           0 :     dXSARGS;
   35425             :     
   35426           0 :     if ((items < 3) || (items > 3)) {
   35427           0 :       SWIG_croak("Usage: lineObj_project(self,projin,projout);");
   35428             :     }
   35429           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_lineObj, 0 |  0 );
   35430           0 :     if (!SWIG_IsOK(res1)) {
   35431           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "lineObj_project" "', argument " "1"" of type '" "lineObj *""'"); 
   35432             :     }
   35433           0 :     arg1 = (lineObj *)(argp1);
   35434           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_projectionObj, 0 |  0 );
   35435           0 :     if (!SWIG_IsOK(res2)) {
   35436           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "lineObj_project" "', argument " "2"" of type '" "projectionObj *""'"); 
   35437             :     }
   35438           0 :     arg2 = (projectionObj *)(argp2);
   35439           0 :     res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_projectionObj, 0 |  0 );
   35440           0 :     if (!SWIG_IsOK(res3)) {
   35441           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "lineObj_project" "', argument " "3"" of type '" "projectionObj *""'"); 
   35442             :     }
   35443           0 :     arg3 = (projectionObj *)(argp3);
   35444             :     result = (int)lineObj_project(arg1,arg2,arg3);
   35445           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   35446             :     
   35447             :     
   35448             :     
   35449           0 :     XSRETURN(argvi);
   35450             :   fail:
   35451             :     
   35452             :     
   35453             :     
   35454           0 :     SWIG_croak_null();
   35455             :   }
   35456             : }
   35457             : 
   35458             : 
   35459           1 : XS(_wrap_lineObj_get) {
   35460             :   {
   35461             :     lineObj *arg1 = (lineObj *) 0 ;
   35462             :     int arg2 ;
   35463           1 :     void *argp1 = 0 ;
   35464             :     int res1 = 0 ;
   35465             :     int val2 ;
   35466             :     int ecode2 = 0 ;
   35467             :     int argvi = 0;
   35468             :     pointObj *result = 0 ;
   35469           1 :     dXSARGS;
   35470             :     
   35471           1 :     if ((items < 2) || (items > 2)) {
   35472           0 :       SWIG_croak("Usage: lineObj_get(self,i);");
   35473             :     }
   35474           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_lineObj, 0 |  0 );
   35475           1 :     if (!SWIG_IsOK(res1)) {
   35476           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "lineObj_get" "', argument " "1"" of type '" "lineObj *""'"); 
   35477             :     }
   35478           1 :     arg1 = (lineObj *)(argp1);
   35479           1 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   35480           1 :     if (!SWIG_IsOK(ecode2)) {
   35481           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "lineObj_get" "', argument " "2"" of type '" "int""'");
   35482             :     } 
   35483           1 :     arg2 = (int)(val2);
   35484             :     result = (pointObj *)lineObj_get(arg1,arg2);
   35485           1 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pointObj, 0 | SWIG_SHADOW); argvi++ ;
   35486             :     
   35487             :     
   35488           1 :     XSRETURN(argvi);
   35489             :   fail:
   35490             :     
   35491             :     
   35492           0 :     SWIG_croak_null();
   35493             :   }
   35494             : }
   35495             : 
   35496             : 
   35497           1 : XS(_wrap_lineObj_add) {
   35498             :   {
   35499             :     lineObj *arg1 = (lineObj *) 0 ;
   35500             :     pointObj *arg2 = (pointObj *) 0 ;
   35501           1 :     void *argp1 = 0 ;
   35502             :     int res1 = 0 ;
   35503           1 :     void *argp2 = 0 ;
   35504             :     int res2 = 0 ;
   35505             :     int argvi = 0;
   35506             :     int result;
   35507           1 :     dXSARGS;
   35508             :     
   35509           1 :     if ((items < 2) || (items > 2)) {
   35510           0 :       SWIG_croak("Usage: lineObj_add(self,p);");
   35511             :     }
   35512           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_lineObj, 0 |  0 );
   35513           1 :     if (!SWIG_IsOK(res1)) {
   35514           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "lineObj_add" "', argument " "1"" of type '" "lineObj *""'"); 
   35515             :     }
   35516           1 :     arg1 = (lineObj *)(argp1);
   35517           1 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_pointObj, 0 |  0 );
   35518           1 :     if (!SWIG_IsOK(res2)) {
   35519           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "lineObj_add" "', argument " "2"" of type '" "pointObj *""'"); 
   35520             :     }
   35521           1 :     arg2 = (pointObj *)(argp2);
   35522           1 :     result = (int)lineObj_add(arg1,arg2);
   35523           1 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   35524             :     
   35525             :     
   35526           1 :     XSRETURN(argvi);
   35527             :   fail:
   35528             :     
   35529             :     
   35530           0 :     SWIG_croak_null();
   35531             :   }
   35532             : }
   35533             : 
   35534             : 
   35535           0 : XS(_wrap_lineObj_set) {
   35536             :   {
   35537             :     lineObj *arg1 = (lineObj *) 0 ;
   35538             :     int arg2 ;
   35539             :     pointObj *arg3 = (pointObj *) 0 ;
   35540           0 :     void *argp1 = 0 ;
   35541             :     int res1 = 0 ;
   35542             :     int val2 ;
   35543             :     int ecode2 = 0 ;
   35544           0 :     void *argp3 = 0 ;
   35545             :     int res3 = 0 ;
   35546             :     int argvi = 0;
   35547             :     int result;
   35548           0 :     dXSARGS;
   35549             :     
   35550           0 :     if ((items < 3) || (items > 3)) {
   35551           0 :       SWIG_croak("Usage: lineObj_set(self,i,p);");
   35552             :     }
   35553           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_lineObj, 0 |  0 );
   35554           0 :     if (!SWIG_IsOK(res1)) {
   35555           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "lineObj_set" "', argument " "1"" of type '" "lineObj *""'"); 
   35556             :     }
   35557           0 :     arg1 = (lineObj *)(argp1);
   35558           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   35559           0 :     if (!SWIG_IsOK(ecode2)) {
   35560           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "lineObj_set" "', argument " "2"" of type '" "int""'");
   35561             :     } 
   35562           0 :     arg2 = (int)(val2);
   35563           0 :     res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_pointObj, 0 |  0 );
   35564           0 :     if (!SWIG_IsOK(res3)) {
   35565           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "lineObj_set" "', argument " "3"" of type '" "pointObj *""'"); 
   35566             :     }
   35567           0 :     arg3 = (pointObj *)(argp3);
   35568             :     result = (int)lineObj_set(arg1,arg2,arg3);
   35569           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   35570             :     
   35571             :     
   35572             :     
   35573           0 :     XSRETURN(argvi);
   35574             :   fail:
   35575             :     
   35576             :     
   35577             :     
   35578           0 :     SWIG_croak_null();
   35579             :   }
   35580             : }
   35581             : 
   35582             : 
   35583           1 : XS(_wrap_shapeObj_numlines_get) {
   35584             :   {
   35585             :     shapeObj *arg1 = (shapeObj *) 0 ;
   35586           1 :     void *argp1 = 0 ;
   35587             :     int res1 = 0 ;
   35588             :     int argvi = 0;
   35589             :     int result;
   35590           1 :     dXSARGS;
   35591             :     
   35592           1 :     if ((items < 1) || (items > 1)) {
   35593           0 :       SWIG_croak("Usage: shapeObj_numlines_get(self);");
   35594             :     }
   35595           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   35596           1 :     if (!SWIG_IsOK(res1)) {
   35597           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_numlines_get" "', argument " "1"" of type '" "shapeObj *""'"); 
   35598             :     }
   35599           1 :     arg1 = (shapeObj *)(argp1);
   35600           1 :     result = (int) ((arg1)->numlines);
   35601           1 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   35602             :     
   35603           1 :     XSRETURN(argvi);
   35604             :   fail:
   35605             :     
   35606           0 :     SWIG_croak_null();
   35607             :   }
   35608             : }
   35609             : 
   35610             : 
   35611           0 : XS(_wrap_shapeObj_numvalues_get) {
   35612             :   {
   35613             :     shapeObj *arg1 = (shapeObj *) 0 ;
   35614           0 :     void *argp1 = 0 ;
   35615             :     int res1 = 0 ;
   35616             :     int argvi = 0;
   35617             :     int result;
   35618           0 :     dXSARGS;
   35619             :     
   35620           0 :     if ((items < 1) || (items > 1)) {
   35621           0 :       SWIG_croak("Usage: shapeObj_numvalues_get(self);");
   35622             :     }
   35623           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   35624           0 :     if (!SWIG_IsOK(res1)) {
   35625           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_numvalues_get" "', argument " "1"" of type '" "shapeObj *""'"); 
   35626             :     }
   35627           0 :     arg1 = (shapeObj *)(argp1);
   35628           0 :     result = (int) ((arg1)->numvalues);
   35629           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   35630             :     
   35631           0 :     XSRETURN(argvi);
   35632             :   fail:
   35633             :     
   35634           0 :     SWIG_croak_null();
   35635             :   }
   35636             : }
   35637             : 
   35638             : 
   35639           0 : XS(_wrap_shapeObj_bounds_set) {
   35640             :   {
   35641             :     shapeObj *arg1 = (shapeObj *) 0 ;
   35642             :     rectObj *arg2 = (rectObj *) 0 ;
   35643           0 :     void *argp1 = 0 ;
   35644             :     int res1 = 0 ;
   35645           0 :     void *argp2 = 0 ;
   35646             :     int res2 = 0 ;
   35647             :     int argvi = 0;
   35648           0 :     dXSARGS;
   35649             :     
   35650           0 :     if ((items < 2) || (items > 2)) {
   35651           0 :       SWIG_croak("Usage: shapeObj_bounds_set(self,bounds);");
   35652             :     }
   35653           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   35654           0 :     if (!SWIG_IsOK(res1)) {
   35655           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_bounds_set" "', argument " "1"" of type '" "shapeObj *""'"); 
   35656             :     }
   35657           0 :     arg1 = (shapeObj *)(argp1);
   35658           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_rectObj, 0 |  0 );
   35659           0 :     if (!SWIG_IsOK(res2)) {
   35660           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_bounds_set" "', argument " "2"" of type '" "rectObj *""'"); 
   35661             :     }
   35662           0 :     arg2 = (rectObj *)(argp2);
   35663           0 :     if (arg1) (arg1)->bounds = *arg2;
   35664           0 :     ST(argvi) = sv_newmortal();
   35665             :     
   35666             :     
   35667           0 :     XSRETURN(argvi);
   35668             :   fail:
   35669             :     
   35670             :     
   35671           0 :     SWIG_croak_null();
   35672             :   }
   35673             : }
   35674             : 
   35675             : 
   35676           1 : XS(_wrap_shapeObj_bounds_get) {
   35677             :   {
   35678             :     shapeObj *arg1 = (shapeObj *) 0 ;
   35679           1 :     void *argp1 = 0 ;
   35680             :     int res1 = 0 ;
   35681             :     int argvi = 0;
   35682             :     rectObj *result = 0 ;
   35683           1 :     dXSARGS;
   35684             :     
   35685           1 :     if ((items < 1) || (items > 1)) {
   35686           0 :       SWIG_croak("Usage: shapeObj_bounds_get(self);");
   35687             :     }
   35688           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   35689           1 :     if (!SWIG_IsOK(res1)) {
   35690           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_bounds_get" "', argument " "1"" of type '" "shapeObj *""'"); 
   35691             :     }
   35692           1 :     arg1 = (shapeObj *)(argp1);
   35693           1 :     result = (rectObj *)& ((arg1)->bounds);
   35694           1 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_rectObj, 0 | SWIG_SHADOW); argvi++ ;
   35695             :     
   35696           1 :     XSRETURN(argvi);
   35697             :   fail:
   35698             :     
   35699           0 :     SWIG_croak_null();
   35700             :   }
   35701             : }
   35702             : 
   35703             : 
   35704           0 : XS(_wrap_shapeObj_type_set) {
   35705             :   {
   35706             :     shapeObj *arg1 = (shapeObj *) 0 ;
   35707             :     int arg2 ;
   35708           0 :     void *argp1 = 0 ;
   35709             :     int res1 = 0 ;
   35710             :     int val2 ;
   35711             :     int ecode2 = 0 ;
   35712             :     int argvi = 0;
   35713           0 :     dXSARGS;
   35714             :     
   35715           0 :     if ((items < 2) || (items > 2)) {
   35716           0 :       SWIG_croak("Usage: shapeObj_type_set(self,type);");
   35717             :     }
   35718           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   35719           0 :     if (!SWIG_IsOK(res1)) {
   35720           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_type_set" "', argument " "1"" of type '" "shapeObj *""'"); 
   35721             :     }
   35722           0 :     arg1 = (shapeObj *)(argp1);
   35723           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   35724           0 :     if (!SWIG_IsOK(ecode2)) {
   35725           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapeObj_type_set" "', argument " "2"" of type '" "int""'");
   35726             :     } 
   35727           0 :     arg2 = (int)(val2);
   35728           0 :     if (arg1) (arg1)->type = arg2;
   35729           0 :     ST(argvi) = sv_newmortal();
   35730             :     
   35731             :     
   35732           0 :     XSRETURN(argvi);
   35733             :   fail:
   35734             :     
   35735             :     
   35736           0 :     SWIG_croak_null();
   35737             :   }
   35738             : }
   35739             : 
   35740             : 
   35741           0 : XS(_wrap_shapeObj_type_get) {
   35742             :   {
   35743             :     shapeObj *arg1 = (shapeObj *) 0 ;
   35744           0 :     void *argp1 = 0 ;
   35745             :     int res1 = 0 ;
   35746             :     int argvi = 0;
   35747             :     int result;
   35748           0 :     dXSARGS;
   35749             :     
   35750           0 :     if ((items < 1) || (items > 1)) {
   35751           0 :       SWIG_croak("Usage: shapeObj_type_get(self);");
   35752             :     }
   35753           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   35754           0 :     if (!SWIG_IsOK(res1)) {
   35755           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_type_get" "', argument " "1"" of type '" "shapeObj *""'"); 
   35756             :     }
   35757           0 :     arg1 = (shapeObj *)(argp1);
   35758           0 :     result = (int) ((arg1)->type);
   35759           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   35760             :     
   35761           0 :     XSRETURN(argvi);
   35762             :   fail:
   35763             :     
   35764           0 :     SWIG_croak_null();
   35765             :   }
   35766             : }
   35767             : 
   35768             : 
   35769           0 : XS(_wrap_shapeObj_index_set) {
   35770             :   {
   35771             :     shapeObj *arg1 = (shapeObj *) 0 ;
   35772             :     long arg2 ;
   35773           0 :     void *argp1 = 0 ;
   35774             :     int res1 = 0 ;
   35775             :     long val2 ;
   35776             :     int ecode2 = 0 ;
   35777             :     int argvi = 0;
   35778           0 :     dXSARGS;
   35779             :     
   35780           0 :     if ((items < 2) || (items > 2)) {
   35781           0 :       SWIG_croak("Usage: shapeObj_index_set(self,index);");
   35782             :     }
   35783           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   35784           0 :     if (!SWIG_IsOK(res1)) {
   35785           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_index_set" "', argument " "1"" of type '" "shapeObj *""'"); 
   35786             :     }
   35787           0 :     arg1 = (shapeObj *)(argp1);
   35788           0 :     ecode2 = SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   35789           0 :     if (!SWIG_IsOK(ecode2)) {
   35790           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapeObj_index_set" "', argument " "2"" of type '" "long""'");
   35791             :     } 
   35792           0 :     arg2 = (long)(val2);
   35793           0 :     if (arg1) (arg1)->index = arg2;
   35794           0 :     ST(argvi) = sv_newmortal();
   35795             :     
   35796             :     
   35797           0 :     XSRETURN(argvi);
   35798             :   fail:
   35799             :     
   35800             :     
   35801           0 :     SWIG_croak_null();
   35802             :   }
   35803             : }
   35804             : 
   35805             : 
   35806           0 : XS(_wrap_shapeObj_index_get) {
   35807             :   {
   35808             :     shapeObj *arg1 = (shapeObj *) 0 ;
   35809           0 :     void *argp1 = 0 ;
   35810             :     int res1 = 0 ;
   35811             :     int argvi = 0;
   35812             :     long result;
   35813           0 :     dXSARGS;
   35814             :     
   35815           0 :     if ((items < 1) || (items > 1)) {
   35816           0 :       SWIG_croak("Usage: shapeObj_index_get(self);");
   35817             :     }
   35818           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   35819           0 :     if (!SWIG_IsOK(res1)) {
   35820           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_index_get" "', argument " "1"" of type '" "shapeObj *""'"); 
   35821             :     }
   35822           0 :     arg1 = (shapeObj *)(argp1);
   35823           0 :     result = (long) ((arg1)->index);
   35824           0 :     ST(argvi) = SWIG_From_long  SWIG_PERL_CALL_ARGS_1((long)(result)); argvi++ ;
   35825             :     
   35826           0 :     XSRETURN(argvi);
   35827             :   fail:
   35828             :     
   35829           0 :     SWIG_croak_null();
   35830             :   }
   35831             : }
   35832             : 
   35833             : 
   35834           0 : XS(_wrap_shapeObj_tileindex_set) {
   35835             :   {
   35836             :     shapeObj *arg1 = (shapeObj *) 0 ;
   35837             :     int arg2 ;
   35838           0 :     void *argp1 = 0 ;
   35839             :     int res1 = 0 ;
   35840             :     int val2 ;
   35841             :     int ecode2 = 0 ;
   35842             :     int argvi = 0;
   35843           0 :     dXSARGS;
   35844             :     
   35845           0 :     if ((items < 2) || (items > 2)) {
   35846           0 :       SWIG_croak("Usage: shapeObj_tileindex_set(self,tileindex);");
   35847             :     }
   35848           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   35849           0 :     if (!SWIG_IsOK(res1)) {
   35850           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_tileindex_set" "', argument " "1"" of type '" "shapeObj *""'"); 
   35851             :     }
   35852           0 :     arg1 = (shapeObj *)(argp1);
   35853           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   35854           0 :     if (!SWIG_IsOK(ecode2)) {
   35855           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapeObj_tileindex_set" "', argument " "2"" of type '" "int""'");
   35856             :     } 
   35857           0 :     arg2 = (int)(val2);
   35858           0 :     if (arg1) (arg1)->tileindex = arg2;
   35859           0 :     ST(argvi) = sv_newmortal();
   35860             :     
   35861             :     
   35862           0 :     XSRETURN(argvi);
   35863             :   fail:
   35864             :     
   35865             :     
   35866           0 :     SWIG_croak_null();
   35867             :   }
   35868             : }
   35869             : 
   35870             : 
   35871           0 : XS(_wrap_shapeObj_tileindex_get) {
   35872             :   {
   35873             :     shapeObj *arg1 = (shapeObj *) 0 ;
   35874           0 :     void *argp1 = 0 ;
   35875             :     int res1 = 0 ;
   35876             :     int argvi = 0;
   35877             :     int result;
   35878           0 :     dXSARGS;
   35879             :     
   35880           0 :     if ((items < 1) || (items > 1)) {
   35881           0 :       SWIG_croak("Usage: shapeObj_tileindex_get(self);");
   35882             :     }
   35883           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   35884           0 :     if (!SWIG_IsOK(res1)) {
   35885           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_tileindex_get" "', argument " "1"" of type '" "shapeObj *""'"); 
   35886             :     }
   35887           0 :     arg1 = (shapeObj *)(argp1);
   35888           0 :     result = (int) ((arg1)->tileindex);
   35889           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   35890             :     
   35891           0 :     XSRETURN(argvi);
   35892             :   fail:
   35893             :     
   35894           0 :     SWIG_croak_null();
   35895             :   }
   35896             : }
   35897             : 
   35898             : 
   35899           0 : XS(_wrap_shapeObj_classindex_set) {
   35900             :   {
   35901             :     shapeObj *arg1 = (shapeObj *) 0 ;
   35902             :     int arg2 ;
   35903           0 :     void *argp1 = 0 ;
   35904             :     int res1 = 0 ;
   35905             :     int val2 ;
   35906             :     int ecode2 = 0 ;
   35907             :     int argvi = 0;
   35908           0 :     dXSARGS;
   35909             :     
   35910           0 :     if ((items < 2) || (items > 2)) {
   35911           0 :       SWIG_croak("Usage: shapeObj_classindex_set(self,classindex);");
   35912             :     }
   35913           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   35914           0 :     if (!SWIG_IsOK(res1)) {
   35915           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_classindex_set" "', argument " "1"" of type '" "shapeObj *""'"); 
   35916             :     }
   35917           0 :     arg1 = (shapeObj *)(argp1);
   35918           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   35919           0 :     if (!SWIG_IsOK(ecode2)) {
   35920           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapeObj_classindex_set" "', argument " "2"" of type '" "int""'");
   35921             :     } 
   35922           0 :     arg2 = (int)(val2);
   35923           0 :     if (arg1) (arg1)->classindex = arg2;
   35924           0 :     ST(argvi) = sv_newmortal();
   35925             :     
   35926             :     
   35927           0 :     XSRETURN(argvi);
   35928             :   fail:
   35929             :     
   35930             :     
   35931           0 :     SWIG_croak_null();
   35932             :   }
   35933             : }
   35934             : 
   35935             : 
   35936           0 : XS(_wrap_shapeObj_classindex_get) {
   35937             :   {
   35938             :     shapeObj *arg1 = (shapeObj *) 0 ;
   35939           0 :     void *argp1 = 0 ;
   35940             :     int res1 = 0 ;
   35941             :     int argvi = 0;
   35942             :     int result;
   35943           0 :     dXSARGS;
   35944             :     
   35945           0 :     if ((items < 1) || (items > 1)) {
   35946           0 :       SWIG_croak("Usage: shapeObj_classindex_get(self);");
   35947             :     }
   35948           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   35949           0 :     if (!SWIG_IsOK(res1)) {
   35950           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_classindex_get" "', argument " "1"" of type '" "shapeObj *""'"); 
   35951             :     }
   35952           0 :     arg1 = (shapeObj *)(argp1);
   35953           0 :     result = (int) ((arg1)->classindex);
   35954           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   35955             :     
   35956           0 :     XSRETURN(argvi);
   35957             :   fail:
   35958             :     
   35959           0 :     SWIG_croak_null();
   35960             :   }
   35961             : }
   35962             : 
   35963             : 
   35964           0 : XS(_wrap_shapeObj_text_set) {
   35965             :   {
   35966             :     shapeObj *arg1 = (shapeObj *) 0 ;
   35967             :     char *arg2 = (char *) 0 ;
   35968           0 :     void *argp1 = 0 ;
   35969             :     int res1 = 0 ;
   35970             :     int res2 ;
   35971           0 :     char *buf2 = 0 ;
   35972           0 :     int alloc2 = 0 ;
   35973             :     int argvi = 0;
   35974           0 :     dXSARGS;
   35975             :     
   35976           0 :     if ((items < 2) || (items > 2)) {
   35977           0 :       SWIG_croak("Usage: shapeObj_text_set(self,text);");
   35978             :     }
   35979           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   35980           0 :     if (!SWIG_IsOK(res1)) {
   35981           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_text_set" "', argument " "1"" of type '" "shapeObj *""'"); 
   35982             :     }
   35983           0 :     arg1 = (shapeObj *)(argp1);
   35984           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   35985           0 :     if (!SWIG_IsOK(res2)) {
   35986           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_text_set" "', argument " "2"" of type '" "char *""'");
   35987             :     }
   35988           0 :     arg2 = (char *)(buf2);
   35989             :     {
   35990           0 :       if (arg1->text) free((char*)arg1->text);
   35991           0 :       if (arg2) {
   35992           0 :         arg1->text = (char *) malloc(strlen(arg2)+1);
   35993             :         strcpy((char*)arg1->text,arg2);
   35994             :       } else {
   35995           0 :         arg1->text = 0;
   35996             :       }
   35997             :     }
   35998           0 :     ST(argvi) = sv_newmortal();
   35999             :     
   36000           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   36001           0 :     XSRETURN(argvi);
   36002             :   fail:
   36003             :     
   36004           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   36005           0 :     SWIG_croak_null();
   36006             :   }
   36007             : }
   36008             : 
   36009             : 
   36010           0 : XS(_wrap_shapeObj_text_get) {
   36011             :   {
   36012             :     shapeObj *arg1 = (shapeObj *) 0 ;
   36013           0 :     void *argp1 = 0 ;
   36014             :     int res1 = 0 ;
   36015             :     int argvi = 0;
   36016             :     char *result = 0 ;
   36017           0 :     dXSARGS;
   36018             :     
   36019           0 :     if ((items < 1) || (items > 1)) {
   36020           0 :       SWIG_croak("Usage: shapeObj_text_get(self);");
   36021             :     }
   36022           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   36023           0 :     if (!SWIG_IsOK(res1)) {
   36024           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_text_get" "', argument " "1"" of type '" "shapeObj *""'"); 
   36025             :     }
   36026           0 :     arg1 = (shapeObj *)(argp1);
   36027           0 :     result = (char *) ((arg1)->text);
   36028           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   36029             :     
   36030           0 :     XSRETURN(argvi);
   36031             :   fail:
   36032             :     
   36033           0 :     SWIG_croak_null();
   36034             :   }
   36035             : }
   36036             : 
   36037             : 
   36038           0 : XS(_wrap_shapeObj_scratch_set) {
   36039             :   {
   36040             :     shapeObj *arg1 = (shapeObj *) 0 ;
   36041             :     int arg2 ;
   36042           0 :     void *argp1 = 0 ;
   36043             :     int res1 = 0 ;
   36044             :     int val2 ;
   36045             :     int ecode2 = 0 ;
   36046             :     int argvi = 0;
   36047           0 :     dXSARGS;
   36048             :     
   36049           0 :     if ((items < 2) || (items > 2)) {
   36050           0 :       SWIG_croak("Usage: shapeObj_scratch_set(self,scratch);");
   36051             :     }
   36052           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   36053           0 :     if (!SWIG_IsOK(res1)) {
   36054           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_scratch_set" "', argument " "1"" of type '" "shapeObj *""'"); 
   36055             :     }
   36056           0 :     arg1 = (shapeObj *)(argp1);
   36057           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   36058           0 :     if (!SWIG_IsOK(ecode2)) {
   36059           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapeObj_scratch_set" "', argument " "2"" of type '" "int""'");
   36060             :     } 
   36061           0 :     arg2 = (int)(val2);
   36062           0 :     if (arg1) (arg1)->scratch = arg2;
   36063           0 :     ST(argvi) = sv_newmortal();
   36064             :     
   36065             :     
   36066           0 :     XSRETURN(argvi);
   36067             :   fail:
   36068             :     
   36069             :     
   36070           0 :     SWIG_croak_null();
   36071             :   }
   36072             : }
   36073             : 
   36074             : 
   36075           0 : XS(_wrap_shapeObj_scratch_get) {
   36076             :   {
   36077             :     shapeObj *arg1 = (shapeObj *) 0 ;
   36078           0 :     void *argp1 = 0 ;
   36079             :     int res1 = 0 ;
   36080             :     int argvi = 0;
   36081             :     int result;
   36082           0 :     dXSARGS;
   36083             :     
   36084           0 :     if ((items < 1) || (items > 1)) {
   36085           0 :       SWIG_croak("Usage: shapeObj_scratch_get(self);");
   36086             :     }
   36087           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   36088           0 :     if (!SWIG_IsOK(res1)) {
   36089           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_scratch_get" "', argument " "1"" of type '" "shapeObj *""'"); 
   36090             :     }
   36091           0 :     arg1 = (shapeObj *)(argp1);
   36092           0 :     result = (int) ((arg1)->scratch);
   36093           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   36094             :     
   36095           0 :     XSRETURN(argvi);
   36096             :   fail:
   36097             :     
   36098           0 :     SWIG_croak_null();
   36099             :   }
   36100             : }
   36101             : 
   36102             : 
   36103           0 : XS(_wrap_shapeObj_resultindex_set) {
   36104             :   {
   36105             :     shapeObj *arg1 = (shapeObj *) 0 ;
   36106             :     int arg2 ;
   36107           0 :     void *argp1 = 0 ;
   36108             :     int res1 = 0 ;
   36109             :     int val2 ;
   36110             :     int ecode2 = 0 ;
   36111             :     int argvi = 0;
   36112           0 :     dXSARGS;
   36113             :     
   36114           0 :     if ((items < 2) || (items > 2)) {
   36115           0 :       SWIG_croak("Usage: shapeObj_resultindex_set(self,resultindex);");
   36116             :     }
   36117           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   36118           0 :     if (!SWIG_IsOK(res1)) {
   36119           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_resultindex_set" "', argument " "1"" of type '" "shapeObj *""'"); 
   36120             :     }
   36121           0 :     arg1 = (shapeObj *)(argp1);
   36122           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   36123           0 :     if (!SWIG_IsOK(ecode2)) {
   36124           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapeObj_resultindex_set" "', argument " "2"" of type '" "int""'");
   36125             :     } 
   36126           0 :     arg2 = (int)(val2);
   36127           0 :     if (arg1) (arg1)->resultindex = arg2;
   36128           0 :     ST(argvi) = sv_newmortal();
   36129             :     
   36130             :     
   36131           0 :     XSRETURN(argvi);
   36132             :   fail:
   36133             :     
   36134             :     
   36135           0 :     SWIG_croak_null();
   36136             :   }
   36137             : }
   36138             : 
   36139             : 
   36140           0 : XS(_wrap_shapeObj_resultindex_get) {
   36141             :   {
   36142             :     shapeObj *arg1 = (shapeObj *) 0 ;
   36143           0 :     void *argp1 = 0 ;
   36144             :     int res1 = 0 ;
   36145             :     int argvi = 0;
   36146             :     int result;
   36147           0 :     dXSARGS;
   36148             :     
   36149           0 :     if ((items < 1) || (items > 1)) {
   36150           0 :       SWIG_croak("Usage: shapeObj_resultindex_get(self);");
   36151             :     }
   36152           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   36153           0 :     if (!SWIG_IsOK(res1)) {
   36154           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_resultindex_get" "', argument " "1"" of type '" "shapeObj *""'"); 
   36155             :     }
   36156           0 :     arg1 = (shapeObj *)(argp1);
   36157           0 :     result = (int) ((arg1)->resultindex);
   36158           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   36159             :     
   36160           0 :     XSRETURN(argvi);
   36161             :   fail:
   36162             :     
   36163           0 :     SWIG_croak_null();
   36164             :   }
   36165             : }
   36166             : 
   36167             : 
   36168           1 : XS(_wrap_new_shapeObj) {
   36169             :   {
   36170             :     int arg1 = (int) MS_SHAPE_NULL ;
   36171             :     int val1 ;
   36172             :     int ecode1 = 0 ;
   36173             :     int argvi = 0;
   36174             :     shapeObj *result = 0 ;
   36175           1 :     dXSARGS;
   36176             :     
   36177           1 :     if ((items < 0) || (items > 1)) {
   36178           0 :       SWIG_croak("Usage: new_shapeObj(type);");
   36179             :     }
   36180           1 :     if (items > 0) {
   36181           1 :       ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
   36182           1 :       if (!SWIG_IsOK(ecode1)) {
   36183           0 :         SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_shapeObj" "', argument " "1"" of type '" "int""'");
   36184             :       } 
   36185           1 :       arg1 = (int)(val1);
   36186             :     }
   36187           1 :     result = (shapeObj *)new_shapeObj(arg1);
   36188           1 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   36189             :     
   36190           1 :     XSRETURN(argvi);
   36191             :   fail:
   36192             :     
   36193           0 :     SWIG_croak_null();
   36194             :   }
   36195             : }
   36196             : 
   36197             : 
   36198           1 : XS(_wrap_delete_shapeObj) {
   36199             :   {
   36200             :     shapeObj *arg1 = (shapeObj *) 0 ;
   36201           1 :     void *argp1 = 0 ;
   36202             :     int res1 = 0 ;
   36203             :     int argvi = 0;
   36204           1 :     dXSARGS;
   36205             :     
   36206           1 :     if ((items < 1) || (items > 1)) {
   36207           0 :       SWIG_croak("Usage: delete_shapeObj(self);");
   36208             :     }
   36209           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, SWIG_POINTER_DISOWN |  0 );
   36210           1 :     if (!SWIG_IsOK(res1)) {
   36211           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_shapeObj" "', argument " "1"" of type '" "shapeObj *""'"); 
   36212             :     }
   36213           1 :     arg1 = (shapeObj *)(argp1);
   36214             :     delete_shapeObj(arg1);
   36215           1 :     ST(argvi) = sv_newmortal();
   36216             :     
   36217           1 :     XSRETURN(argvi);
   36218             :   fail:
   36219             :     
   36220           0 :     SWIG_croak_null();
   36221             :   }
   36222             : }
   36223             : 
   36224             : 
   36225           1 : XS(_wrap_shapeObj_fromWKT) {
   36226             :   {
   36227             :     char *arg1 = (char *) 0 ;
   36228             :     int res1 ;
   36229           1 :     char *buf1 = 0 ;
   36230           1 :     int alloc1 = 0 ;
   36231             :     int argvi = 0;
   36232             :     shapeObj *result = 0 ;
   36233           1 :     dXSARGS;
   36234             :     
   36235           1 :     if ((items < 1) || (items > 1)) {
   36236           0 :       SWIG_croak("Usage: shapeObj_fromWKT(wkt);");
   36237             :     }
   36238           1 :     res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
   36239           1 :     if (!SWIG_IsOK(res1)) {
   36240           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_fromWKT" "', argument " "1"" of type '" "char *""'");
   36241             :     }
   36242           1 :     arg1 = (char *)(buf1);
   36243             :     result = (shapeObj *)shapeObj_fromWKT(arg1);
   36244           1 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   36245           1 :     if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
   36246           1 :     XSRETURN(argvi);
   36247             :   fail:
   36248           0 :     if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
   36249           0 :     SWIG_croak_null();
   36250             :   }
   36251             : }
   36252             : 
   36253             : 
   36254           0 : XS(_wrap_shapeObj_project) {
   36255             :   {
   36256             :     shapeObj *arg1 = (shapeObj *) 0 ;
   36257             :     projectionObj *arg2 = (projectionObj *) 0 ;
   36258             :     projectionObj *arg3 = (projectionObj *) 0 ;
   36259           0 :     void *argp1 = 0 ;
   36260             :     int res1 = 0 ;
   36261           0 :     void *argp2 = 0 ;
   36262             :     int res2 = 0 ;
   36263           0 :     void *argp3 = 0 ;
   36264             :     int res3 = 0 ;
   36265             :     int argvi = 0;
   36266             :     int result;
   36267           0 :     dXSARGS;
   36268             :     
   36269           0 :     if ((items < 3) || (items > 3)) {
   36270           0 :       SWIG_croak("Usage: shapeObj_project(self,projin,projout);");
   36271             :     }
   36272           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   36273           0 :     if (!SWIG_IsOK(res1)) {
   36274           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_project" "', argument " "1"" of type '" "shapeObj *""'"); 
   36275             :     }
   36276           0 :     arg1 = (shapeObj *)(argp1);
   36277           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_projectionObj, 0 |  0 );
   36278           0 :     if (!SWIG_IsOK(res2)) {
   36279           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_project" "', argument " "2"" of type '" "projectionObj *""'"); 
   36280             :     }
   36281           0 :     arg2 = (projectionObj *)(argp2);
   36282           0 :     res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_projectionObj, 0 |  0 );
   36283           0 :     if (!SWIG_IsOK(res3)) {
   36284           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "shapeObj_project" "', argument " "3"" of type '" "projectionObj *""'"); 
   36285             :     }
   36286           0 :     arg3 = (projectionObj *)(argp3);
   36287             :     result = (int)shapeObj_project(arg1,arg2,arg3);
   36288           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   36289             :     
   36290             :     
   36291             :     
   36292           0 :     XSRETURN(argvi);
   36293             :   fail:
   36294             :     
   36295             :     
   36296             :     
   36297           0 :     SWIG_croak_null();
   36298             :   }
   36299             : }
   36300             : 
   36301             : 
   36302           1 : XS(_wrap_shapeObj_get) {
   36303             :   {
   36304             :     shapeObj *arg1 = (shapeObj *) 0 ;
   36305             :     int arg2 ;
   36306           1 :     void *argp1 = 0 ;
   36307             :     int res1 = 0 ;
   36308             :     int val2 ;
   36309             :     int ecode2 = 0 ;
   36310             :     int argvi = 0;
   36311             :     lineObj *result = 0 ;
   36312           1 :     dXSARGS;
   36313             :     
   36314           1 :     if ((items < 2) || (items > 2)) {
   36315           0 :       SWIG_croak("Usage: shapeObj_get(self,i);");
   36316             :     }
   36317           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   36318           1 :     if (!SWIG_IsOK(res1)) {
   36319           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_get" "', argument " "1"" of type '" "shapeObj *""'"); 
   36320             :     }
   36321           1 :     arg1 = (shapeObj *)(argp1);
   36322           1 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   36323           1 :     if (!SWIG_IsOK(ecode2)) {
   36324           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapeObj_get" "', argument " "2"" of type '" "int""'");
   36325             :     } 
   36326           1 :     arg2 = (int)(val2);
   36327             :     result = (lineObj *)shapeObj_get(arg1,arg2);
   36328           1 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_lineObj, 0 | SWIG_SHADOW); argvi++ ;
   36329             :     
   36330             :     
   36331           1 :     XSRETURN(argvi);
   36332             :   fail:
   36333             :     
   36334             :     
   36335           0 :     SWIG_croak_null();
   36336             :   }
   36337             : }
   36338             : 
   36339             : 
   36340           1 : XS(_wrap_shapeObj_add) {
   36341             :   {
   36342             :     shapeObj *arg1 = (shapeObj *) 0 ;
   36343             :     lineObj *arg2 = (lineObj *) 0 ;
   36344           1 :     void *argp1 = 0 ;
   36345             :     int res1 = 0 ;
   36346           1 :     void *argp2 = 0 ;
   36347             :     int res2 = 0 ;
   36348             :     int argvi = 0;
   36349             :     int result;
   36350           1 :     dXSARGS;
   36351             :     
   36352           1 :     if ((items < 2) || (items > 2)) {
   36353           0 :       SWIG_croak("Usage: shapeObj_add(self,line);");
   36354             :     }
   36355           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   36356           1 :     if (!SWIG_IsOK(res1)) {
   36357           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_add" "', argument " "1"" of type '" "shapeObj *""'"); 
   36358             :     }
   36359           1 :     arg1 = (shapeObj *)(argp1);
   36360           1 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_lineObj, 0 |  0 );
   36361           1 :     if (!SWIG_IsOK(res2)) {
   36362           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_add" "', argument " "2"" of type '" "lineObj *""'"); 
   36363             :     }
   36364           1 :     arg2 = (lineObj *)(argp2);
   36365             :     result = (int)shapeObj_add(arg1,arg2);
   36366           1 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   36367             :     
   36368             :     
   36369           1 :     XSRETURN(argvi);
   36370             :   fail:
   36371             :     
   36372             :     
   36373           0 :     SWIG_croak_null();
   36374             :   }
   36375             : }
   36376             : 
   36377             : 
   36378           0 : XS(_wrap_shapeObj_draw) {
   36379             :   {
   36380             :     shapeObj *arg1 = (shapeObj *) 0 ;
   36381             :     mapObj *arg2 = (mapObj *) 0 ;
   36382             :     layerObj *arg3 = (layerObj *) 0 ;
   36383             :     imageObj *arg4 = (imageObj *) 0 ;
   36384           0 :     void *argp1 = 0 ;
   36385             :     int res1 = 0 ;
   36386           0 :     void *argp2 = 0 ;
   36387             :     int res2 = 0 ;
   36388           0 :     void *argp3 = 0 ;
   36389             :     int res3 = 0 ;
   36390           0 :     void *argp4 = 0 ;
   36391             :     int res4 = 0 ;
   36392             :     int argvi = 0;
   36393             :     int result;
   36394           0 :     dXSARGS;
   36395             :     
   36396           0 :     if ((items < 4) || (items > 4)) {
   36397           0 :       SWIG_croak("Usage: shapeObj_draw(self,map,layer,image);");
   36398             :     }
   36399           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   36400           0 :     if (!SWIG_IsOK(res1)) {
   36401           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_draw" "', argument " "1"" of type '" "shapeObj *""'"); 
   36402             :     }
   36403           0 :     arg1 = (shapeObj *)(argp1);
   36404           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 |  0 );
   36405           0 :     if (!SWIG_IsOK(res2)) {
   36406           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_draw" "', argument " "2"" of type '" "mapObj *""'"); 
   36407             :     }
   36408           0 :     arg2 = (mapObj *)(argp2);
   36409           0 :     res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_layerObj, 0 |  0 );
   36410           0 :     if (!SWIG_IsOK(res3)) {
   36411           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "shapeObj_draw" "', argument " "3"" of type '" "layerObj *""'"); 
   36412             :     }
   36413           0 :     arg3 = (layerObj *)(argp3);
   36414           0 :     res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_imageObj, 0 |  0 );
   36415           0 :     if (!SWIG_IsOK(res4)) {
   36416           0 :       SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "shapeObj_draw" "', argument " "4"" of type '" "imageObj *""'"); 
   36417             :     }
   36418           0 :     arg4 = (imageObj *)(argp4);
   36419             :     result = (int)shapeObj_draw(arg1,arg2,arg3,arg4);
   36420           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   36421             :     
   36422             :     
   36423             :     
   36424             :     
   36425           0 :     XSRETURN(argvi);
   36426             :   fail:
   36427             :     
   36428             :     
   36429             :     
   36430             :     
   36431           0 :     SWIG_croak_null();
   36432             :   }
   36433             : }
   36434             : 
   36435             : 
   36436           0 : XS(_wrap_shapeObj_setBounds) {
   36437             :   {
   36438             :     shapeObj *arg1 = (shapeObj *) 0 ;
   36439           0 :     void *argp1 = 0 ;
   36440             :     int res1 = 0 ;
   36441             :     int argvi = 0;
   36442           0 :     dXSARGS;
   36443             :     
   36444           0 :     if ((items < 1) || (items > 1)) {
   36445           0 :       SWIG_croak("Usage: shapeObj_setBounds(self);");
   36446             :     }
   36447           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   36448           0 :     if (!SWIG_IsOK(res1)) {
   36449           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_setBounds" "', argument " "1"" of type '" "shapeObj *""'"); 
   36450             :     }
   36451           0 :     arg1 = (shapeObj *)(argp1);
   36452             :     shapeObj_setBounds(arg1);
   36453           0 :     ST(argvi) = sv_newmortal();
   36454             :     
   36455           0 :     XSRETURN(argvi);
   36456             :   fail:
   36457             :     
   36458           0 :     SWIG_croak_null();
   36459             :   }
   36460             : }
   36461             : 
   36462             : 
   36463           0 : XS(_wrap_shapeObj_clone) {
   36464             :   {
   36465             :     shapeObj *arg1 = (shapeObj *) 0 ;
   36466           0 :     void *argp1 = 0 ;
   36467             :     int res1 = 0 ;
   36468             :     int argvi = 0;
   36469             :     shapeObj *result = 0 ;
   36470           0 :     dXSARGS;
   36471             :     
   36472           0 :     if ((items < 1) || (items > 1)) {
   36473           0 :       SWIG_croak("Usage: shapeObj_clone(self);");
   36474             :     }
   36475           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   36476           0 :     if (!SWIG_IsOK(res1)) {
   36477           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_clone" "', argument " "1"" of type '" "shapeObj *""'"); 
   36478             :     }
   36479           0 :     arg1 = (shapeObj *)(argp1);
   36480           0 :     result = (shapeObj *)shapeObj_clone(arg1);
   36481           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   36482             :     
   36483           0 :     XSRETURN(argvi);
   36484             :   fail:
   36485             :     
   36486           0 :     SWIG_croak_null();
   36487             :   }
   36488             : }
   36489             : 
   36490             : 
   36491           0 : XS(_wrap_shapeObj_copy) {
   36492             :   {
   36493             :     shapeObj *arg1 = (shapeObj *) 0 ;
   36494             :     shapeObj *arg2 = (shapeObj *) 0 ;
   36495           0 :     void *argp1 = 0 ;
   36496             :     int res1 = 0 ;
   36497           0 :     void *argp2 = 0 ;
   36498             :     int res2 = 0 ;
   36499             :     int argvi = 0;
   36500             :     int result;
   36501           0 :     dXSARGS;
   36502             :     
   36503           0 :     if ((items < 2) || (items > 2)) {
   36504           0 :       SWIG_croak("Usage: shapeObj_copy(self,dest);");
   36505             :     }
   36506           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   36507           0 :     if (!SWIG_IsOK(res1)) {
   36508           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_copy" "', argument " "1"" of type '" "shapeObj *""'"); 
   36509             :     }
   36510           0 :     arg1 = (shapeObj *)(argp1);
   36511           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 |  0 );
   36512           0 :     if (!SWIG_IsOK(res2)) {
   36513           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_copy" "', argument " "2"" of type '" "shapeObj *""'"); 
   36514             :     }
   36515           0 :     arg2 = (shapeObj *)(argp2);
   36516             :     result = (int)shapeObj_copy(arg1,arg2);
   36517           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   36518             :     
   36519             :     
   36520           0 :     XSRETURN(argvi);
   36521             :   fail:
   36522             :     
   36523             :     
   36524           0 :     SWIG_croak_null();
   36525             :   }
   36526             : }
   36527             : 
   36528             : 
   36529           1 : XS(_wrap_shapeObj_toWKT) {
   36530             :   {
   36531             :     shapeObj *arg1 = (shapeObj *) 0 ;
   36532           1 :     void *argp1 = 0 ;
   36533             :     int res1 = 0 ;
   36534             :     int argvi = 0;
   36535             :     char *result = 0 ;
   36536           1 :     dXSARGS;
   36537             :     
   36538           1 :     if ((items < 1) || (items > 1)) {
   36539           0 :       SWIG_croak("Usage: shapeObj_toWKT(self);");
   36540             :     }
   36541           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   36542           1 :     if (!SWIG_IsOK(res1)) {
   36543           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_toWKT" "', argument " "1"" of type '" "shapeObj *""'"); 
   36544             :     }
   36545           1 :     arg1 = (shapeObj *)(argp1);
   36546             :     result = (char *)shapeObj_toWKT(arg1);
   36547           1 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   36548             :     
   36549           1 :     free((char*)result);
   36550           1 :     XSRETURN(argvi);
   36551             :   fail:
   36552             :     
   36553           0 :     SWIG_croak_null();
   36554             :   }
   36555             : }
   36556             : 
   36557             : 
   36558           0 : XS(_wrap_shapeObj_buffer) {
   36559             :   {
   36560             :     shapeObj *arg1 = (shapeObj *) 0 ;
   36561             :     double arg2 ;
   36562           0 :     void *argp1 = 0 ;
   36563             :     int res1 = 0 ;
   36564             :     double val2 ;
   36565             :     int ecode2 = 0 ;
   36566             :     int argvi = 0;
   36567             :     shapeObj *result = 0 ;
   36568           0 :     dXSARGS;
   36569             :     
   36570           0 :     if ((items < 2) || (items > 2)) {
   36571           0 :       SWIG_croak("Usage: shapeObj_buffer(self,width);");
   36572             :     }
   36573           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   36574           0 :     if (!SWIG_IsOK(res1)) {
   36575           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_buffer" "', argument " "1"" of type '" "shapeObj *""'"); 
   36576             :     }
   36577           0 :     arg1 = (shapeObj *)(argp1);
   36578           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   36579           0 :     if (!SWIG_IsOK(ecode2)) {
   36580           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapeObj_buffer" "', argument " "2"" of type '" "double""'");
   36581             :     } 
   36582           0 :     arg2 = (double)(val2);
   36583             :     result = (shapeObj *)shapeObj_buffer(arg1,arg2);
   36584           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   36585             :     
   36586             :     
   36587           0 :     XSRETURN(argvi);
   36588             :   fail:
   36589             :     
   36590             :     
   36591           0 :     SWIG_croak_null();
   36592             :   }
   36593             : }
   36594             : 
   36595             : 
   36596           0 : XS(_wrap_shapeObj_simplify) {
   36597             :   {
   36598             :     shapeObj *arg1 = (shapeObj *) 0 ;
   36599             :     double arg2 ;
   36600           0 :     void *argp1 = 0 ;
   36601             :     int res1 = 0 ;
   36602             :     double val2 ;
   36603             :     int ecode2 = 0 ;
   36604             :     int argvi = 0;
   36605             :     shapeObj *result = 0 ;
   36606           0 :     dXSARGS;
   36607             :     
   36608           0 :     if ((items < 2) || (items > 2)) {
   36609           0 :       SWIG_croak("Usage: shapeObj_simplify(self,tolerance);");
   36610             :     }
   36611           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   36612           0 :     if (!SWIG_IsOK(res1)) {
   36613           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_simplify" "', argument " "1"" of type '" "shapeObj *""'"); 
   36614             :     }
   36615           0 :     arg1 = (shapeObj *)(argp1);
   36616           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   36617           0 :     if (!SWIG_IsOK(ecode2)) {
   36618           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapeObj_simplify" "', argument " "2"" of type '" "double""'");
   36619             :     } 
   36620           0 :     arg2 = (double)(val2);
   36621             :     result = (shapeObj *)shapeObj_simplify(arg1,arg2);
   36622           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   36623             :     
   36624             :     
   36625           0 :     XSRETURN(argvi);
   36626             :   fail:
   36627             :     
   36628             :     
   36629           0 :     SWIG_croak_null();
   36630             :   }
   36631             : }
   36632             : 
   36633             : 
   36634           0 : XS(_wrap_shapeObj_topologyPreservingSimplify) {
   36635             :   {
   36636             :     shapeObj *arg1 = (shapeObj *) 0 ;
   36637             :     double arg2 ;
   36638           0 :     void *argp1 = 0 ;
   36639             :     int res1 = 0 ;
   36640             :     double val2 ;
   36641             :     int ecode2 = 0 ;
   36642             :     int argvi = 0;
   36643             :     shapeObj *result = 0 ;
   36644           0 :     dXSARGS;
   36645             :     
   36646           0 :     if ((items < 2) || (items > 2)) {
   36647           0 :       SWIG_croak("Usage: shapeObj_topologyPreservingSimplify(self,tolerance);");
   36648             :     }
   36649           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   36650           0 :     if (!SWIG_IsOK(res1)) {
   36651           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_topologyPreservingSimplify" "', argument " "1"" of type '" "shapeObj *""'"); 
   36652             :     }
   36653           0 :     arg1 = (shapeObj *)(argp1);
   36654           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   36655           0 :     if (!SWIG_IsOK(ecode2)) {
   36656           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapeObj_topologyPreservingSimplify" "', argument " "2"" of type '" "double""'");
   36657             :     } 
   36658           0 :     arg2 = (double)(val2);
   36659             :     result = (shapeObj *)shapeObj_topologyPreservingSimplify(arg1,arg2);
   36660           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   36661             :     
   36662             :     
   36663           0 :     XSRETURN(argvi);
   36664             :   fail:
   36665             :     
   36666             :     
   36667           0 :     SWIG_croak_null();
   36668             :   }
   36669             : }
   36670             : 
   36671             : 
   36672           0 : XS(_wrap_shapeObj_convexHull) {
   36673             :   {
   36674             :     shapeObj *arg1 = (shapeObj *) 0 ;
   36675           0 :     void *argp1 = 0 ;
   36676             :     int res1 = 0 ;
   36677             :     int argvi = 0;
   36678             :     shapeObj *result = 0 ;
   36679           0 :     dXSARGS;
   36680             :     
   36681           0 :     if ((items < 1) || (items > 1)) {
   36682           0 :       SWIG_croak("Usage: shapeObj_convexHull(self);");
   36683             :     }
   36684           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   36685           0 :     if (!SWIG_IsOK(res1)) {
   36686           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_convexHull" "', argument " "1"" of type '" "shapeObj *""'"); 
   36687             :     }
   36688           0 :     arg1 = (shapeObj *)(argp1);
   36689             :     result = (shapeObj *)shapeObj_convexHull(arg1);
   36690           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   36691             :     
   36692           0 :     XSRETURN(argvi);
   36693             :   fail:
   36694             :     
   36695           0 :     SWIG_croak_null();
   36696             :   }
   36697             : }
   36698             : 
   36699             : 
   36700           0 : XS(_wrap_shapeObj_boundary) {
   36701             :   {
   36702             :     shapeObj *arg1 = (shapeObj *) 0 ;
   36703           0 :     void *argp1 = 0 ;
   36704             :     int res1 = 0 ;
   36705             :     int argvi = 0;
   36706             :     shapeObj *result = 0 ;
   36707           0 :     dXSARGS;
   36708             :     
   36709           0 :     if ((items < 1) || (items > 1)) {
   36710           0 :       SWIG_croak("Usage: shapeObj_boundary(self);");
   36711             :     }
   36712           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   36713           0 :     if (!SWIG_IsOK(res1)) {
   36714           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_boundary" "', argument " "1"" of type '" "shapeObj *""'"); 
   36715             :     }
   36716           0 :     arg1 = (shapeObj *)(argp1);
   36717             :     result = (shapeObj *)shapeObj_boundary(arg1);
   36718           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   36719             :     
   36720           0 :     XSRETURN(argvi);
   36721             :   fail:
   36722             :     
   36723           0 :     SWIG_croak_null();
   36724             :   }
   36725             : }
   36726             : 
   36727             : 
   36728           0 : XS(_wrap_shapeObj_getCentroid) {
   36729             :   {
   36730             :     shapeObj *arg1 = (shapeObj *) 0 ;
   36731           0 :     void *argp1 = 0 ;
   36732             :     int res1 = 0 ;
   36733             :     int argvi = 0;
   36734             :     pointObj *result = 0 ;
   36735           0 :     dXSARGS;
   36736             :     
   36737           0 :     if ((items < 1) || (items > 1)) {
   36738           0 :       SWIG_croak("Usage: shapeObj_getCentroid(self);");
   36739             :     }
   36740           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   36741           0 :     if (!SWIG_IsOK(res1)) {
   36742           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_getCentroid" "', argument " "1"" of type '" "shapeObj *""'"); 
   36743             :     }
   36744           0 :     arg1 = (shapeObj *)(argp1);
   36745             :     result = (pointObj *)shapeObj_getCentroid(arg1);
   36746           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pointObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   36747             :     
   36748           0 :     XSRETURN(argvi);
   36749             :   fail:
   36750             :     
   36751           0 :     SWIG_croak_null();
   36752             :   }
   36753             : }
   36754             : 
   36755             : 
   36756           0 : XS(_wrap_shapeObj_Union) {
   36757             :   {
   36758             :     shapeObj *arg1 = (shapeObj *) 0 ;
   36759             :     shapeObj *arg2 = (shapeObj *) 0 ;
   36760           0 :     void *argp1 = 0 ;
   36761             :     int res1 = 0 ;
   36762           0 :     void *argp2 = 0 ;
   36763             :     int res2 = 0 ;
   36764             :     int argvi = 0;
   36765             :     shapeObj *result = 0 ;
   36766           0 :     dXSARGS;
   36767             :     
   36768           0 :     if ((items < 2) || (items > 2)) {
   36769           0 :       SWIG_croak("Usage: shapeObj_Union(self,shape);");
   36770             :     }
   36771           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   36772           0 :     if (!SWIG_IsOK(res1)) {
   36773           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_Union" "', argument " "1"" of type '" "shapeObj *""'"); 
   36774             :     }
   36775           0 :     arg1 = (shapeObj *)(argp1);
   36776           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 |  0 );
   36777           0 :     if (!SWIG_IsOK(res2)) {
   36778           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_Union" "', argument " "2"" of type '" "shapeObj *""'"); 
   36779             :     }
   36780           0 :     arg2 = (shapeObj *)(argp2);
   36781             :     result = (shapeObj *)shapeObj_Union(arg1,arg2);
   36782           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   36783             :     
   36784             :     
   36785           0 :     XSRETURN(argvi);
   36786             :   fail:
   36787             :     
   36788             :     
   36789           0 :     SWIG_croak_null();
   36790             :   }
   36791             : }
   36792             : 
   36793             : 
   36794           0 : XS(_wrap_shapeObj_intersection) {
   36795             :   {
   36796             :     shapeObj *arg1 = (shapeObj *) 0 ;
   36797             :     shapeObj *arg2 = (shapeObj *) 0 ;
   36798           0 :     void *argp1 = 0 ;
   36799             :     int res1 = 0 ;
   36800           0 :     void *argp2 = 0 ;
   36801             :     int res2 = 0 ;
   36802             :     int argvi = 0;
   36803             :     shapeObj *result = 0 ;
   36804           0 :     dXSARGS;
   36805             :     
   36806           0 :     if ((items < 2) || (items > 2)) {
   36807           0 :       SWIG_croak("Usage: shapeObj_intersection(self,shape);");
   36808             :     }
   36809           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   36810           0 :     if (!SWIG_IsOK(res1)) {
   36811           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_intersection" "', argument " "1"" of type '" "shapeObj *""'"); 
   36812             :     }
   36813           0 :     arg1 = (shapeObj *)(argp1);
   36814           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 |  0 );
   36815           0 :     if (!SWIG_IsOK(res2)) {
   36816           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_intersection" "', argument " "2"" of type '" "shapeObj *""'"); 
   36817             :     }
   36818           0 :     arg2 = (shapeObj *)(argp2);
   36819             :     result = (shapeObj *)shapeObj_intersection(arg1,arg2);
   36820           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   36821             :     
   36822             :     
   36823           0 :     XSRETURN(argvi);
   36824             :   fail:
   36825             :     
   36826             :     
   36827           0 :     SWIG_croak_null();
   36828             :   }
   36829             : }
   36830             : 
   36831             : 
   36832           0 : XS(_wrap_shapeObj_difference) {
   36833             :   {
   36834             :     shapeObj *arg1 = (shapeObj *) 0 ;
   36835             :     shapeObj *arg2 = (shapeObj *) 0 ;
   36836           0 :     void *argp1 = 0 ;
   36837             :     int res1 = 0 ;
   36838           0 :     void *argp2 = 0 ;
   36839             :     int res2 = 0 ;
   36840             :     int argvi = 0;
   36841             :     shapeObj *result = 0 ;
   36842           0 :     dXSARGS;
   36843             :     
   36844           0 :     if ((items < 2) || (items > 2)) {
   36845           0 :       SWIG_croak("Usage: shapeObj_difference(self,shape);");
   36846             :     }
   36847           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   36848           0 :     if (!SWIG_IsOK(res1)) {
   36849           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_difference" "', argument " "1"" of type '" "shapeObj *""'"); 
   36850             :     }
   36851           0 :     arg1 = (shapeObj *)(argp1);
   36852           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 |  0 );
   36853           0 :     if (!SWIG_IsOK(res2)) {
   36854           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_difference" "', argument " "2"" of type '" "shapeObj *""'"); 
   36855             :     }
   36856           0 :     arg2 = (shapeObj *)(argp2);
   36857             :     result = (shapeObj *)shapeObj_difference(arg1,arg2);
   36858           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   36859             :     
   36860             :     
   36861           0 :     XSRETURN(argvi);
   36862             :   fail:
   36863             :     
   36864             :     
   36865           0 :     SWIG_croak_null();
   36866             :   }
   36867             : }
   36868             : 
   36869             : 
   36870           0 : XS(_wrap_shapeObj_symDifference) {
   36871             :   {
   36872             :     shapeObj *arg1 = (shapeObj *) 0 ;
   36873             :     shapeObj *arg2 = (shapeObj *) 0 ;
   36874           0 :     void *argp1 = 0 ;
   36875             :     int res1 = 0 ;
   36876           0 :     void *argp2 = 0 ;
   36877             :     int res2 = 0 ;
   36878             :     int argvi = 0;
   36879             :     shapeObj *result = 0 ;
   36880           0 :     dXSARGS;
   36881             :     
   36882           0 :     if ((items < 2) || (items > 2)) {
   36883           0 :       SWIG_croak("Usage: shapeObj_symDifference(self,shape);");
   36884             :     }
   36885           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   36886           0 :     if (!SWIG_IsOK(res1)) {
   36887           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_symDifference" "', argument " "1"" of type '" "shapeObj *""'"); 
   36888             :     }
   36889           0 :     arg1 = (shapeObj *)(argp1);
   36890           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 |  0 );
   36891           0 :     if (!SWIG_IsOK(res2)) {
   36892           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_symDifference" "', argument " "2"" of type '" "shapeObj *""'"); 
   36893             :     }
   36894           0 :     arg2 = (shapeObj *)(argp2);
   36895             :     result = (shapeObj *)shapeObj_symDifference(arg1,arg2);
   36896           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   36897             :     
   36898             :     
   36899           0 :     XSRETURN(argvi);
   36900             :   fail:
   36901             :     
   36902             :     
   36903           0 :     SWIG_croak_null();
   36904             :   }
   36905             : }
   36906             : 
   36907             : 
   36908           0 : XS(_wrap_shapeObj_contains__SWIG_0) {
   36909             :   {
   36910             :     shapeObj *arg1 = (shapeObj *) 0 ;
   36911             :     shapeObj *arg2 = (shapeObj *) 0 ;
   36912           0 :     void *argp1 = 0 ;
   36913             :     int res1 = 0 ;
   36914           0 :     void *argp2 = 0 ;
   36915             :     int res2 = 0 ;
   36916             :     int argvi = 0;
   36917             :     int result;
   36918           0 :     dXSARGS;
   36919             :     
   36920           0 :     if ((items < 2) || (items > 2)) {
   36921           0 :       SWIG_croak("Usage: shapeObj_contains(self,shape);");
   36922             :     }
   36923           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   36924           0 :     if (!SWIG_IsOK(res1)) {
   36925           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_contains" "', argument " "1"" of type '" "shapeObj *""'"); 
   36926             :     }
   36927           0 :     arg1 = (shapeObj *)(argp1);
   36928           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 |  0 );
   36929           0 :     if (!SWIG_IsOK(res2)) {
   36930           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_contains" "', argument " "2"" of type '" "shapeObj *""'"); 
   36931             :     }
   36932           0 :     arg2 = (shapeObj *)(argp2);
   36933             :     result = (int)shapeObj_contains__SWIG_0(arg1,arg2);
   36934           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   36935             :     
   36936             :     
   36937           0 :     XSRETURN(argvi);
   36938             :   fail:
   36939             :     
   36940             :     
   36941           0 :     SWIG_croak_null();
   36942             :   }
   36943             : }
   36944             : 
   36945             : 
   36946           0 : XS(_wrap_shapeObj_overlaps) {
   36947             :   {
   36948             :     shapeObj *arg1 = (shapeObj *) 0 ;
   36949             :     shapeObj *arg2 = (shapeObj *) 0 ;
   36950           0 :     void *argp1 = 0 ;
   36951             :     int res1 = 0 ;
   36952           0 :     void *argp2 = 0 ;
   36953             :     int res2 = 0 ;
   36954             :     int argvi = 0;
   36955             :     int result;
   36956           0 :     dXSARGS;
   36957             :     
   36958           0 :     if ((items < 2) || (items > 2)) {
   36959           0 :       SWIG_croak("Usage: shapeObj_overlaps(self,shape);");
   36960             :     }
   36961           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   36962           0 :     if (!SWIG_IsOK(res1)) {
   36963           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_overlaps" "', argument " "1"" of type '" "shapeObj *""'"); 
   36964             :     }
   36965           0 :     arg1 = (shapeObj *)(argp1);
   36966           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 |  0 );
   36967           0 :     if (!SWIG_IsOK(res2)) {
   36968           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_overlaps" "', argument " "2"" of type '" "shapeObj *""'"); 
   36969             :     }
   36970           0 :     arg2 = (shapeObj *)(argp2);
   36971             :     result = (int)shapeObj_overlaps(arg1,arg2);
   36972           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   36973             :     
   36974             :     
   36975           0 :     XSRETURN(argvi);
   36976             :   fail:
   36977             :     
   36978             :     
   36979           0 :     SWIG_croak_null();
   36980             :   }
   36981             : }
   36982             : 
   36983             : 
   36984           1 : XS(_wrap_shapeObj_within) {
   36985             :   {
   36986             :     shapeObj *arg1 = (shapeObj *) 0 ;
   36987             :     shapeObj *arg2 = (shapeObj *) 0 ;
   36988           1 :     void *argp1 = 0 ;
   36989             :     int res1 = 0 ;
   36990           1 :     void *argp2 = 0 ;
   36991             :     int res2 = 0 ;
   36992             :     int argvi = 0;
   36993             :     int result;
   36994           1 :     dXSARGS;
   36995             :     
   36996           1 :     if ((items < 2) || (items > 2)) {
   36997           0 :       SWIG_croak("Usage: shapeObj_within(self,shape);");
   36998             :     }
   36999           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   37000           1 :     if (!SWIG_IsOK(res1)) {
   37001           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_within" "', argument " "1"" of type '" "shapeObj *""'"); 
   37002             :     }
   37003           1 :     arg1 = (shapeObj *)(argp1);
   37004           1 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 |  0 );
   37005           1 :     if (!SWIG_IsOK(res2)) {
   37006           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_within" "', argument " "2"" of type '" "shapeObj *""'"); 
   37007             :     }
   37008           1 :     arg2 = (shapeObj *)(argp2);
   37009             :     result = (int)shapeObj_within(arg1,arg2);
   37010           1 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   37011             :     
   37012             :     
   37013           1 :     XSRETURN(argvi);
   37014             :   fail:
   37015             :     
   37016             :     
   37017           0 :     SWIG_croak_null();
   37018             :   }
   37019             : }
   37020             : 
   37021             : 
   37022           0 : XS(_wrap_shapeObj_crosses) {
   37023             :   {
   37024             :     shapeObj *arg1 = (shapeObj *) 0 ;
   37025             :     shapeObj *arg2 = (shapeObj *) 0 ;
   37026           0 :     void *argp1 = 0 ;
   37027             :     int res1 = 0 ;
   37028           0 :     void *argp2 = 0 ;
   37029             :     int res2 = 0 ;
   37030             :     int argvi = 0;
   37031             :     int result;
   37032           0 :     dXSARGS;
   37033             :     
   37034           0 :     if ((items < 2) || (items > 2)) {
   37035           0 :       SWIG_croak("Usage: shapeObj_crosses(self,shape);");
   37036             :     }
   37037           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   37038           0 :     if (!SWIG_IsOK(res1)) {
   37039           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_crosses" "', argument " "1"" of type '" "shapeObj *""'"); 
   37040             :     }
   37041           0 :     arg1 = (shapeObj *)(argp1);
   37042           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 |  0 );
   37043           0 :     if (!SWIG_IsOK(res2)) {
   37044           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_crosses" "', argument " "2"" of type '" "shapeObj *""'"); 
   37045             :     }
   37046           0 :     arg2 = (shapeObj *)(argp2);
   37047             :     result = (int)shapeObj_crosses(arg1,arg2);
   37048           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   37049             :     
   37050             :     
   37051           0 :     XSRETURN(argvi);
   37052             :   fail:
   37053             :     
   37054             :     
   37055           0 :     SWIG_croak_null();
   37056             :   }
   37057             : }
   37058             : 
   37059             : 
   37060           0 : XS(_wrap_shapeObj_intersects) {
   37061             :   {
   37062             :     shapeObj *arg1 = (shapeObj *) 0 ;
   37063             :     shapeObj *arg2 = (shapeObj *) 0 ;
   37064           0 :     void *argp1 = 0 ;
   37065             :     int res1 = 0 ;
   37066           0 :     void *argp2 = 0 ;
   37067             :     int res2 = 0 ;
   37068             :     int argvi = 0;
   37069             :     int result;
   37070           0 :     dXSARGS;
   37071             :     
   37072           0 :     if ((items < 2) || (items > 2)) {
   37073           0 :       SWIG_croak("Usage: shapeObj_intersects(self,shape);");
   37074             :     }
   37075           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   37076           0 :     if (!SWIG_IsOK(res1)) {
   37077           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_intersects" "', argument " "1"" of type '" "shapeObj *""'"); 
   37078             :     }
   37079           0 :     arg1 = (shapeObj *)(argp1);
   37080           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 |  0 );
   37081           0 :     if (!SWIG_IsOK(res2)) {
   37082           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_intersects" "', argument " "2"" of type '" "shapeObj *""'"); 
   37083             :     }
   37084           0 :     arg2 = (shapeObj *)(argp2);
   37085             :     result = (int)shapeObj_intersects(arg1,arg2);
   37086           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   37087             :     
   37088             :     
   37089           0 :     XSRETURN(argvi);
   37090             :   fail:
   37091             :     
   37092             :     
   37093           0 :     SWIG_croak_null();
   37094             :   }
   37095             : }
   37096             : 
   37097             : 
   37098           0 : XS(_wrap_shapeObj_touches) {
   37099             :   {
   37100             :     shapeObj *arg1 = (shapeObj *) 0 ;
   37101             :     shapeObj *arg2 = (shapeObj *) 0 ;
   37102           0 :     void *argp1 = 0 ;
   37103             :     int res1 = 0 ;
   37104           0 :     void *argp2 = 0 ;
   37105             :     int res2 = 0 ;
   37106             :     int argvi = 0;
   37107             :     int result;
   37108           0 :     dXSARGS;
   37109             :     
   37110           0 :     if ((items < 2) || (items > 2)) {
   37111           0 :       SWIG_croak("Usage: shapeObj_touches(self,shape);");
   37112             :     }
   37113           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   37114           0 :     if (!SWIG_IsOK(res1)) {
   37115           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_touches" "', argument " "1"" of type '" "shapeObj *""'"); 
   37116             :     }
   37117           0 :     arg1 = (shapeObj *)(argp1);
   37118           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 |  0 );
   37119           0 :     if (!SWIG_IsOK(res2)) {
   37120           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_touches" "', argument " "2"" of type '" "shapeObj *""'"); 
   37121             :     }
   37122           0 :     arg2 = (shapeObj *)(argp2);
   37123             :     result = (int)shapeObj_touches(arg1,arg2);
   37124           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   37125             :     
   37126             :     
   37127           0 :     XSRETURN(argvi);
   37128             :   fail:
   37129             :     
   37130             :     
   37131           0 :     SWIG_croak_null();
   37132             :   }
   37133             : }
   37134             : 
   37135             : 
   37136           0 : XS(_wrap_shapeObj_equals) {
   37137             :   {
   37138             :     shapeObj *arg1 = (shapeObj *) 0 ;
   37139             :     shapeObj *arg2 = (shapeObj *) 0 ;
   37140           0 :     void *argp1 = 0 ;
   37141             :     int res1 = 0 ;
   37142           0 :     void *argp2 = 0 ;
   37143             :     int res2 = 0 ;
   37144             :     int argvi = 0;
   37145             :     int result;
   37146           0 :     dXSARGS;
   37147             :     
   37148           0 :     if ((items < 2) || (items > 2)) {
   37149           0 :       SWIG_croak("Usage: shapeObj_equals(self,shape);");
   37150             :     }
   37151           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   37152           0 :     if (!SWIG_IsOK(res1)) {
   37153           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_equals" "', argument " "1"" of type '" "shapeObj *""'"); 
   37154             :     }
   37155           0 :     arg1 = (shapeObj *)(argp1);
   37156           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 |  0 );
   37157           0 :     if (!SWIG_IsOK(res2)) {
   37158           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_equals" "', argument " "2"" of type '" "shapeObj *""'"); 
   37159             :     }
   37160           0 :     arg2 = (shapeObj *)(argp2);
   37161             :     result = (int)shapeObj_equals(arg1,arg2);
   37162           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   37163             :     
   37164             :     
   37165           0 :     XSRETURN(argvi);
   37166             :   fail:
   37167             :     
   37168             :     
   37169           0 :     SWIG_croak_null();
   37170             :   }
   37171             : }
   37172             : 
   37173             : 
   37174           0 : XS(_wrap_shapeObj_disjoint) {
   37175             :   {
   37176             :     shapeObj *arg1 = (shapeObj *) 0 ;
   37177             :     shapeObj *arg2 = (shapeObj *) 0 ;
   37178           0 :     void *argp1 = 0 ;
   37179             :     int res1 = 0 ;
   37180           0 :     void *argp2 = 0 ;
   37181             :     int res2 = 0 ;
   37182             :     int argvi = 0;
   37183             :     int result;
   37184           0 :     dXSARGS;
   37185             :     
   37186           0 :     if ((items < 2) || (items > 2)) {
   37187           0 :       SWIG_croak("Usage: shapeObj_disjoint(self,shape);");
   37188             :     }
   37189           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   37190           0 :     if (!SWIG_IsOK(res1)) {
   37191           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_disjoint" "', argument " "1"" of type '" "shapeObj *""'"); 
   37192             :     }
   37193           0 :     arg1 = (shapeObj *)(argp1);
   37194           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 |  0 );
   37195           0 :     if (!SWIG_IsOK(res2)) {
   37196           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_disjoint" "', argument " "2"" of type '" "shapeObj *""'"); 
   37197             :     }
   37198           0 :     arg2 = (shapeObj *)(argp2);
   37199             :     result = (int)shapeObj_disjoint(arg1,arg2);
   37200           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   37201             :     
   37202             :     
   37203           0 :     XSRETURN(argvi);
   37204             :   fail:
   37205             :     
   37206             :     
   37207           0 :     SWIG_croak_null();
   37208             :   }
   37209             : }
   37210             : 
   37211             : 
   37212           0 : XS(_wrap_shapeObj_getArea) {
   37213             :   {
   37214             :     shapeObj *arg1 = (shapeObj *) 0 ;
   37215           0 :     void *argp1 = 0 ;
   37216             :     int res1 = 0 ;
   37217             :     int argvi = 0;
   37218             :     double result;
   37219           0 :     dXSARGS;
   37220             :     
   37221           0 :     if ((items < 1) || (items > 1)) {
   37222           0 :       SWIG_croak("Usage: shapeObj_getArea(self);");
   37223             :     }
   37224           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   37225           0 :     if (!SWIG_IsOK(res1)) {
   37226           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_getArea" "', argument " "1"" of type '" "shapeObj *""'"); 
   37227             :     }
   37228           0 :     arg1 = (shapeObj *)(argp1);
   37229             :     result = (double)shapeObj_getArea(arg1);
   37230           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   37231             :     
   37232           0 :     XSRETURN(argvi);
   37233             :   fail:
   37234             :     
   37235           0 :     SWIG_croak_null();
   37236             :   }
   37237             : }
   37238             : 
   37239             : 
   37240           0 : XS(_wrap_shapeObj_getLength) {
   37241             :   {
   37242             :     shapeObj *arg1 = (shapeObj *) 0 ;
   37243           0 :     void *argp1 = 0 ;
   37244             :     int res1 = 0 ;
   37245             :     int argvi = 0;
   37246             :     double result;
   37247           0 :     dXSARGS;
   37248             :     
   37249           0 :     if ((items < 1) || (items > 1)) {
   37250           0 :       SWIG_croak("Usage: shapeObj_getLength(self);");
   37251             :     }
   37252           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   37253           0 :     if (!SWIG_IsOK(res1)) {
   37254           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_getLength" "', argument " "1"" of type '" "shapeObj *""'"); 
   37255             :     }
   37256           0 :     arg1 = (shapeObj *)(argp1);
   37257             :     result = (double)shapeObj_getLength(arg1);
   37258           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   37259             :     
   37260           0 :     XSRETURN(argvi);
   37261             :   fail:
   37262             :     
   37263           0 :     SWIG_croak_null();
   37264             :   }
   37265             : }
   37266             : 
   37267             : 
   37268           0 : XS(_wrap_shapeObj_getValue) {
   37269             :   {
   37270             :     shapeObj *arg1 = (shapeObj *) 0 ;
   37271             :     int arg2 ;
   37272           0 :     void *argp1 = 0 ;
   37273             :     int res1 = 0 ;
   37274             :     int val2 ;
   37275             :     int ecode2 = 0 ;
   37276             :     int argvi = 0;
   37277             :     char *result = 0 ;
   37278           0 :     dXSARGS;
   37279             :     
   37280           0 :     if ((items < 2) || (items > 2)) {
   37281           0 :       SWIG_croak("Usage: shapeObj_getValue(self,i);");
   37282             :     }
   37283           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   37284           0 :     if (!SWIG_IsOK(res1)) {
   37285           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_getValue" "', argument " "1"" of type '" "shapeObj *""'"); 
   37286             :     }
   37287           0 :     arg1 = (shapeObj *)(argp1);
   37288           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   37289           0 :     if (!SWIG_IsOK(ecode2)) {
   37290           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapeObj_getValue" "', argument " "2"" of type '" "int""'");
   37291             :     } 
   37292           0 :     arg2 = (int)(val2);
   37293             :     result = (char *)shapeObj_getValue(arg1,arg2);
   37294           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   37295             :     
   37296             :     
   37297           0 :     XSRETURN(argvi);
   37298             :   fail:
   37299             :     
   37300             :     
   37301           0 :     SWIG_croak_null();
   37302             :   }
   37303             : }
   37304             : 
   37305             : 
   37306           0 : XS(_wrap_shapeObj_contains__SWIG_1) {
   37307             :   {
   37308             :     shapeObj *arg1 = (shapeObj *) 0 ;
   37309             :     pointObj *arg2 = (pointObj *) 0 ;
   37310           0 :     void *argp1 = 0 ;
   37311             :     int res1 = 0 ;
   37312           0 :     void *argp2 = 0 ;
   37313             :     int res2 = 0 ;
   37314             :     int argvi = 0;
   37315             :     int result;
   37316           0 :     dXSARGS;
   37317             :     
   37318           0 :     if ((items < 2) || (items > 2)) {
   37319           0 :       SWIG_croak("Usage: shapeObj_contains(self,point);");
   37320             :     }
   37321           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   37322           0 :     if (!SWIG_IsOK(res1)) {
   37323           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_contains" "', argument " "1"" of type '" "shapeObj *""'"); 
   37324             :     }
   37325           0 :     arg1 = (shapeObj *)(argp1);
   37326           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_pointObj, 0 |  0 );
   37327           0 :     if (!SWIG_IsOK(res2)) {
   37328           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_contains" "', argument " "2"" of type '" "pointObj *""'"); 
   37329             :     }
   37330           0 :     arg2 = (pointObj *)(argp2);
   37331             :     result = (int)shapeObj_contains__SWIG_1(arg1,arg2);
   37332           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   37333             :     
   37334             :     
   37335           0 :     XSRETURN(argvi);
   37336             :   fail:
   37337             :     
   37338             :     
   37339           0 :     SWIG_croak_null();
   37340             :   }
   37341             : }
   37342             : 
   37343             : 
   37344           0 : XS(_wrap_shapeObj_contains) {
   37345           0 :   dXSARGS;
   37346             :   
   37347             :   {
   37348             :     unsigned long _index = 0;
   37349             :     SWIG_TypeRank _rank = 0; 
   37350           0 :     if (items == 2) {
   37351             :       SWIG_TypeRank _ranki = 0;
   37352             :       SWIG_TypeRank _rankm = 0;
   37353             :       SWIG_TypeRank _pi = 1;
   37354             :       int _v = 0;
   37355             :       {
   37356           0 :         void *vptr = 0;
   37357           0 :         int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_shapeObj, 0);
   37358             :         _v = SWIG_CheckState(res);
   37359             :       }
   37360           0 :       if (!_v) goto check_1;
   37361           0 :       _ranki += _v*_pi;
   37362             :       _rankm += _pi;
   37363             :       _pi *= SWIG_MAXCASTRANK;
   37364             :       {
   37365           0 :         void *vptr = 0;
   37366           0 :         int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_shapeObj, 0);
   37367             :         _v = SWIG_CheckState(res);
   37368             :       }
   37369           0 :       if (!_v) goto check_1;
   37370           0 :       _ranki += _v*_pi;
   37371             :       _rankm += _pi;
   37372             :       _pi *= SWIG_MAXCASTRANK;
   37373             :       if (!_index || (_ranki < _rank)) {
   37374             :         _rank = _ranki; _index = 1;
   37375           0 :         if (_rank == _rankm) goto dispatch;
   37376             :       }
   37377             :     }
   37378             :   check_1:
   37379             :     
   37380           0 :     if (items == 2) {
   37381             :       SWIG_TypeRank _ranki = 0;
   37382             :       SWIG_TypeRank _rankm = 0;
   37383             :       SWIG_TypeRank _pi = 1;
   37384             :       int _v = 0;
   37385             :       {
   37386           0 :         void *vptr = 0;
   37387           0 :         int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_shapeObj, 0);
   37388             :         _v = SWIG_CheckState(res);
   37389             :       }
   37390           0 :       if (!_v) goto check_2;
   37391           0 :       _ranki += _v*_pi;
   37392             :       _rankm += _pi;
   37393             :       _pi *= SWIG_MAXCASTRANK;
   37394             :       {
   37395           0 :         void *vptr = 0;
   37396           0 :         int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_pointObj, 0);
   37397             :         _v = SWIG_CheckState(res);
   37398             :       }
   37399           0 :       if (!_v) goto check_2;
   37400           0 :       _ranki += _v*_pi;
   37401             :       _rankm += _pi;
   37402             :       _pi *= SWIG_MAXCASTRANK;
   37403           0 :       if (!_index || (_ranki < _rank)) {
   37404             :         _rank = _ranki; _index = 2;
   37405             :         if (_rank == _rankm) goto dispatch;
   37406             :       }
   37407             :     }
   37408             :   check_2:
   37409             :     
   37410             :   dispatch:
   37411           0 :     switch(_index) {
   37412             :     case 1:
   37413           0 :       PUSHMARK(MARK); SWIG_CALLXS(_wrap_shapeObj_contains__SWIG_0); return;
   37414             :     case 2:
   37415           0 :       PUSHMARK(MARK); SWIG_CALLXS(_wrap_shapeObj_contains__SWIG_1); return;
   37416             :     }
   37417             :   }
   37418             :   
   37419           0 :   croak("No matching function for overloaded 'shapeObj_contains'");
   37420             :   XSRETURN(0);
   37421             : }
   37422             : 
   37423             : 
   37424           0 : XS(_wrap_shapeObj_distanceToPoint) {
   37425             :   {
   37426             :     shapeObj *arg1 = (shapeObj *) 0 ;
   37427             :     pointObj *arg2 = (pointObj *) 0 ;
   37428           0 :     void *argp1 = 0 ;
   37429             :     int res1 = 0 ;
   37430           0 :     void *argp2 = 0 ;
   37431             :     int res2 = 0 ;
   37432             :     int argvi = 0;
   37433             :     double result;
   37434           0 :     dXSARGS;
   37435             :     
   37436           0 :     if ((items < 2) || (items > 2)) {
   37437           0 :       SWIG_croak("Usage: shapeObj_distanceToPoint(self,point);");
   37438             :     }
   37439           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   37440           0 :     if (!SWIG_IsOK(res1)) {
   37441           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_distanceToPoint" "', argument " "1"" of type '" "shapeObj *""'"); 
   37442             :     }
   37443           0 :     arg1 = (shapeObj *)(argp1);
   37444           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_pointObj, 0 |  0 );
   37445           0 :     if (!SWIG_IsOK(res2)) {
   37446           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_distanceToPoint" "', argument " "2"" of type '" "pointObj *""'"); 
   37447             :     }
   37448           0 :     arg2 = (pointObj *)(argp2);
   37449             :     result = (double)shapeObj_distanceToPoint(arg1,arg2);
   37450           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   37451             :     
   37452             :     
   37453           0 :     XSRETURN(argvi);
   37454             :   fail:
   37455             :     
   37456             :     
   37457           0 :     SWIG_croak_null();
   37458             :   }
   37459             : }
   37460             : 
   37461             : 
   37462           0 : XS(_wrap_shapeObj_distanceToShape) {
   37463             :   {
   37464             :     shapeObj *arg1 = (shapeObj *) 0 ;
   37465             :     shapeObj *arg2 = (shapeObj *) 0 ;
   37466           0 :     void *argp1 = 0 ;
   37467             :     int res1 = 0 ;
   37468           0 :     void *argp2 = 0 ;
   37469             :     int res2 = 0 ;
   37470             :     int argvi = 0;
   37471             :     double result;
   37472           0 :     dXSARGS;
   37473             :     
   37474           0 :     if ((items < 2) || (items > 2)) {
   37475           0 :       SWIG_croak("Usage: shapeObj_distanceToShape(self,shape);");
   37476             :     }
   37477           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   37478           0 :     if (!SWIG_IsOK(res1)) {
   37479           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_distanceToShape" "', argument " "1"" of type '" "shapeObj *""'"); 
   37480             :     }
   37481           0 :     arg1 = (shapeObj *)(argp1);
   37482           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 |  0 );
   37483           0 :     if (!SWIG_IsOK(res2)) {
   37484           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_distanceToShape" "', argument " "2"" of type '" "shapeObj *""'"); 
   37485             :     }
   37486           0 :     arg2 = (shapeObj *)(argp2);
   37487             :     result = (double)shapeObj_distanceToShape(arg1,arg2);
   37488           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   37489             :     
   37490             :     
   37491           0 :     XSRETURN(argvi);
   37492             :   fail:
   37493             :     
   37494             :     
   37495           0 :     SWIG_croak_null();
   37496             :   }
   37497             : }
   37498             : 
   37499             : 
   37500           0 : XS(_wrap_shapeObj_getLabelPoint) {
   37501             :   {
   37502             :     shapeObj *arg1 = (shapeObj *) 0 ;
   37503           0 :     void *argp1 = 0 ;
   37504             :     int res1 = 0 ;
   37505             :     int argvi = 0;
   37506             :     pointObj *result = 0 ;
   37507           0 :     dXSARGS;
   37508             :     
   37509           0 :     if ((items < 1) || (items > 1)) {
   37510           0 :       SWIG_croak("Usage: shapeObj_getLabelPoint(self);");
   37511             :     }
   37512           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   37513           0 :     if (!SWIG_IsOK(res1)) {
   37514           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_getLabelPoint" "', argument " "1"" of type '" "shapeObj *""'"); 
   37515             :     }
   37516           0 :     arg1 = (shapeObj *)(argp1);
   37517           0 :     result = (pointObj *)shapeObj_getLabelPoint(arg1);
   37518           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pointObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   37519             :     
   37520           0 :     XSRETURN(argvi);
   37521             :   fail:
   37522             :     
   37523           0 :     SWIG_croak_null();
   37524             :   }
   37525             : }
   37526             : 
   37527             : 
   37528           0 : XS(_wrap_shapeObj_setValue) {
   37529             :   {
   37530           0 :     shapeObj *arg1 = (shapeObj *) 0 ;
   37531             :     int arg2 ;
   37532             :     char *arg3 = (char *) 0 ;
   37533           0 :     void *argp1 = 0 ;
   37534             :     int res1 = 0 ;
   37535             :     int val2 ;
   37536             :     int ecode2 = 0 ;
   37537             :     int res3 ;
   37538           0 :     char *buf3 = 0 ;
   37539           0 :     int alloc3 = 0 ;
   37540             :     int argvi = 0;
   37541             :     int result;
   37542           0 :     dXSARGS;
   37543             :     
   37544           0 :     if ((items < 3) || (items > 3)) {
   37545           0 :       SWIG_croak("Usage: shapeObj_setValue(self,i,value);");
   37546             :     }
   37547           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   37548           0 :     if (!SWIG_IsOK(res1)) {
   37549           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_setValue" "', argument " "1"" of type '" "shapeObj *""'"); 
   37550             :     }
   37551           0 :     arg1 = (shapeObj *)(argp1);
   37552           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   37553           0 :     if (!SWIG_IsOK(ecode2)) {
   37554           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapeObj_setValue" "', argument " "2"" of type '" "int""'");
   37555             :     } 
   37556           0 :     arg2 = (int)(val2);
   37557           0 :     res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
   37558           0 :     if (!SWIG_IsOK(res3)) {
   37559           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "shapeObj_setValue" "', argument " "3"" of type '" "char *""'");
   37560             :     }
   37561           0 :     arg3 = (char *)(buf3);
   37562           0 :     result = (int)shapeObj_setValue(arg1,arg2,arg3);
   37563           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   37564             :     
   37565             :     
   37566           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   37567           0 :     XSRETURN(argvi);
   37568             :   fail:
   37569             :     
   37570             :     
   37571           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   37572           0 :     SWIG_croak_null();
   37573             :   }
   37574             : }
   37575             : 
   37576             : 
   37577           0 : XS(_wrap_shapeObj_initValues) {
   37578             :   {
   37579             :     shapeObj *arg1 = (shapeObj *) 0 ;
   37580             :     int arg2 ;
   37581           0 :     void *argp1 = 0 ;
   37582             :     int res1 = 0 ;
   37583             :     int val2 ;
   37584             :     int ecode2 = 0 ;
   37585             :     int argvi = 0;
   37586           0 :     dXSARGS;
   37587             :     
   37588           0 :     if ((items < 2) || (items > 2)) {
   37589           0 :       SWIG_croak("Usage: shapeObj_initValues(self,numvalues);");
   37590             :     }
   37591           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   37592           0 :     if (!SWIG_IsOK(res1)) {
   37593           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_initValues" "', argument " "1"" of type '" "shapeObj *""'"); 
   37594             :     }
   37595           0 :     arg1 = (shapeObj *)(argp1);
   37596           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   37597           0 :     if (!SWIG_IsOK(ecode2)) {
   37598           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapeObj_initValues" "', argument " "2"" of type '" "int""'");
   37599             :     } 
   37600           0 :     arg2 = (int)(val2);
   37601           0 :     shapeObj_initValues(arg1,arg2);
   37602           0 :     ST(argvi) = sv_newmortal();
   37603             :     
   37604             :     
   37605           0 :     XSRETURN(argvi);
   37606             :   fail:
   37607             :     
   37608             :     
   37609           0 :     SWIG_croak_null();
   37610             :   }
   37611             : }
   37612             : 
   37613             : 
   37614           0 : XS(_wrap_DBFInfo_fp_get) {
   37615             :   {
   37616             :     DBFInfo *arg1 = (DBFInfo *) 0 ;
   37617           0 :     void *argp1 = 0 ;
   37618             :     int res1 = 0 ;
   37619             :     int argvi = 0;
   37620             :     FILE *result = 0 ;
   37621           0 :     dXSARGS;
   37622             :     
   37623           0 :     if ((items < 1) || (items > 1)) {
   37624           0 :       SWIG_croak("Usage: DBFInfo_fp_get(self);");
   37625             :     }
   37626           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 |  0 );
   37627           0 :     if (!SWIG_IsOK(res1)) {
   37628           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_fp_get" "', argument " "1"" of type '" "DBFInfo *""'"); 
   37629             :     }
   37630           0 :     arg1 = (DBFInfo *)(argp1);
   37631           0 :     result = (FILE *) ((arg1)->fp);
   37632           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FILE, 0 | 0); argvi++ ;
   37633             :     
   37634           0 :     XSRETURN(argvi);
   37635             :   fail:
   37636             :     
   37637           0 :     SWIG_croak_null();
   37638             :   }
   37639             : }
   37640             : 
   37641             : 
   37642           0 : XS(_wrap_DBFInfo_nRecords_get) {
   37643             :   {
   37644             :     DBFInfo *arg1 = (DBFInfo *) 0 ;
   37645           0 :     void *argp1 = 0 ;
   37646             :     int res1 = 0 ;
   37647             :     int argvi = 0;
   37648             :     int result;
   37649           0 :     dXSARGS;
   37650             :     
   37651           0 :     if ((items < 1) || (items > 1)) {
   37652           0 :       SWIG_croak("Usage: DBFInfo_nRecords_get(self);");
   37653             :     }
   37654           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 |  0 );
   37655           0 :     if (!SWIG_IsOK(res1)) {
   37656           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_nRecords_get" "', argument " "1"" of type '" "DBFInfo *""'"); 
   37657             :     }
   37658           0 :     arg1 = (DBFInfo *)(argp1);
   37659           0 :     result = (int) ((arg1)->nRecords);
   37660           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   37661             :     
   37662           0 :     XSRETURN(argvi);
   37663             :   fail:
   37664             :     
   37665           0 :     SWIG_croak_null();
   37666             :   }
   37667             : }
   37668             : 
   37669             : 
   37670           0 : XS(_wrap_DBFInfo_nRecordLength_get) {
   37671             :   {
   37672             :     DBFInfo *arg1 = (DBFInfo *) 0 ;
   37673           0 :     void *argp1 = 0 ;
   37674             :     int res1 = 0 ;
   37675             :     int argvi = 0;
   37676             :     unsigned int result;
   37677           0 :     dXSARGS;
   37678             :     
   37679           0 :     if ((items < 1) || (items > 1)) {
   37680           0 :       SWIG_croak("Usage: DBFInfo_nRecordLength_get(self);");
   37681             :     }
   37682           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 |  0 );
   37683           0 :     if (!SWIG_IsOK(res1)) {
   37684           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_nRecordLength_get" "', argument " "1"" of type '" "DBFInfo *""'"); 
   37685             :     }
   37686           0 :     arg1 = (DBFInfo *)(argp1);
   37687           0 :     result = (unsigned int) ((arg1)->nRecordLength);
   37688           0 :     ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1((unsigned int)(result)); argvi++ ;
   37689             :     
   37690           0 :     XSRETURN(argvi);
   37691             :   fail:
   37692             :     
   37693           0 :     SWIG_croak_null();
   37694             :   }
   37695             : }
   37696             : 
   37697             : 
   37698           0 : XS(_wrap_DBFInfo_nHeaderLength_get) {
   37699             :   {
   37700             :     DBFInfo *arg1 = (DBFInfo *) 0 ;
   37701           0 :     void *argp1 = 0 ;
   37702             :     int res1 = 0 ;
   37703             :     int argvi = 0;
   37704             :     int result;
   37705           0 :     dXSARGS;
   37706             :     
   37707           0 :     if ((items < 1) || (items > 1)) {
   37708           0 :       SWIG_croak("Usage: DBFInfo_nHeaderLength_get(self);");
   37709             :     }
   37710           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 |  0 );
   37711           0 :     if (!SWIG_IsOK(res1)) {
   37712           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_nHeaderLength_get" "', argument " "1"" of type '" "DBFInfo *""'"); 
   37713             :     }
   37714           0 :     arg1 = (DBFInfo *)(argp1);
   37715           0 :     result = (int) ((arg1)->nHeaderLength);
   37716           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   37717             :     
   37718           0 :     XSRETURN(argvi);
   37719             :   fail:
   37720             :     
   37721           0 :     SWIG_croak_null();
   37722             :   }
   37723             : }
   37724             : 
   37725             : 
   37726           0 : XS(_wrap_DBFInfo_nFields_get) {
   37727             :   {
   37728             :     DBFInfo *arg1 = (DBFInfo *) 0 ;
   37729           0 :     void *argp1 = 0 ;
   37730             :     int res1 = 0 ;
   37731             :     int argvi = 0;
   37732             :     int result;
   37733           0 :     dXSARGS;
   37734             :     
   37735           0 :     if ((items < 1) || (items > 1)) {
   37736           0 :       SWIG_croak("Usage: DBFInfo_nFields_get(self);");
   37737             :     }
   37738           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 |  0 );
   37739           0 :     if (!SWIG_IsOK(res1)) {
   37740           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_nFields_get" "', argument " "1"" of type '" "DBFInfo *""'"); 
   37741             :     }
   37742           0 :     arg1 = (DBFInfo *)(argp1);
   37743           0 :     result = (int) ((arg1)->nFields);
   37744           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   37745             :     
   37746           0 :     XSRETURN(argvi);
   37747             :   fail:
   37748             :     
   37749           0 :     SWIG_croak_null();
   37750             :   }
   37751             : }
   37752             : 
   37753             : 
   37754           0 : XS(_wrap_DBFInfo_panFieldOffset_get) {
   37755             :   {
   37756             :     DBFInfo *arg1 = (DBFInfo *) 0 ;
   37757           0 :     void *argp1 = 0 ;
   37758             :     int res1 = 0 ;
   37759             :     int argvi = 0;
   37760             :     int *result = 0 ;
   37761           0 :     dXSARGS;
   37762             :     
   37763           0 :     if ((items < 1) || (items > 1)) {
   37764           0 :       SWIG_croak("Usage: DBFInfo_panFieldOffset_get(self);");
   37765             :     }
   37766           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 |  0 );
   37767           0 :     if (!SWIG_IsOK(res1)) {
   37768           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_panFieldOffset_get" "', argument " "1"" of type '" "DBFInfo *""'"); 
   37769             :     }
   37770           0 :     arg1 = (DBFInfo *)(argp1);
   37771           0 :     result = (int *) ((arg1)->panFieldOffset);
   37772           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0); argvi++ ;
   37773             :     
   37774           0 :     XSRETURN(argvi);
   37775             :   fail:
   37776             :     
   37777           0 :     SWIG_croak_null();
   37778             :   }
   37779             : }
   37780             : 
   37781             : 
   37782           0 : XS(_wrap_DBFInfo_panFieldSize_get) {
   37783             :   {
   37784             :     DBFInfo *arg1 = (DBFInfo *) 0 ;
   37785           0 :     void *argp1 = 0 ;
   37786             :     int res1 = 0 ;
   37787             :     int argvi = 0;
   37788             :     int *result = 0 ;
   37789           0 :     dXSARGS;
   37790             :     
   37791           0 :     if ((items < 1) || (items > 1)) {
   37792           0 :       SWIG_croak("Usage: DBFInfo_panFieldSize_get(self);");
   37793             :     }
   37794           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 |  0 );
   37795           0 :     if (!SWIG_IsOK(res1)) {
   37796           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_panFieldSize_get" "', argument " "1"" of type '" "DBFInfo *""'"); 
   37797             :     }
   37798           0 :     arg1 = (DBFInfo *)(argp1);
   37799           0 :     result = (int *) ((arg1)->panFieldSize);
   37800           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0); argvi++ ;
   37801             :     
   37802           0 :     XSRETURN(argvi);
   37803             :   fail:
   37804             :     
   37805           0 :     SWIG_croak_null();
   37806             :   }
   37807             : }
   37808             : 
   37809             : 
   37810           0 : XS(_wrap_DBFInfo_panFieldDecimals_get) {
   37811             :   {
   37812             :     DBFInfo *arg1 = (DBFInfo *) 0 ;
   37813           0 :     void *argp1 = 0 ;
   37814             :     int res1 = 0 ;
   37815             :     int argvi = 0;
   37816             :     int *result = 0 ;
   37817           0 :     dXSARGS;
   37818             :     
   37819           0 :     if ((items < 1) || (items > 1)) {
   37820           0 :       SWIG_croak("Usage: DBFInfo_panFieldDecimals_get(self);");
   37821             :     }
   37822           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 |  0 );
   37823           0 :     if (!SWIG_IsOK(res1)) {
   37824           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_panFieldDecimals_get" "', argument " "1"" of type '" "DBFInfo *""'"); 
   37825             :     }
   37826           0 :     arg1 = (DBFInfo *)(argp1);
   37827           0 :     result = (int *) ((arg1)->panFieldDecimals);
   37828           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0); argvi++ ;
   37829             :     
   37830           0 :     XSRETURN(argvi);
   37831             :   fail:
   37832             :     
   37833           0 :     SWIG_croak_null();
   37834             :   }
   37835             : }
   37836             : 
   37837             : 
   37838           0 : XS(_wrap_DBFInfo_pachFieldType_get) {
   37839             :   {
   37840             :     DBFInfo *arg1 = (DBFInfo *) 0 ;
   37841           0 :     void *argp1 = 0 ;
   37842             :     int res1 = 0 ;
   37843             :     int argvi = 0;
   37844             :     char *result = 0 ;
   37845           0 :     dXSARGS;
   37846             :     
   37847           0 :     if ((items < 1) || (items > 1)) {
   37848           0 :       SWIG_croak("Usage: DBFInfo_pachFieldType_get(self);");
   37849             :     }
   37850           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 |  0 );
   37851           0 :     if (!SWIG_IsOK(res1)) {
   37852           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_pachFieldType_get" "', argument " "1"" of type '" "DBFInfo *""'"); 
   37853             :     }
   37854           0 :     arg1 = (DBFInfo *)(argp1);
   37855           0 :     result = (char *) ((arg1)->pachFieldType);
   37856           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   37857             :     
   37858           0 :     XSRETURN(argvi);
   37859             :   fail:
   37860             :     
   37861           0 :     SWIG_croak_null();
   37862             :   }
   37863             : }
   37864             : 
   37865             : 
   37866           0 : XS(_wrap_DBFInfo_pszHeader_get) {
   37867             :   {
   37868             :     DBFInfo *arg1 = (DBFInfo *) 0 ;
   37869           0 :     void *argp1 = 0 ;
   37870             :     int res1 = 0 ;
   37871             :     int argvi = 0;
   37872             :     char *result = 0 ;
   37873           0 :     dXSARGS;
   37874             :     
   37875           0 :     if ((items < 1) || (items > 1)) {
   37876           0 :       SWIG_croak("Usage: DBFInfo_pszHeader_get(self);");
   37877             :     }
   37878           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 |  0 );
   37879           0 :     if (!SWIG_IsOK(res1)) {
   37880           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_pszHeader_get" "', argument " "1"" of type '" "DBFInfo *""'"); 
   37881             :     }
   37882           0 :     arg1 = (DBFInfo *)(argp1);
   37883           0 :     result = (char *) ((arg1)->pszHeader);
   37884           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   37885             :     
   37886           0 :     XSRETURN(argvi);
   37887             :   fail:
   37888             :     
   37889           0 :     SWIG_croak_null();
   37890             :   }
   37891             : }
   37892             : 
   37893             : 
   37894           0 : XS(_wrap_DBFInfo_nCurrentRecord_get) {
   37895             :   {
   37896             :     DBFInfo *arg1 = (DBFInfo *) 0 ;
   37897           0 :     void *argp1 = 0 ;
   37898             :     int res1 = 0 ;
   37899             :     int argvi = 0;
   37900             :     int result;
   37901           0 :     dXSARGS;
   37902             :     
   37903           0 :     if ((items < 1) || (items > 1)) {
   37904           0 :       SWIG_croak("Usage: DBFInfo_nCurrentRecord_get(self);");
   37905             :     }
   37906           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 |  0 );
   37907           0 :     if (!SWIG_IsOK(res1)) {
   37908           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_nCurrentRecord_get" "', argument " "1"" of type '" "DBFInfo *""'"); 
   37909             :     }
   37910           0 :     arg1 = (DBFInfo *)(argp1);
   37911           0 :     result = (int) ((arg1)->nCurrentRecord);
   37912           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   37913             :     
   37914           0 :     XSRETURN(argvi);
   37915             :   fail:
   37916             :     
   37917           0 :     SWIG_croak_null();
   37918             :   }
   37919             : }
   37920             : 
   37921             : 
   37922           0 : XS(_wrap_DBFInfo_bCurrentRecordModified_get) {
   37923             :   {
   37924             :     DBFInfo *arg1 = (DBFInfo *) 0 ;
   37925           0 :     void *argp1 = 0 ;
   37926             :     int res1 = 0 ;
   37927             :     int argvi = 0;
   37928             :     int result;
   37929           0 :     dXSARGS;
   37930             :     
   37931           0 :     if ((items < 1) || (items > 1)) {
   37932           0 :       SWIG_croak("Usage: DBFInfo_bCurrentRecordModified_get(self);");
   37933             :     }
   37934           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 |  0 );
   37935           0 :     if (!SWIG_IsOK(res1)) {
   37936           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_bCurrentRecordModified_get" "', argument " "1"" of type '" "DBFInfo *""'"); 
   37937             :     }
   37938           0 :     arg1 = (DBFInfo *)(argp1);
   37939           0 :     result = (int) ((arg1)->bCurrentRecordModified);
   37940           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   37941             :     
   37942           0 :     XSRETURN(argvi);
   37943             :   fail:
   37944             :     
   37945           0 :     SWIG_croak_null();
   37946             :   }
   37947             : }
   37948             : 
   37949             : 
   37950           0 : XS(_wrap_DBFInfo_pszCurrentRecord_get) {
   37951             :   {
   37952             :     DBFInfo *arg1 = (DBFInfo *) 0 ;
   37953           0 :     void *argp1 = 0 ;
   37954             :     int res1 = 0 ;
   37955             :     int argvi = 0;
   37956             :     char *result = 0 ;
   37957           0 :     dXSARGS;
   37958             :     
   37959           0 :     if ((items < 1) || (items > 1)) {
   37960           0 :       SWIG_croak("Usage: DBFInfo_pszCurrentRecord_get(self);");
   37961             :     }
   37962           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 |  0 );
   37963           0 :     if (!SWIG_IsOK(res1)) {
   37964           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_pszCurrentRecord_get" "', argument " "1"" of type '" "DBFInfo *""'"); 
   37965             :     }
   37966           0 :     arg1 = (DBFInfo *)(argp1);
   37967           0 :     result = (char *) ((arg1)->pszCurrentRecord);
   37968           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   37969             :     
   37970           0 :     XSRETURN(argvi);
   37971             :   fail:
   37972             :     
   37973           0 :     SWIG_croak_null();
   37974             :   }
   37975             : }
   37976             : 
   37977             : 
   37978           0 : XS(_wrap_DBFInfo_bNoHeader_get) {
   37979             :   {
   37980             :     DBFInfo *arg1 = (DBFInfo *) 0 ;
   37981           0 :     void *argp1 = 0 ;
   37982             :     int res1 = 0 ;
   37983             :     int argvi = 0;
   37984             :     int result;
   37985           0 :     dXSARGS;
   37986             :     
   37987           0 :     if ((items < 1) || (items > 1)) {
   37988           0 :       SWIG_croak("Usage: DBFInfo_bNoHeader_get(self);");
   37989             :     }
   37990           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 |  0 );
   37991           0 :     if (!SWIG_IsOK(res1)) {
   37992           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_bNoHeader_get" "', argument " "1"" of type '" "DBFInfo *""'"); 
   37993             :     }
   37994           0 :     arg1 = (DBFInfo *)(argp1);
   37995           0 :     result = (int) ((arg1)->bNoHeader);
   37996           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   37997             :     
   37998           0 :     XSRETURN(argvi);
   37999             :   fail:
   38000             :     
   38001           0 :     SWIG_croak_null();
   38002             :   }
   38003             : }
   38004             : 
   38005             : 
   38006           0 : XS(_wrap_DBFInfo_bUpdated_get) {
   38007             :   {
   38008             :     DBFInfo *arg1 = (DBFInfo *) 0 ;
   38009           0 :     void *argp1 = 0 ;
   38010             :     int res1 = 0 ;
   38011             :     int argvi = 0;
   38012             :     int result;
   38013           0 :     dXSARGS;
   38014             :     
   38015           0 :     if ((items < 1) || (items > 1)) {
   38016           0 :       SWIG_croak("Usage: DBFInfo_bUpdated_get(self);");
   38017             :     }
   38018           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 |  0 );
   38019           0 :     if (!SWIG_IsOK(res1)) {
   38020           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_bUpdated_get" "', argument " "1"" of type '" "DBFInfo *""'"); 
   38021             :     }
   38022           0 :     arg1 = (DBFInfo *)(argp1);
   38023           0 :     result = (int) ((arg1)->bUpdated);
   38024           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   38025             :     
   38026           0 :     XSRETURN(argvi);
   38027             :   fail:
   38028             :     
   38029           0 :     SWIG_croak_null();
   38030             :   }
   38031             : }
   38032             : 
   38033             : 
   38034           0 : XS(_wrap_DBFInfo_pszStringField_get) {
   38035             :   {
   38036             :     DBFInfo *arg1 = (DBFInfo *) 0 ;
   38037           0 :     void *argp1 = 0 ;
   38038             :     int res1 = 0 ;
   38039             :     int argvi = 0;
   38040             :     char *result = 0 ;
   38041           0 :     dXSARGS;
   38042             :     
   38043           0 :     if ((items < 1) || (items > 1)) {
   38044           0 :       SWIG_croak("Usage: DBFInfo_pszStringField_get(self);");
   38045             :     }
   38046           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 |  0 );
   38047           0 :     if (!SWIG_IsOK(res1)) {
   38048           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_pszStringField_get" "', argument " "1"" of type '" "DBFInfo *""'"); 
   38049             :     }
   38050           0 :     arg1 = (DBFInfo *)(argp1);
   38051           0 :     result = (char *) ((arg1)->pszStringField);
   38052           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   38053             :     
   38054           0 :     XSRETURN(argvi);
   38055             :   fail:
   38056             :     
   38057           0 :     SWIG_croak_null();
   38058             :   }
   38059             : }
   38060             : 
   38061             : 
   38062           0 : XS(_wrap_DBFInfo_nStringFieldLen_get) {
   38063             :   {
   38064             :     DBFInfo *arg1 = (DBFInfo *) 0 ;
   38065           0 :     void *argp1 = 0 ;
   38066             :     int res1 = 0 ;
   38067             :     int argvi = 0;
   38068             :     int result;
   38069           0 :     dXSARGS;
   38070             :     
   38071           0 :     if ((items < 1) || (items > 1)) {
   38072           0 :       SWIG_croak("Usage: DBFInfo_nStringFieldLen_get(self);");
   38073             :     }
   38074           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 |  0 );
   38075           0 :     if (!SWIG_IsOK(res1)) {
   38076           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_nStringFieldLen_get" "', argument " "1"" of type '" "DBFInfo *""'"); 
   38077             :     }
   38078           0 :     arg1 = (DBFInfo *)(argp1);
   38079           0 :     result = (int) ((arg1)->nStringFieldLen);
   38080           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   38081             :     
   38082           0 :     XSRETURN(argvi);
   38083             :   fail:
   38084             :     
   38085           0 :     SWIG_croak_null();
   38086             :   }
   38087             : }
   38088             : 
   38089             : 
   38090           0 : XS(_wrap_DBFInfo_getFieldName) {
   38091             :   {
   38092             :     DBFInfo *arg1 = (DBFInfo *) 0 ;
   38093             :     int arg2 ;
   38094           0 :     void *argp1 = 0 ;
   38095             :     int res1 = 0 ;
   38096             :     int val2 ;
   38097             :     int ecode2 = 0 ;
   38098             :     int argvi = 0;
   38099             :     char *result = 0 ;
   38100           0 :     dXSARGS;
   38101             :     
   38102           0 :     if ((items < 2) || (items > 2)) {
   38103           0 :       SWIG_croak("Usage: DBFInfo_getFieldName(self,iField);");
   38104             :     }
   38105           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 |  0 );
   38106           0 :     if (!SWIG_IsOK(res1)) {
   38107           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_getFieldName" "', argument " "1"" of type '" "DBFInfo *""'"); 
   38108             :     }
   38109           0 :     arg1 = (DBFInfo *)(argp1);
   38110           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   38111           0 :     if (!SWIG_IsOK(ecode2)) {
   38112           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DBFInfo_getFieldName" "', argument " "2"" of type '" "int""'");
   38113             :     } 
   38114           0 :     arg2 = (int)(val2);
   38115             :     result = (char *)DBFInfo_getFieldName(arg1,arg2);
   38116           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   38117             :     
   38118             :     
   38119           0 :     XSRETURN(argvi);
   38120             :   fail:
   38121             :     
   38122             :     
   38123           0 :     SWIG_croak_null();
   38124             :   }
   38125             : }
   38126             : 
   38127             : 
   38128           0 : XS(_wrap_DBFInfo_getFieldWidth) {
   38129             :   {
   38130             :     DBFInfo *arg1 = (DBFInfo *) 0 ;
   38131             :     int arg2 ;
   38132           0 :     void *argp1 = 0 ;
   38133             :     int res1 = 0 ;
   38134             :     int val2 ;
   38135             :     int ecode2 = 0 ;
   38136             :     int argvi = 0;
   38137             :     int result;
   38138           0 :     dXSARGS;
   38139             :     
   38140           0 :     if ((items < 2) || (items > 2)) {
   38141           0 :       SWIG_croak("Usage: DBFInfo_getFieldWidth(self,iField);");
   38142             :     }
   38143           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 |  0 );
   38144           0 :     if (!SWIG_IsOK(res1)) {
   38145           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_getFieldWidth" "', argument " "1"" of type '" "DBFInfo *""'"); 
   38146             :     }
   38147           0 :     arg1 = (DBFInfo *)(argp1);
   38148           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   38149           0 :     if (!SWIG_IsOK(ecode2)) {
   38150           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DBFInfo_getFieldWidth" "', argument " "2"" of type '" "int""'");
   38151             :     } 
   38152           0 :     arg2 = (int)(val2);
   38153           0 :     result = (int)DBFInfo_getFieldWidth(arg1,arg2);
   38154           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   38155             :     
   38156             :     
   38157           0 :     XSRETURN(argvi);
   38158             :   fail:
   38159             :     
   38160             :     
   38161           0 :     SWIG_croak_null();
   38162             :   }
   38163             : }
   38164             : 
   38165             : 
   38166           0 : XS(_wrap_DBFInfo_getFieldDecimals) {
   38167             :   {
   38168             :     DBFInfo *arg1 = (DBFInfo *) 0 ;
   38169             :     int arg2 ;
   38170           0 :     void *argp1 = 0 ;
   38171             :     int res1 = 0 ;
   38172             :     int val2 ;
   38173             :     int ecode2 = 0 ;
   38174             :     int argvi = 0;
   38175             :     int result;
   38176           0 :     dXSARGS;
   38177             :     
   38178           0 :     if ((items < 2) || (items > 2)) {
   38179           0 :       SWIG_croak("Usage: DBFInfo_getFieldDecimals(self,iField);");
   38180             :     }
   38181           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 |  0 );
   38182           0 :     if (!SWIG_IsOK(res1)) {
   38183           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_getFieldDecimals" "', argument " "1"" of type '" "DBFInfo *""'"); 
   38184             :     }
   38185           0 :     arg1 = (DBFInfo *)(argp1);
   38186           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   38187           0 :     if (!SWIG_IsOK(ecode2)) {
   38188           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DBFInfo_getFieldDecimals" "', argument " "2"" of type '" "int""'");
   38189             :     } 
   38190           0 :     arg2 = (int)(val2);
   38191           0 :     result = (int)DBFInfo_getFieldDecimals(arg1,arg2);
   38192           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   38193             :     
   38194             :     
   38195           0 :     XSRETURN(argvi);
   38196             :   fail:
   38197             :     
   38198             :     
   38199           0 :     SWIG_croak_null();
   38200             :   }
   38201             : }
   38202             : 
   38203             : 
   38204           0 : XS(_wrap_DBFInfo_getFieldType) {
   38205             :   {
   38206             :     DBFInfo *arg1 = (DBFInfo *) 0 ;
   38207             :     int arg2 ;
   38208           0 :     void *argp1 = 0 ;
   38209             :     int res1 = 0 ;
   38210             :     int val2 ;
   38211             :     int ecode2 = 0 ;
   38212             :     int argvi = 0;
   38213             :     int result;
   38214           0 :     dXSARGS;
   38215             :     
   38216           0 :     if ((items < 2) || (items > 2)) {
   38217           0 :       SWIG_croak("Usage: DBFInfo_getFieldType(self,iField);");
   38218             :     }
   38219           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 |  0 );
   38220           0 :     if (!SWIG_IsOK(res1)) {
   38221           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_getFieldType" "', argument " "1"" of type '" "DBFInfo *""'"); 
   38222             :     }
   38223           0 :     arg1 = (DBFInfo *)(argp1);
   38224           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   38225           0 :     if (!SWIG_IsOK(ecode2)) {
   38226           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DBFInfo_getFieldType" "', argument " "2"" of type '" "int""'");
   38227             :     } 
   38228           0 :     arg2 = (int)(val2);
   38229             :     result = (int)DBFInfo_getFieldType(arg1,arg2);
   38230           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   38231             :     
   38232             :     
   38233           0 :     XSRETURN(argvi);
   38234             :   fail:
   38235             :     
   38236             :     
   38237           0 :     SWIG_croak_null();
   38238             :   }
   38239             : }
   38240             : 
   38241             : 
   38242           0 : XS(_wrap_new_DBFInfo) {
   38243             :   {
   38244             :     int argvi = 0;
   38245             :     DBFInfo *result = 0 ;
   38246           0 :     dXSARGS;
   38247             :     
   38248           0 :     if ((items < 0) || (items > 0)) {
   38249           0 :       SWIG_croak("Usage: new_DBFInfo();");
   38250             :     }
   38251           0 :     result = (DBFInfo *)calloc(1, sizeof(DBFInfo));
   38252           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_DBFInfo, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   38253           0 :     XSRETURN(argvi);
   38254             :   fail:
   38255           0 :     SWIG_croak_null();
   38256             :   }
   38257             : }
   38258             : 
   38259             : 
   38260           0 : XS(_wrap_delete_DBFInfo) {
   38261             :   {
   38262             :     DBFInfo *arg1 = (DBFInfo *) 0 ;
   38263           0 :     void *argp1 = 0 ;
   38264             :     int res1 = 0 ;
   38265             :     int argvi = 0;
   38266           0 :     dXSARGS;
   38267             :     
   38268           0 :     if ((items < 1) || (items > 1)) {
   38269           0 :       SWIG_croak("Usage: delete_DBFInfo(self);");
   38270             :     }
   38271           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, SWIG_POINTER_DISOWN |  0 );
   38272           0 :     if (!SWIG_IsOK(res1)) {
   38273           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DBFInfo" "', argument " "1"" of type '" "DBFInfo *""'"); 
   38274             :     }
   38275           0 :     arg1 = (DBFInfo *)(argp1);
   38276           0 :     free((char *) arg1);
   38277           0 :     ST(argvi) = sv_newmortal();
   38278             :     
   38279           0 :     XSRETURN(argvi);
   38280             :   fail:
   38281             :     
   38282           0 :     SWIG_croak_null();
   38283             :   }
   38284             : }
   38285             : 
   38286             : 
   38287           0 : XS(_wrap_shapefileObj_source_get) {
   38288             :   {
   38289             :     shapefileObj *arg1 = (shapefileObj *) 0 ;
   38290           0 :     void *argp1 = 0 ;
   38291             :     int res1 = 0 ;
   38292             :     int argvi = 0;
   38293             :     char *result = 0 ;
   38294           0 :     dXSARGS;
   38295             :     
   38296           0 :     if ((items < 1) || (items > 1)) {
   38297           0 :       SWIG_croak("Usage: shapefileObj_source_get(self);");
   38298             :     }
   38299           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 |  0 );
   38300           0 :     if (!SWIG_IsOK(res1)) {
   38301           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_source_get" "', argument " "1"" of type '" "shapefileObj *""'"); 
   38302             :     }
   38303           0 :     arg1 = (shapefileObj *)(argp1);
   38304           0 :     result = (char *)(char *) ((arg1)->source);
   38305             :     {
   38306           0 :       ST(argvi) = newSVpvn(result, strlen(result));
   38307             :       argvi++;
   38308             :     }
   38309             :     
   38310           0 :     XSRETURN(argvi);
   38311             :   fail:
   38312             :     
   38313           0 :     SWIG_croak_null();
   38314             :   }
   38315             : }
   38316             : 
   38317             : 
   38318           1 : XS(_wrap_shapefileObj_type_get) {
   38319             :   {
   38320             :     shapefileObj *arg1 = (shapefileObj *) 0 ;
   38321           1 :     void *argp1 = 0 ;
   38322             :     int res1 = 0 ;
   38323             :     int argvi = 0;
   38324             :     int result;
   38325           1 :     dXSARGS;
   38326             :     
   38327           1 :     if ((items < 1) || (items > 1)) {
   38328           0 :       SWIG_croak("Usage: shapefileObj_type_get(self);");
   38329             :     }
   38330           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 |  0 );
   38331           1 :     if (!SWIG_IsOK(res1)) {
   38332           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_type_get" "', argument " "1"" of type '" "shapefileObj *""'"); 
   38333             :     }
   38334           1 :     arg1 = (shapefileObj *)(argp1);
   38335           1 :     result = (int) ((arg1)->type);
   38336           1 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   38337             :     
   38338           1 :     XSRETURN(argvi);
   38339             :   fail:
   38340             :     
   38341           0 :     SWIG_croak_null();
   38342             :   }
   38343             : }
   38344             : 
   38345             : 
   38346           1 : XS(_wrap_shapefileObj_numshapes_get) {
   38347             :   {
   38348             :     shapefileObj *arg1 = (shapefileObj *) 0 ;
   38349           1 :     void *argp1 = 0 ;
   38350             :     int res1 = 0 ;
   38351             :     int argvi = 0;
   38352             :     int result;
   38353           1 :     dXSARGS;
   38354             :     
   38355           1 :     if ((items < 1) || (items > 1)) {
   38356           0 :       SWIG_croak("Usage: shapefileObj_numshapes_get(self);");
   38357             :     }
   38358           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 |  0 );
   38359           1 :     if (!SWIG_IsOK(res1)) {
   38360           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_numshapes_get" "', argument " "1"" of type '" "shapefileObj *""'"); 
   38361             :     }
   38362           1 :     arg1 = (shapefileObj *)(argp1);
   38363           1 :     result = (int) ((arg1)->numshapes);
   38364           1 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   38365             :     
   38366           1 :     XSRETURN(argvi);
   38367             :   fail:
   38368             :     
   38369           0 :     SWIG_croak_null();
   38370             :   }
   38371             : }
   38372             : 
   38373             : 
   38374           0 : XS(_wrap_shapefileObj_bounds_get) {
   38375             :   {
   38376             :     shapefileObj *arg1 = (shapefileObj *) 0 ;
   38377           0 :     void *argp1 = 0 ;
   38378             :     int res1 = 0 ;
   38379             :     int argvi = 0;
   38380             :     rectObj *result = 0 ;
   38381           0 :     dXSARGS;
   38382             :     
   38383           0 :     if ((items < 1) || (items > 1)) {
   38384           0 :       SWIG_croak("Usage: shapefileObj_bounds_get(self);");
   38385             :     }
   38386           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 |  0 );
   38387           0 :     if (!SWIG_IsOK(res1)) {
   38388           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_bounds_get" "', argument " "1"" of type '" "shapefileObj *""'"); 
   38389             :     }
   38390           0 :     arg1 = (shapefileObj *)(argp1);
   38391           0 :     result = (rectObj *)& ((arg1)->bounds);
   38392           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_rectObj, 0 | SWIG_SHADOW); argvi++ ;
   38393             :     
   38394           0 :     XSRETURN(argvi);
   38395             :   fail:
   38396             :     
   38397           0 :     SWIG_croak_null();
   38398             :   }
   38399             : }
   38400             : 
   38401             : 
   38402           0 : XS(_wrap_shapefileObj_lastshape_get) {
   38403             :   {
   38404             :     shapefileObj *arg1 = (shapefileObj *) 0 ;
   38405           0 :     void *argp1 = 0 ;
   38406             :     int res1 = 0 ;
   38407             :     int argvi = 0;
   38408             :     int result;
   38409           0 :     dXSARGS;
   38410             :     
   38411           0 :     if ((items < 1) || (items > 1)) {
   38412           0 :       SWIG_croak("Usage: shapefileObj_lastshape_get(self);");
   38413             :     }
   38414           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 |  0 );
   38415           0 :     if (!SWIG_IsOK(res1)) {
   38416           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_lastshape_get" "', argument " "1"" of type '" "shapefileObj *""'"); 
   38417             :     }
   38418           0 :     arg1 = (shapefileObj *)(argp1);
   38419           0 :     result = (int) ((arg1)->lastshape);
   38420           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   38421             :     
   38422           0 :     XSRETURN(argvi);
   38423             :   fail:
   38424             :     
   38425           0 :     SWIG_croak_null();
   38426             :   }
   38427             : }
   38428             : 
   38429             : 
   38430           0 : XS(_wrap_shapefileObj_status_get) {
   38431             :   {
   38432             :     shapefileObj *arg1 = (shapefileObj *) 0 ;
   38433           0 :     void *argp1 = 0 ;
   38434             :     int res1 = 0 ;
   38435             :     int argvi = 0;
   38436             :     ms_bitarray result;
   38437           0 :     dXSARGS;
   38438             :     
   38439           0 :     if ((items < 1) || (items > 1)) {
   38440           0 :       SWIG_croak("Usage: shapefileObj_status_get(self);");
   38441             :     }
   38442           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 |  0 );
   38443           0 :     if (!SWIG_IsOK(res1)) {
   38444           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_status_get" "', argument " "1"" of type '" "shapefileObj *""'"); 
   38445             :     }
   38446           0 :     arg1 = (shapefileObj *)(argp1);
   38447           0 :     result = (ms_bitarray) ((arg1)->status);
   38448           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_uint32_t, 0 | 0); argvi++ ;
   38449             :     
   38450           0 :     XSRETURN(argvi);
   38451             :   fail:
   38452             :     
   38453           0 :     SWIG_croak_null();
   38454             :   }
   38455             : }
   38456             : 
   38457             : 
   38458           0 : XS(_wrap_shapefileObj_isopen_get) {
   38459             :   {
   38460             :     shapefileObj *arg1 = (shapefileObj *) 0 ;
   38461           0 :     void *argp1 = 0 ;
   38462             :     int res1 = 0 ;
   38463             :     int argvi = 0;
   38464             :     int result;
   38465           0 :     dXSARGS;
   38466             :     
   38467           0 :     if ((items < 1) || (items > 1)) {
   38468           0 :       SWIG_croak("Usage: shapefileObj_isopen_get(self);");
   38469             :     }
   38470           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 |  0 );
   38471           0 :     if (!SWIG_IsOK(res1)) {
   38472           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_isopen_get" "', argument " "1"" of type '" "shapefileObj *""'"); 
   38473             :     }
   38474           0 :     arg1 = (shapefileObj *)(argp1);
   38475           0 :     result = (int) ((arg1)->isopen);
   38476           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   38477             :     
   38478           0 :     XSRETURN(argvi);
   38479             :   fail:
   38480             :     
   38481           0 :     SWIG_croak_null();
   38482             :   }
   38483             : }
   38484             : 
   38485             : 
   38486           1 : XS(_wrap_new_shapefileObj) {
   38487             :   {
   38488             :     char *arg1 = (char *) 0 ;
   38489             :     int arg2 = (int) -1 ;
   38490             :     int res1 ;
   38491           1 :     char *buf1 = 0 ;
   38492           1 :     int alloc1 = 0 ;
   38493             :     int val2 ;
   38494             :     int ecode2 = 0 ;
   38495             :     int argvi = 0;
   38496             :     shapefileObj *result = 0 ;
   38497           1 :     dXSARGS;
   38498             :     
   38499           1 :     if ((items < 1) || (items > 2)) {
   38500           0 :       SWIG_croak("Usage: new_shapefileObj(filename,type);");
   38501             :     }
   38502           1 :     res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
   38503           1 :     if (!SWIG_IsOK(res1)) {
   38504           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_shapefileObj" "', argument " "1"" of type '" "char *""'");
   38505             :     }
   38506           1 :     arg1 = (char *)(buf1);
   38507           1 :     if (items > 1) {
   38508           1 :       ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   38509           1 :       if (!SWIG_IsOK(ecode2)) {
   38510           0 :         SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_shapefileObj" "', argument " "2"" of type '" "int""'");
   38511             :       } 
   38512           1 :       arg2 = (int)(val2);
   38513             :     }
   38514           1 :     result = (shapefileObj *)new_shapefileObj(arg1,arg2);
   38515           1 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapefileObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   38516           1 :     if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
   38517             :     
   38518           1 :     XSRETURN(argvi);
   38519             :   fail:
   38520           0 :     if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
   38521             :     
   38522           0 :     SWIG_croak_null();
   38523             :   }
   38524             : }
   38525             : 
   38526             : 
   38527           1 : XS(_wrap_delete_shapefileObj) {
   38528             :   {
   38529             :     shapefileObj *arg1 = (shapefileObj *) 0 ;
   38530           1 :     void *argp1 = 0 ;
   38531             :     int res1 = 0 ;
   38532             :     int argvi = 0;
   38533           1 :     dXSARGS;
   38534             :     
   38535           1 :     if ((items < 1) || (items > 1)) {
   38536           0 :       SWIG_croak("Usage: delete_shapefileObj(self);");
   38537             :     }
   38538           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, SWIG_POINTER_DISOWN |  0 );
   38539           1 :     if (!SWIG_IsOK(res1)) {
   38540           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_shapefileObj" "', argument " "1"" of type '" "shapefileObj *""'"); 
   38541             :     }
   38542           1 :     arg1 = (shapefileObj *)(argp1);
   38543             :     delete_shapefileObj(arg1);
   38544           1 :     ST(argvi) = sv_newmortal();
   38545             :     
   38546           1 :     XSRETURN(argvi);
   38547             :   fail:
   38548             :     
   38549           0 :     SWIG_croak_null();
   38550             :   }
   38551             : }
   38552             : 
   38553             : 
   38554           1 : XS(_wrap_shapefileObj_get) {
   38555             :   {
   38556             :     shapefileObj *arg1 = (shapefileObj *) 0 ;
   38557             :     int arg2 ;
   38558             :     shapeObj *arg3 = (shapeObj *) 0 ;
   38559           1 :     void *argp1 = 0 ;
   38560             :     int res1 = 0 ;
   38561             :     int val2 ;
   38562             :     int ecode2 = 0 ;
   38563           1 :     void *argp3 = 0 ;
   38564             :     int res3 = 0 ;
   38565             :     int argvi = 0;
   38566             :     int result;
   38567           1 :     dXSARGS;
   38568             :     
   38569           1 :     if ((items < 3) || (items > 3)) {
   38570           0 :       SWIG_croak("Usage: shapefileObj_get(self,i,shape);");
   38571             :     }
   38572           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 |  0 );
   38573           1 :     if (!SWIG_IsOK(res1)) {
   38574           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_get" "', argument " "1"" of type '" "shapefileObj *""'"); 
   38575             :     }
   38576           1 :     arg1 = (shapefileObj *)(argp1);
   38577           1 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   38578           1 :     if (!SWIG_IsOK(ecode2)) {
   38579           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapefileObj_get" "', argument " "2"" of type '" "int""'");
   38580             :     } 
   38581           1 :     arg2 = (int)(val2);
   38582           1 :     res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_shapeObj, 0 |  0 );
   38583           1 :     if (!SWIG_IsOK(res3)) {
   38584           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "shapefileObj_get" "', argument " "3"" of type '" "shapeObj *""'"); 
   38585             :     }
   38586           1 :     arg3 = (shapeObj *)(argp3);
   38587           1 :     result = (int)shapefileObj_get(arg1,arg2,arg3);
   38588           1 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   38589             :     
   38590             :     
   38591             :     
   38592           1 :     XSRETURN(argvi);
   38593             :   fail:
   38594             :     
   38595             :     
   38596             :     
   38597           0 :     SWIG_croak_null();
   38598             :   }
   38599             : }
   38600             : 
   38601             : 
   38602           1 : XS(_wrap_shapefileObj_getShape) {
   38603             :   {
   38604             :     shapefileObj *arg1 = (shapefileObj *) 0 ;
   38605             :     int arg2 ;
   38606           1 :     void *argp1 = 0 ;
   38607             :     int res1 = 0 ;
   38608             :     int val2 ;
   38609             :     int ecode2 = 0 ;
   38610             :     int argvi = 0;
   38611             :     shapeObj *result = 0 ;
   38612           1 :     dXSARGS;
   38613             :     
   38614           1 :     if ((items < 2) || (items > 2)) {
   38615           0 :       SWIG_croak("Usage: shapefileObj_getShape(self,i);");
   38616             :     }
   38617           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 |  0 );
   38618           1 :     if (!SWIG_IsOK(res1)) {
   38619           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_getShape" "', argument " "1"" of type '" "shapefileObj *""'"); 
   38620             :     }
   38621           1 :     arg1 = (shapefileObj *)(argp1);
   38622           1 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   38623           1 :     if (!SWIG_IsOK(ecode2)) {
   38624           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapefileObj_getShape" "', argument " "2"" of type '" "int""'");
   38625             :     } 
   38626           1 :     arg2 = (int)(val2);
   38627           1 :     result = (shapeObj *)shapefileObj_getShape(arg1,arg2);
   38628           1 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   38629             :     
   38630             :     
   38631           1 :     XSRETURN(argvi);
   38632             :   fail:
   38633             :     
   38634             :     
   38635           0 :     SWIG_croak_null();
   38636             :   }
   38637             : }
   38638             : 
   38639             : 
   38640           0 : XS(_wrap_shapefileObj_getPoint) {
   38641             :   {
   38642             :     shapefileObj *arg1 = (shapefileObj *) 0 ;
   38643             :     int arg2 ;
   38644             :     pointObj *arg3 = (pointObj *) 0 ;
   38645           0 :     void *argp1 = 0 ;
   38646             :     int res1 = 0 ;
   38647             :     int val2 ;
   38648             :     int ecode2 = 0 ;
   38649           0 :     void *argp3 = 0 ;
   38650             :     int res3 = 0 ;
   38651             :     int argvi = 0;
   38652             :     int result;
   38653           0 :     dXSARGS;
   38654             :     
   38655           0 :     if ((items < 3) || (items > 3)) {
   38656           0 :       SWIG_croak("Usage: shapefileObj_getPoint(self,i,point);");
   38657             :     }
   38658           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 |  0 );
   38659           0 :     if (!SWIG_IsOK(res1)) {
   38660           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_getPoint" "', argument " "1"" of type '" "shapefileObj *""'"); 
   38661             :     }
   38662           0 :     arg1 = (shapefileObj *)(argp1);
   38663           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   38664           0 :     if (!SWIG_IsOK(ecode2)) {
   38665           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapefileObj_getPoint" "', argument " "2"" of type '" "int""'");
   38666             :     } 
   38667           0 :     arg2 = (int)(val2);
   38668           0 :     res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_pointObj, 0 |  0 );
   38669           0 :     if (!SWIG_IsOK(res3)) {
   38670           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "shapefileObj_getPoint" "', argument " "3"" of type '" "pointObj *""'"); 
   38671             :     }
   38672           0 :     arg3 = (pointObj *)(argp3);
   38673             :     result = (int)shapefileObj_getPoint(arg1,arg2,arg3);
   38674           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   38675             :     
   38676             :     
   38677             :     
   38678           0 :     XSRETURN(argvi);
   38679             :   fail:
   38680             :     
   38681             :     
   38682             :     
   38683           0 :     SWIG_croak_null();
   38684             :   }
   38685             : }
   38686             : 
   38687             : 
   38688           0 : XS(_wrap_shapefileObj_getTransformed) {
   38689             :   {
   38690             :     shapefileObj *arg1 = (shapefileObj *) 0 ;
   38691             :     mapObj *arg2 = (mapObj *) 0 ;
   38692             :     int arg3 ;
   38693             :     shapeObj *arg4 = (shapeObj *) 0 ;
   38694           0 :     void *argp1 = 0 ;
   38695             :     int res1 = 0 ;
   38696           0 :     void *argp2 = 0 ;
   38697             :     int res2 = 0 ;
   38698             :     int val3 ;
   38699             :     int ecode3 = 0 ;
   38700           0 :     void *argp4 = 0 ;
   38701             :     int res4 = 0 ;
   38702             :     int argvi = 0;
   38703             :     int result;
   38704           0 :     dXSARGS;
   38705             :     
   38706           0 :     if ((items < 4) || (items > 4)) {
   38707           0 :       SWIG_croak("Usage: shapefileObj_getTransformed(self,map,i,shape);");
   38708             :     }
   38709           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 |  0 );
   38710           0 :     if (!SWIG_IsOK(res1)) {
   38711           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_getTransformed" "', argument " "1"" of type '" "shapefileObj *""'"); 
   38712             :     }
   38713           0 :     arg1 = (shapefileObj *)(argp1);
   38714           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 |  0 );
   38715           0 :     if (!SWIG_IsOK(res2)) {
   38716           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapefileObj_getTransformed" "', argument " "2"" of type '" "mapObj *""'"); 
   38717             :     }
   38718           0 :     arg2 = (mapObj *)(argp2);
   38719           0 :     ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
   38720           0 :     if (!SWIG_IsOK(ecode3)) {
   38721           0 :       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "shapefileObj_getTransformed" "', argument " "3"" of type '" "int""'");
   38722             :     } 
   38723           0 :     arg3 = (int)(val3);
   38724           0 :     res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_shapeObj, 0 |  0 );
   38725           0 :     if (!SWIG_IsOK(res4)) {
   38726           0 :       SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "shapefileObj_getTransformed" "', argument " "4"" of type '" "shapeObj *""'"); 
   38727             :     }
   38728           0 :     arg4 = (shapeObj *)(argp4);
   38729           0 :     result = (int)shapefileObj_getTransformed(arg1,arg2,arg3,arg4);
   38730           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   38731             :     
   38732             :     
   38733             :     
   38734             :     
   38735           0 :     XSRETURN(argvi);
   38736             :   fail:
   38737             :     
   38738             :     
   38739             :     
   38740             :     
   38741           0 :     SWIG_croak_null();
   38742             :   }
   38743             : }
   38744             : 
   38745             : 
   38746           0 : XS(_wrap_shapefileObj_getExtent) {
   38747             :   {
   38748           0 :     shapefileObj *arg1 = (shapefileObj *) 0 ;
   38749             :     int arg2 ;
   38750             :     rectObj *arg3 = (rectObj *) 0 ;
   38751           0 :     void *argp1 = 0 ;
   38752             :     int res1 = 0 ;
   38753             :     int val2 ;
   38754             :     int ecode2 = 0 ;
   38755           0 :     void *argp3 = 0 ;
   38756             :     int res3 = 0 ;
   38757             :     int argvi = 0;
   38758           0 :     dXSARGS;
   38759             :     
   38760           0 :     if ((items < 3) || (items > 3)) {
   38761           0 :       SWIG_croak("Usage: shapefileObj_getExtent(self,i,rect);");
   38762             :     }
   38763           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 |  0 );
   38764           0 :     if (!SWIG_IsOK(res1)) {
   38765           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_getExtent" "', argument " "1"" of type '" "shapefileObj *""'"); 
   38766             :     }
   38767           0 :     arg1 = (shapefileObj *)(argp1);
   38768           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   38769           0 :     if (!SWIG_IsOK(ecode2)) {
   38770           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapefileObj_getExtent" "', argument " "2"" of type '" "int""'");
   38771             :     } 
   38772           0 :     arg2 = (int)(val2);
   38773           0 :     res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_rectObj, 0 |  0 );
   38774           0 :     if (!SWIG_IsOK(res3)) {
   38775           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "shapefileObj_getExtent" "', argument " "3"" of type '" "rectObj *""'"); 
   38776             :     }
   38777           0 :     arg3 = (rectObj *)(argp3);
   38778             :     shapefileObj_getExtent(arg1,arg2,arg3);
   38779           0 :     ST(argvi) = sv_newmortal();
   38780             :     
   38781             :     
   38782             :     
   38783           0 :     XSRETURN(argvi);
   38784             :   fail:
   38785             :     
   38786             :     
   38787             :     
   38788           0 :     SWIG_croak_null();
   38789             :   }
   38790             : }
   38791             : 
   38792             : 
   38793           1 : XS(_wrap_shapefileObj_add) {
   38794             :   {
   38795             :     shapefileObj *arg1 = (shapefileObj *) 0 ;
   38796             :     shapeObj *arg2 = (shapeObj *) 0 ;
   38797           1 :     void *argp1 = 0 ;
   38798             :     int res1 = 0 ;
   38799           1 :     void *argp2 = 0 ;
   38800             :     int res2 = 0 ;
   38801             :     int argvi = 0;
   38802             :     int result;
   38803           1 :     dXSARGS;
   38804             :     
   38805           1 :     if ((items < 2) || (items > 2)) {
   38806           0 :       SWIG_croak("Usage: shapefileObj_add(self,shape);");
   38807             :     }
   38808           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 |  0 );
   38809           1 :     if (!SWIG_IsOK(res1)) {
   38810           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_add" "', argument " "1"" of type '" "shapefileObj *""'"); 
   38811             :     }
   38812           1 :     arg1 = (shapefileObj *)(argp1);
   38813           1 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 |  0 );
   38814           1 :     if (!SWIG_IsOK(res2)) {
   38815           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapefileObj_add" "', argument " "2"" of type '" "shapeObj *""'"); 
   38816             :     }
   38817           1 :     arg2 = (shapeObj *)(argp2);
   38818           1 :     result = (int)shapefileObj_add(arg1,arg2);
   38819           1 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   38820             :     
   38821             :     
   38822           1 :     XSRETURN(argvi);
   38823             :   fail:
   38824             :     
   38825             :     
   38826           0 :     SWIG_croak_null();
   38827             :   }
   38828             : }
   38829             : 
   38830             : 
   38831           0 : XS(_wrap_shapefileObj_addPoint) {
   38832             :   {
   38833           0 :     shapefileObj *arg1 = (shapefileObj *) 0 ;
   38834             :     pointObj *arg2 = (pointObj *) 0 ;
   38835           0 :     void *argp1 = 0 ;
   38836             :     int res1 = 0 ;
   38837           0 :     void *argp2 = 0 ;
   38838             :     int res2 = 0 ;
   38839             :     int argvi = 0;
   38840             :     int result;
   38841           0 :     dXSARGS;
   38842             :     
   38843           0 :     if ((items < 2) || (items > 2)) {
   38844           0 :       SWIG_croak("Usage: shapefileObj_addPoint(self,point);");
   38845             :     }
   38846           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 |  0 );
   38847           0 :     if (!SWIG_IsOK(res1)) {
   38848           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_addPoint" "', argument " "1"" of type '" "shapefileObj *""'"); 
   38849             :     }
   38850           0 :     arg1 = (shapefileObj *)(argp1);
   38851           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_pointObj, 0 |  0 );
   38852           0 :     if (!SWIG_IsOK(res2)) {
   38853           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapefileObj_addPoint" "', argument " "2"" of type '" "pointObj *""'"); 
   38854             :     }
   38855           0 :     arg2 = (pointObj *)(argp2);
   38856             :     result = (int)shapefileObj_addPoint(arg1,arg2);
   38857           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   38858             :     
   38859             :     
   38860           0 :     XSRETURN(argvi);
   38861             :   fail:
   38862             :     
   38863             :     
   38864           0 :     SWIG_croak_null();
   38865             :   }
   38866             : }
   38867             : 
   38868             : 
   38869           0 : XS(_wrap_shapefileObj_getDBF) {
   38870             :   {
   38871           0 :     shapefileObj *arg1 = (shapefileObj *) 0 ;
   38872           0 :     void *argp1 = 0 ;
   38873             :     int res1 = 0 ;
   38874             :     int argvi = 0;
   38875             :     DBFInfo *result = 0 ;
   38876           0 :     dXSARGS;
   38877             :     
   38878           0 :     if ((items < 1) || (items > 1)) {
   38879           0 :       SWIG_croak("Usage: shapefileObj_getDBF(self);");
   38880             :     }
   38881           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 |  0 );
   38882           0 :     if (!SWIG_IsOK(res1)) {
   38883           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_getDBF" "', argument " "1"" of type '" "shapefileObj *""'"); 
   38884             :     }
   38885           0 :     arg1 = (shapefileObj *)(argp1);
   38886             :     result = (DBFInfo *)shapefileObj_getDBF(arg1);
   38887           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_DBFInfo, 0 | SWIG_SHADOW); argvi++ ;
   38888             :     
   38889           0 :     XSRETURN(argvi);
   38890             :   fail:
   38891             :     
   38892           0 :     SWIG_croak_null();
   38893             :   }
   38894             : }
   38895             : 
   38896             : 
   38897           0 : XS(_wrap_projectionObj_numargs_get) {
   38898             :   {
   38899             :     projectionObj *arg1 = (projectionObj *) 0 ;
   38900           0 :     void *argp1 = 0 ;
   38901             :     int res1 = 0 ;
   38902             :     int argvi = 0;
   38903             :     int result;
   38904           0 :     dXSARGS;
   38905             :     
   38906           0 :     if ((items < 1) || (items > 1)) {
   38907           0 :       SWIG_croak("Usage: projectionObj_numargs_get(self);");
   38908             :     }
   38909           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_projectionObj, 0 |  0 );
   38910           0 :     if (!SWIG_IsOK(res1)) {
   38911           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "projectionObj_numargs_get" "', argument " "1"" of type '" "projectionObj *""'"); 
   38912             :     }
   38913           0 :     arg1 = (projectionObj *)(argp1);
   38914           0 :     result = (int) ((arg1)->numargs);
   38915           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   38916             :     
   38917           0 :     XSRETURN(argvi);
   38918             :   fail:
   38919             :     
   38920           0 :     SWIG_croak_null();
   38921             :   }
   38922             : }
   38923             : 
   38924             : 
   38925           0 : XS(_wrap_projectionObj_automatic_get) {
   38926             :   {
   38927             :     projectionObj *arg1 = (projectionObj *) 0 ;
   38928           0 :     void *argp1 = 0 ;
   38929             :     int res1 = 0 ;
   38930             :     int argvi = 0;
   38931             :     int result;
   38932           0 :     dXSARGS;
   38933             :     
   38934           0 :     if ((items < 1) || (items > 1)) {
   38935           0 :       SWIG_croak("Usage: projectionObj_automatic_get(self);");
   38936             :     }
   38937           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_projectionObj, 0 |  0 );
   38938           0 :     if (!SWIG_IsOK(res1)) {
   38939           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "projectionObj_automatic_get" "', argument " "1"" of type '" "projectionObj *""'"); 
   38940             :     }
   38941           0 :     arg1 = (projectionObj *)(argp1);
   38942           0 :     result = (int) ((arg1)->automatic);
   38943           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   38944             :     
   38945           0 :     XSRETURN(argvi);
   38946             :   fail:
   38947             :     
   38948           0 :     SWIG_croak_null();
   38949             :   }
   38950             : }
   38951             : 
   38952             : 
   38953           0 : XS(_wrap_projectionObj_wellknownprojection_set) {
   38954             :   {
   38955             :     projectionObj *arg1 = (projectionObj *) 0 ;
   38956             :     int arg2 ;
   38957           0 :     void *argp1 = 0 ;
   38958             :     int res1 = 0 ;
   38959             :     int val2 ;
   38960             :     int ecode2 = 0 ;
   38961             :     int argvi = 0;
   38962           0 :     dXSARGS;
   38963             :     
   38964           0 :     if ((items < 2) || (items > 2)) {
   38965           0 :       SWIG_croak("Usage: projectionObj_wellknownprojection_set(self,wellknownprojection);");
   38966             :     }
   38967           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_projectionObj, 0 |  0 );
   38968           0 :     if (!SWIG_IsOK(res1)) {
   38969           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "projectionObj_wellknownprojection_set" "', argument " "1"" of type '" "projectionObj *""'"); 
   38970             :     }
   38971           0 :     arg1 = (projectionObj *)(argp1);
   38972           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   38973           0 :     if (!SWIG_IsOK(ecode2)) {
   38974           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "projectionObj_wellknownprojection_set" "', argument " "2"" of type '" "int""'");
   38975             :     } 
   38976           0 :     arg2 = (int)(val2);
   38977           0 :     if (arg1) (arg1)->wellknownprojection = arg2;
   38978           0 :     ST(argvi) = sv_newmortal();
   38979             :     
   38980             :     
   38981           0 :     XSRETURN(argvi);
   38982             :   fail:
   38983             :     
   38984             :     
   38985           0 :     SWIG_croak_null();
   38986             :   }
   38987             : }
   38988             : 
   38989             : 
   38990           0 : XS(_wrap_projectionObj_wellknownprojection_get) {
   38991             :   {
   38992             :     projectionObj *arg1 = (projectionObj *) 0 ;
   38993           0 :     void *argp1 = 0 ;
   38994             :     int res1 = 0 ;
   38995             :     int argvi = 0;
   38996             :     int result;
   38997           0 :     dXSARGS;
   38998             :     
   38999           0 :     if ((items < 1) || (items > 1)) {
   39000           0 :       SWIG_croak("Usage: projectionObj_wellknownprojection_get(self);");
   39001             :     }
   39002           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_projectionObj, 0 |  0 );
   39003           0 :     if (!SWIG_IsOK(res1)) {
   39004           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "projectionObj_wellknownprojection_get" "', argument " "1"" of type '" "projectionObj *""'"); 
   39005             :     }
   39006           0 :     arg1 = (projectionObj *)(argp1);
   39007           0 :     result = (int) ((arg1)->wellknownprojection);
   39008           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   39009             :     
   39010           0 :     XSRETURN(argvi);
   39011             :   fail:
   39012             :     
   39013           0 :     SWIG_croak_null();
   39014             :   }
   39015             : }
   39016             : 
   39017             : 
   39018           0 : XS(_wrap_new_projectionObj) {
   39019             :   {
   39020             :     char *arg1 = (char *) 0 ;
   39021             :     int res1 ;
   39022           0 :     char *buf1 = 0 ;
   39023           0 :     int alloc1 = 0 ;
   39024             :     int argvi = 0;
   39025             :     projectionObj *result = 0 ;
   39026           0 :     dXSARGS;
   39027             :     
   39028           0 :     if ((items < 1) || (items > 1)) {
   39029           0 :       SWIG_croak("Usage: new_projectionObj(proj4);");
   39030             :     }
   39031           0 :     res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
   39032           0 :     if (!SWIG_IsOK(res1)) {
   39033           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_projectionObj" "', argument " "1"" of type '" "char *""'");
   39034             :     }
   39035           0 :     arg1 = (char *)(buf1);
   39036           0 :     result = (projectionObj *)new_projectionObj(arg1);
   39037           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_projectionObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   39038           0 :     if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
   39039           0 :     XSRETURN(argvi);
   39040             :   fail:
   39041           0 :     if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
   39042           0 :     SWIG_croak_null();
   39043             :   }
   39044             : }
   39045             : 
   39046             : 
   39047           0 : XS(_wrap_delete_projectionObj) {
   39048             :   {
   39049             :     projectionObj *arg1 = (projectionObj *) 0 ;
   39050           0 :     void *argp1 = 0 ;
   39051             :     int res1 = 0 ;
   39052             :     int argvi = 0;
   39053           0 :     dXSARGS;
   39054             :     
   39055           0 :     if ((items < 1) || (items > 1)) {
   39056           0 :       SWIG_croak("Usage: delete_projectionObj(self);");
   39057             :     }
   39058           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_projectionObj, SWIG_POINTER_DISOWN |  0 );
   39059           0 :     if (!SWIG_IsOK(res1)) {
   39060           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_projectionObj" "', argument " "1"" of type '" "projectionObj *""'"); 
   39061             :     }
   39062           0 :     arg1 = (projectionObj *)(argp1);
   39063             :     delete_projectionObj(arg1);
   39064           0 :     ST(argvi) = sv_newmortal();
   39065             :     
   39066           0 :     XSRETURN(argvi);
   39067             :   fail:
   39068             :     
   39069           0 :     SWIG_croak_null();
   39070             :   }
   39071             : }
   39072             : 
   39073             : 
   39074           0 : XS(_wrap_projectionObj_setWKTProjection) {
   39075             :   {
   39076             :     projectionObj *arg1 = (projectionObj *) 0 ;
   39077             :     char *arg2 = (char *) 0 ;
   39078           0 :     void *argp1 = 0 ;
   39079             :     int res1 = 0 ;
   39080             :     int res2 ;
   39081           0 :     char *buf2 = 0 ;
   39082           0 :     int alloc2 = 0 ;
   39083             :     int argvi = 0;
   39084             :     int result;
   39085           0 :     dXSARGS;
   39086             :     
   39087           0 :     if ((items < 2) || (items > 2)) {
   39088           0 :       SWIG_croak("Usage: projectionObj_setWKTProjection(self,wkt);");
   39089             :     }
   39090           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_projectionObj, 0 |  0 );
   39091           0 :     if (!SWIG_IsOK(res1)) {
   39092           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "projectionObj_setWKTProjection" "', argument " "1"" of type '" "projectionObj *""'"); 
   39093             :     }
   39094           0 :     arg1 = (projectionObj *)(argp1);
   39095           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   39096           0 :     if (!SWIG_IsOK(res2)) {
   39097           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "projectionObj_setWKTProjection" "', argument " "2"" of type '" "char *""'");
   39098             :     }
   39099           0 :     arg2 = (char *)(buf2);
   39100             :     result = (int)projectionObj_setWKTProjection(arg1,arg2);
   39101           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   39102             :     
   39103           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   39104           0 :     XSRETURN(argvi);
   39105             :   fail:
   39106             :     
   39107           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   39108           0 :     SWIG_croak_null();
   39109             :   }
   39110             : }
   39111             : 
   39112             : 
   39113           0 : XS(_wrap_projectionObj_getUnits) {
   39114             :   {
   39115             :     projectionObj *arg1 = (projectionObj *) 0 ;
   39116           0 :     void *argp1 = 0 ;
   39117             :     int res1 = 0 ;
   39118             :     int argvi = 0;
   39119             :     int result;
   39120           0 :     dXSARGS;
   39121             :     
   39122           0 :     if ((items < 1) || (items > 1)) {
   39123           0 :       SWIG_croak("Usage: projectionObj_getUnits(self);");
   39124             :     }
   39125           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_projectionObj, 0 |  0 );
   39126           0 :     if (!SWIG_IsOK(res1)) {
   39127           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "projectionObj_getUnits" "', argument " "1"" of type '" "projectionObj *""'"); 
   39128             :     }
   39129           0 :     arg1 = (projectionObj *)(argp1);
   39130             :     result = (int)projectionObj_getUnits(arg1);
   39131           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   39132             :     
   39133           0 :     XSRETURN(argvi);
   39134             :   fail:
   39135             :     
   39136           0 :     SWIG_croak_null();
   39137             :   }
   39138             : }
   39139             : 
   39140             : 
   39141           0 : XS(_wrap_colorObj_red_set) {
   39142             :   {
   39143             :     colorObj *arg1 = (colorObj *) 0 ;
   39144             :     int arg2 ;
   39145           0 :     void *argp1 = 0 ;
   39146             :     int res1 = 0 ;
   39147             :     int val2 ;
   39148             :     int ecode2 = 0 ;
   39149             :     int argvi = 0;
   39150           0 :     dXSARGS;
   39151             :     
   39152           0 :     if ((items < 2) || (items > 2)) {
   39153           0 :       SWIG_croak("Usage: colorObj_red_set(self,red);");
   39154             :     }
   39155           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_colorObj, 0 |  0 );
   39156           0 :     if (!SWIG_IsOK(res1)) {
   39157           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "colorObj_red_set" "', argument " "1"" of type '" "colorObj *""'"); 
   39158             :     }
   39159           0 :     arg1 = (colorObj *)(argp1);
   39160           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   39161           0 :     if (!SWIG_IsOK(ecode2)) {
   39162           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "colorObj_red_set" "', argument " "2"" of type '" "int""'");
   39163             :     } 
   39164           0 :     arg2 = (int)(val2);
   39165           0 :     if (arg1) (arg1)->red = arg2;
   39166           0 :     ST(argvi) = sv_newmortal();
   39167             :     
   39168             :     
   39169           0 :     XSRETURN(argvi);
   39170             :   fail:
   39171             :     
   39172             :     
   39173           0 :     SWIG_croak_null();
   39174             :   }
   39175             : }
   39176             : 
   39177             : 
   39178           0 : XS(_wrap_colorObj_red_get) {
   39179             :   {
   39180             :     colorObj *arg1 = (colorObj *) 0 ;
   39181           0 :     void *argp1 = 0 ;
   39182             :     int res1 = 0 ;
   39183             :     int argvi = 0;
   39184             :     int result;
   39185           0 :     dXSARGS;
   39186             :     
   39187           0 :     if ((items < 1) || (items > 1)) {
   39188           0 :       SWIG_croak("Usage: colorObj_red_get(self);");
   39189             :     }
   39190           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_colorObj, 0 |  0 );
   39191           0 :     if (!SWIG_IsOK(res1)) {
   39192           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "colorObj_red_get" "', argument " "1"" of type '" "colorObj *""'"); 
   39193             :     }
   39194           0 :     arg1 = (colorObj *)(argp1);
   39195           0 :     result = (int) ((arg1)->red);
   39196           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   39197             :     
   39198           0 :     XSRETURN(argvi);
   39199             :   fail:
   39200             :     
   39201           0 :     SWIG_croak_null();
   39202             :   }
   39203             : }
   39204             : 
   39205             : 
   39206           0 : XS(_wrap_colorObj_green_set) {
   39207             :   {
   39208             :     colorObj *arg1 = (colorObj *) 0 ;
   39209             :     int arg2 ;
   39210           0 :     void *argp1 = 0 ;
   39211             :     int res1 = 0 ;
   39212             :     int val2 ;
   39213             :     int ecode2 = 0 ;
   39214             :     int argvi = 0;
   39215           0 :     dXSARGS;
   39216             :     
   39217           0 :     if ((items < 2) || (items > 2)) {
   39218           0 :       SWIG_croak("Usage: colorObj_green_set(self,green);");
   39219             :     }
   39220           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_colorObj, 0 |  0 );
   39221           0 :     if (!SWIG_IsOK(res1)) {
   39222           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "colorObj_green_set" "', argument " "1"" of type '" "colorObj *""'"); 
   39223             :     }
   39224           0 :     arg1 = (colorObj *)(argp1);
   39225           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   39226           0 :     if (!SWIG_IsOK(ecode2)) {
   39227           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "colorObj_green_set" "', argument " "2"" of type '" "int""'");
   39228             :     } 
   39229           0 :     arg2 = (int)(val2);
   39230           0 :     if (arg1) (arg1)->green = arg2;
   39231           0 :     ST(argvi) = sv_newmortal();
   39232             :     
   39233             :     
   39234           0 :     XSRETURN(argvi);
   39235             :   fail:
   39236             :     
   39237             :     
   39238           0 :     SWIG_croak_null();
   39239             :   }
   39240             : }
   39241             : 
   39242             : 
   39243           0 : XS(_wrap_colorObj_green_get) {
   39244             :   {
   39245             :     colorObj *arg1 = (colorObj *) 0 ;
   39246           0 :     void *argp1 = 0 ;
   39247             :     int res1 = 0 ;
   39248             :     int argvi = 0;
   39249             :     int result;
   39250           0 :     dXSARGS;
   39251             :     
   39252           0 :     if ((items < 1) || (items > 1)) {
   39253           0 :       SWIG_croak("Usage: colorObj_green_get(self);");
   39254             :     }
   39255           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_colorObj, 0 |  0 );
   39256           0 :     if (!SWIG_IsOK(res1)) {
   39257           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "colorObj_green_get" "', argument " "1"" of type '" "colorObj *""'"); 
   39258             :     }
   39259           0 :     arg1 = (colorObj *)(argp1);
   39260           0 :     result = (int) ((arg1)->green);
   39261           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   39262             :     
   39263           0 :     XSRETURN(argvi);
   39264             :   fail:
   39265             :     
   39266           0 :     SWIG_croak_null();
   39267             :   }
   39268             : }
   39269             : 
   39270             : 
   39271           0 : XS(_wrap_colorObj_blue_set) {
   39272             :   {
   39273             :     colorObj *arg1 = (colorObj *) 0 ;
   39274             :     int arg2 ;
   39275           0 :     void *argp1 = 0 ;
   39276             :     int res1 = 0 ;
   39277             :     int val2 ;
   39278             :     int ecode2 = 0 ;
   39279             :     int argvi = 0;
   39280           0 :     dXSARGS;
   39281             :     
   39282           0 :     if ((items < 2) || (items > 2)) {
   39283           0 :       SWIG_croak("Usage: colorObj_blue_set(self,blue);");
   39284             :     }
   39285           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_colorObj, 0 |  0 );
   39286           0 :     if (!SWIG_IsOK(res1)) {
   39287           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "colorObj_blue_set" "', argument " "1"" of type '" "colorObj *""'"); 
   39288             :     }
   39289           0 :     arg1 = (colorObj *)(argp1);
   39290           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   39291           0 :     if (!SWIG_IsOK(ecode2)) {
   39292           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "colorObj_blue_set" "', argument " "2"" of type '" "int""'");
   39293             :     } 
   39294           0 :     arg2 = (int)(val2);
   39295           0 :     if (arg1) (arg1)->blue = arg2;
   39296           0 :     ST(argvi) = sv_newmortal();
   39297             :     
   39298             :     
   39299           0 :     XSRETURN(argvi);
   39300             :   fail:
   39301             :     
   39302             :     
   39303           0 :     SWIG_croak_null();
   39304             :   }
   39305             : }
   39306             : 
   39307             : 
   39308           0 : XS(_wrap_colorObj_blue_get) {
   39309             :   {
   39310             :     colorObj *arg1 = (colorObj *) 0 ;
   39311           0 :     void *argp1 = 0 ;
   39312             :     int res1 = 0 ;
   39313             :     int argvi = 0;
   39314             :     int result;
   39315           0 :     dXSARGS;
   39316             :     
   39317           0 :     if ((items < 1) || (items > 1)) {
   39318           0 :       SWIG_croak("Usage: colorObj_blue_get(self);");
   39319             :     }
   39320           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_colorObj, 0 |  0 );
   39321           0 :     if (!SWIG_IsOK(res1)) {
   39322           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "colorObj_blue_get" "', argument " "1"" of type '" "colorObj *""'"); 
   39323             :     }
   39324           0 :     arg1 = (colorObj *)(argp1);
   39325           0 :     result = (int) ((arg1)->blue);
   39326           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   39327             :     
   39328           0 :     XSRETURN(argvi);
   39329             :   fail:
   39330             :     
   39331           0 :     SWIG_croak_null();
   39332             :   }
   39333             : }
   39334             : 
   39335             : 
   39336           0 : XS(_wrap_colorObj_alpha_set) {
   39337             :   {
   39338             :     colorObj *arg1 = (colorObj *) 0 ;
   39339             :     int arg2 ;
   39340           0 :     void *argp1 = 0 ;
   39341             :     int res1 = 0 ;
   39342             :     int val2 ;
   39343             :     int ecode2 = 0 ;
   39344             :     int argvi = 0;
   39345           0 :     dXSARGS;
   39346             :     
   39347           0 :     if ((items < 2) || (items > 2)) {
   39348           0 :       SWIG_croak("Usage: colorObj_alpha_set(self,alpha);");
   39349             :     }
   39350           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_colorObj, 0 |  0 );
   39351           0 :     if (!SWIG_IsOK(res1)) {
   39352           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "colorObj_alpha_set" "', argument " "1"" of type '" "colorObj *""'"); 
   39353             :     }
   39354           0 :     arg1 = (colorObj *)(argp1);
   39355           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   39356           0 :     if (!SWIG_IsOK(ecode2)) {
   39357           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "colorObj_alpha_set" "', argument " "2"" of type '" "int""'");
   39358             :     } 
   39359           0 :     arg2 = (int)(val2);
   39360           0 :     if (arg1) (arg1)->alpha = arg2;
   39361           0 :     ST(argvi) = sv_newmortal();
   39362             :     
   39363             :     
   39364           0 :     XSRETURN(argvi);
   39365             :   fail:
   39366             :     
   39367             :     
   39368           0 :     SWIG_croak_null();
   39369             :   }
   39370             : }
   39371             : 
   39372             : 
   39373           0 : XS(_wrap_colorObj_alpha_get) {
   39374             :   {
   39375             :     colorObj *arg1 = (colorObj *) 0 ;
   39376           0 :     void *argp1 = 0 ;
   39377             :     int res1 = 0 ;
   39378             :     int argvi = 0;
   39379             :     int result;
   39380           0 :     dXSARGS;
   39381             :     
   39382           0 :     if ((items < 1) || (items > 1)) {
   39383           0 :       SWIG_croak("Usage: colorObj_alpha_get(self);");
   39384             :     }
   39385           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_colorObj, 0 |  0 );
   39386           0 :     if (!SWIG_IsOK(res1)) {
   39387           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "colorObj_alpha_get" "', argument " "1"" of type '" "colorObj *""'"); 
   39388             :     }
   39389           0 :     arg1 = (colorObj *)(argp1);
   39390           0 :     result = (int) ((arg1)->alpha);
   39391           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   39392             :     
   39393           0 :     XSRETURN(argvi);
   39394             :   fail:
   39395             :     
   39396           0 :     SWIG_croak_null();
   39397             :   }
   39398             : }
   39399             : 
   39400             : 
   39401           0 : XS(_wrap_new_colorObj) {
   39402             :   {
   39403             :     int arg1 = (int) 0 ;
   39404             :     int arg2 = (int) 0 ;
   39405             :     int arg3 = (int) 0 ;
   39406             :     int arg4 = (int) 255 ;
   39407             :     int val1 ;
   39408             :     int ecode1 = 0 ;
   39409             :     int val2 ;
   39410             :     int ecode2 = 0 ;
   39411             :     int val3 ;
   39412             :     int ecode3 = 0 ;
   39413             :     int val4 ;
   39414             :     int ecode4 = 0 ;
   39415             :     int argvi = 0;
   39416             :     colorObj *result = 0 ;
   39417           0 :     dXSARGS;
   39418             :     
   39419           0 :     if ((items < 0) || (items > 4)) {
   39420           0 :       SWIG_croak("Usage: new_colorObj(red,green,blue,alpha);");
   39421             :     }
   39422           0 :     if (items > 0) {
   39423           0 :       ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
   39424           0 :       if (!SWIG_IsOK(ecode1)) {
   39425           0 :         SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_colorObj" "', argument " "1"" of type '" "int""'");
   39426             :       } 
   39427           0 :       arg1 = (int)(val1);
   39428             :     }
   39429           0 :     if (items > 1) {
   39430           0 :       ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   39431           0 :       if (!SWIG_IsOK(ecode2)) {
   39432           0 :         SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_colorObj" "', argument " "2"" of type '" "int""'");
   39433             :       } 
   39434           0 :       arg2 = (int)(val2);
   39435             :     }
   39436           0 :     if (items > 2) {
   39437           0 :       ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
   39438           0 :       if (!SWIG_IsOK(ecode3)) {
   39439           0 :         SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_colorObj" "', argument " "3"" of type '" "int""'");
   39440             :       } 
   39441           0 :       arg3 = (int)(val3);
   39442             :     }
   39443           0 :     if (items > 3) {
   39444           0 :       ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
   39445           0 :       if (!SWIG_IsOK(ecode4)) {
   39446           0 :         SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_colorObj" "', argument " "4"" of type '" "int""'");
   39447             :       } 
   39448           0 :       arg4 = (int)(val4);
   39449             :     }
   39450           0 :     result = (colorObj *)new_colorObj(arg1,arg2,arg3,arg4);
   39451           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   39452             :     
   39453             :     
   39454             :     
   39455             :     
   39456           0 :     XSRETURN(argvi);
   39457             :   fail:
   39458             :     
   39459             :     
   39460             :     
   39461             :     
   39462           0 :     SWIG_croak_null();
   39463             :   }
   39464             : }
   39465             : 
   39466             : 
   39467           0 : XS(_wrap_delete_colorObj) {
   39468             :   {
   39469             :     colorObj *arg1 = (colorObj *) 0 ;
   39470           0 :     void *argp1 = 0 ;
   39471             :     int res1 = 0 ;
   39472             :     int argvi = 0;
   39473           0 :     dXSARGS;
   39474             :     
   39475           0 :     if ((items < 1) || (items > 1)) {
   39476           0 :       SWIG_croak("Usage: delete_colorObj(self);");
   39477             :     }
   39478           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_colorObj, SWIG_POINTER_DISOWN |  0 );
   39479           0 :     if (!SWIG_IsOK(res1)) {
   39480           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_colorObj" "', argument " "1"" of type '" "colorObj *""'"); 
   39481             :     }
   39482           0 :     arg1 = (colorObj *)(argp1);
   39483             :     delete_colorObj(arg1);
   39484           0 :     ST(argvi) = sv_newmortal();
   39485             :     
   39486           0 :     XSRETURN(argvi);
   39487             :   fail:
   39488             :     
   39489           0 :     SWIG_croak_null();
   39490             :   }
   39491             : }
   39492             : 
   39493             : 
   39494           0 : XS(_wrap_colorObj_setRGB) {
   39495             :   {
   39496             :     colorObj *arg1 = (colorObj *) 0 ;
   39497             :     int arg2 ;
   39498             :     int arg3 ;
   39499             :     int arg4 ;
   39500             :     int arg5 = (int) 255 ;
   39501           0 :     void *argp1 = 0 ;
   39502             :     int res1 = 0 ;
   39503             :     int val2 ;
   39504             :     int ecode2 = 0 ;
   39505             :     int val3 ;
   39506             :     int ecode3 = 0 ;
   39507             :     int val4 ;
   39508             :     int ecode4 = 0 ;
   39509             :     int val5 ;
   39510             :     int ecode5 = 0 ;
   39511             :     int argvi = 0;
   39512             :     int result;
   39513           0 :     dXSARGS;
   39514             :     
   39515           0 :     if ((items < 4) || (items > 5)) {
   39516           0 :       SWIG_croak("Usage: colorObj_setRGB(self,red,green,blue,alpha);");
   39517             :     }
   39518           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_colorObj, 0 |  0 );
   39519           0 :     if (!SWIG_IsOK(res1)) {
   39520           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "colorObj_setRGB" "', argument " "1"" of type '" "colorObj *""'"); 
   39521             :     }
   39522           0 :     arg1 = (colorObj *)(argp1);
   39523           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   39524           0 :     if (!SWIG_IsOK(ecode2)) {
   39525           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "colorObj_setRGB" "', argument " "2"" of type '" "int""'");
   39526             :     } 
   39527           0 :     arg2 = (int)(val2);
   39528           0 :     ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
   39529           0 :     if (!SWIG_IsOK(ecode3)) {
   39530           0 :       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "colorObj_setRGB" "', argument " "3"" of type '" "int""'");
   39531             :     } 
   39532           0 :     arg3 = (int)(val3);
   39533           0 :     ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
   39534           0 :     if (!SWIG_IsOK(ecode4)) {
   39535           0 :       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "colorObj_setRGB" "', argument " "4"" of type '" "int""'");
   39536             :     } 
   39537           0 :     arg4 = (int)(val4);
   39538           0 :     if (items > 4) {
   39539           0 :       ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
   39540           0 :       if (!SWIG_IsOK(ecode5)) {
   39541           0 :         SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "colorObj_setRGB" "', argument " "5"" of type '" "int""'");
   39542             :       } 
   39543           0 :       arg5 = (int)(val5);
   39544             :     }
   39545           0 :     result = (int)colorObj_setRGB(arg1,arg2,arg3,arg4,arg5);
   39546           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   39547             :     
   39548             :     
   39549             :     
   39550             :     
   39551             :     
   39552           0 :     XSRETURN(argvi);
   39553             :   fail:
   39554             :     
   39555             :     
   39556             :     
   39557             :     
   39558             :     
   39559           0 :     SWIG_croak_null();
   39560             :   }
   39561             : }
   39562             : 
   39563             : 
   39564           0 : XS(_wrap_colorObj_setHex) {
   39565             :   {
   39566             :     colorObj *arg1 = (colorObj *) 0 ;
   39567             :     char *arg2 = (char *) 0 ;
   39568           0 :     void *argp1 = 0 ;
   39569             :     int res1 = 0 ;
   39570             :     int res2 ;
   39571           0 :     char *buf2 = 0 ;
   39572           0 :     int alloc2 = 0 ;
   39573             :     int argvi = 0;
   39574             :     int result;
   39575           0 :     dXSARGS;
   39576             :     
   39577           0 :     if ((items < 2) || (items > 2)) {
   39578           0 :       SWIG_croak("Usage: colorObj_setHex(self,psHexColor);");
   39579             :     }
   39580           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_colorObj, 0 |  0 );
   39581           0 :     if (!SWIG_IsOK(res1)) {
   39582           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "colorObj_setHex" "', argument " "1"" of type '" "colorObj *""'"); 
   39583             :     }
   39584           0 :     arg1 = (colorObj *)(argp1);
   39585           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   39586           0 :     if (!SWIG_IsOK(res2)) {
   39587           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "colorObj_setHex" "', argument " "2"" of type '" "char *""'");
   39588             :     }
   39589           0 :     arg2 = (char *)(buf2);
   39590           0 :     result = (int)colorObj_setHex(arg1,arg2);
   39591           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   39592             :     
   39593           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   39594           0 :     XSRETURN(argvi);
   39595             :   fail:
   39596             :     
   39597           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   39598           0 :     SWIG_croak_null();
   39599             :   }
   39600             : }
   39601             : 
   39602             : 
   39603           0 : XS(_wrap_colorObj_toHex) {
   39604             :   {
   39605             :     colorObj *arg1 = (colorObj *) 0 ;
   39606           0 :     void *argp1 = 0 ;
   39607             :     int res1 = 0 ;
   39608             :     int argvi = 0;
   39609             :     char *result = 0 ;
   39610           0 :     dXSARGS;
   39611             :     
   39612           0 :     if ((items < 1) || (items > 1)) {
   39613           0 :       SWIG_croak("Usage: colorObj_toHex(self);");
   39614             :     }
   39615           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_colorObj, 0 |  0 );
   39616           0 :     if (!SWIG_IsOK(res1)) {
   39617           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "colorObj_toHex" "', argument " "1"" of type '" "colorObj *""'"); 
   39618             :     }
   39619           0 :     arg1 = (colorObj *)(argp1);
   39620           0 :     result = (char *)colorObj_toHex(arg1);
   39621           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   39622             :     
   39623           0 :     free((char*)result);
   39624           0 :     XSRETURN(argvi);
   39625             :   fail:
   39626             :     
   39627           0 :     SWIG_croak_null();
   39628             :   }
   39629             : }
   39630             : 
   39631             : 
   39632           0 : XS(_wrap_symbolObj_name_set) {
   39633             :   {
   39634             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   39635             :     char *arg2 = (char *) 0 ;
   39636           0 :     void *argp1 = 0 ;
   39637             :     int res1 = 0 ;
   39638             :     int res2 ;
   39639           0 :     char *buf2 = 0 ;
   39640           0 :     int alloc2 = 0 ;
   39641             :     int argvi = 0;
   39642           0 :     dXSARGS;
   39643             :     
   39644           0 :     if ((items < 2) || (items > 2)) {
   39645           0 :       SWIG_croak("Usage: symbolObj_name_set(self,name);");
   39646             :     }
   39647           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   39648           0 :     if (!SWIG_IsOK(res1)) {
   39649           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_name_set" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   39650             :     }
   39651           0 :     arg1 = (struct symbolObj *)(argp1);
   39652           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   39653           0 :     if (!SWIG_IsOK(res2)) {
   39654           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "symbolObj_name_set" "', argument " "2"" of type '" "char *""'");
   39655             :     }
   39656           0 :     arg2 = (char *)(buf2);
   39657             :     {
   39658           0 :       if (arg1->name) free((char*)arg1->name);
   39659           0 :       if (arg2) {
   39660           0 :         arg1->name = (char *) malloc(strlen(arg2)+1);
   39661             :         strcpy((char*)arg1->name,arg2);
   39662             :       } else {
   39663           0 :         arg1->name = 0;
   39664             :       }
   39665             :     }
   39666           0 :     ST(argvi) = sv_newmortal();
   39667             :     
   39668           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   39669           0 :     XSRETURN(argvi);
   39670             :   fail:
   39671             :     
   39672           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   39673           0 :     SWIG_croak_null();
   39674             :   }
   39675             : }
   39676             : 
   39677             : 
   39678           0 : XS(_wrap_symbolObj_name_get) {
   39679             :   {
   39680             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   39681           0 :     void *argp1 = 0 ;
   39682             :     int res1 = 0 ;
   39683             :     int argvi = 0;
   39684             :     char *result = 0 ;
   39685           0 :     dXSARGS;
   39686             :     
   39687           0 :     if ((items < 1) || (items > 1)) {
   39688           0 :       SWIG_croak("Usage: symbolObj_name_get(self);");
   39689             :     }
   39690           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   39691           0 :     if (!SWIG_IsOK(res1)) {
   39692           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_name_get" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   39693             :     }
   39694           0 :     arg1 = (struct symbolObj *)(argp1);
   39695           0 :     result = (char *) ((arg1)->name);
   39696           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   39697             :     
   39698           0 :     XSRETURN(argvi);
   39699             :   fail:
   39700             :     
   39701           0 :     SWIG_croak_null();
   39702             :   }
   39703             : }
   39704             : 
   39705             : 
   39706           0 : XS(_wrap_symbolObj_type_set) {
   39707             :   {
   39708             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   39709             :     int arg2 ;
   39710           0 :     void *argp1 = 0 ;
   39711             :     int res1 = 0 ;
   39712             :     int val2 ;
   39713             :     int ecode2 = 0 ;
   39714             :     int argvi = 0;
   39715           0 :     dXSARGS;
   39716             :     
   39717           0 :     if ((items < 2) || (items > 2)) {
   39718           0 :       SWIG_croak("Usage: symbolObj_type_set(self,type);");
   39719             :     }
   39720           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   39721           0 :     if (!SWIG_IsOK(res1)) {
   39722           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_type_set" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   39723             :     }
   39724           0 :     arg1 = (struct symbolObj *)(argp1);
   39725           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   39726           0 :     if (!SWIG_IsOK(ecode2)) {
   39727           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolObj_type_set" "', argument " "2"" of type '" "int""'");
   39728             :     } 
   39729           0 :     arg2 = (int)(val2);
   39730           0 :     if (arg1) (arg1)->type = arg2;
   39731           0 :     ST(argvi) = sv_newmortal();
   39732             :     
   39733             :     
   39734           0 :     XSRETURN(argvi);
   39735             :   fail:
   39736             :     
   39737             :     
   39738           0 :     SWIG_croak_null();
   39739             :   }
   39740             : }
   39741             : 
   39742             : 
   39743           0 : XS(_wrap_symbolObj_type_get) {
   39744             :   {
   39745             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   39746           0 :     void *argp1 = 0 ;
   39747             :     int res1 = 0 ;
   39748             :     int argvi = 0;
   39749             :     int result;
   39750           0 :     dXSARGS;
   39751             :     
   39752           0 :     if ((items < 1) || (items > 1)) {
   39753           0 :       SWIG_croak("Usage: symbolObj_type_get(self);");
   39754             :     }
   39755           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   39756           0 :     if (!SWIG_IsOK(res1)) {
   39757           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_type_get" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   39758             :     }
   39759           0 :     arg1 = (struct symbolObj *)(argp1);
   39760           0 :     result = (int) ((arg1)->type);
   39761           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   39762             :     
   39763           0 :     XSRETURN(argvi);
   39764             :   fail:
   39765             :     
   39766           0 :     SWIG_croak_null();
   39767             :   }
   39768             : }
   39769             : 
   39770             : 
   39771           0 : XS(_wrap_symbolObj_inmapfile_set) {
   39772             :   {
   39773             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   39774             :     int arg2 ;
   39775           0 :     void *argp1 = 0 ;
   39776             :     int res1 = 0 ;
   39777             :     int val2 ;
   39778             :     int ecode2 = 0 ;
   39779             :     int argvi = 0;
   39780           0 :     dXSARGS;
   39781             :     
   39782           0 :     if ((items < 2) || (items > 2)) {
   39783           0 :       SWIG_croak("Usage: symbolObj_inmapfile_set(self,inmapfile);");
   39784             :     }
   39785           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   39786           0 :     if (!SWIG_IsOK(res1)) {
   39787           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_inmapfile_set" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   39788             :     }
   39789           0 :     arg1 = (struct symbolObj *)(argp1);
   39790           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   39791           0 :     if (!SWIG_IsOK(ecode2)) {
   39792           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolObj_inmapfile_set" "', argument " "2"" of type '" "int""'");
   39793             :     } 
   39794           0 :     arg2 = (int)(val2);
   39795           0 :     if (arg1) (arg1)->inmapfile = arg2;
   39796           0 :     ST(argvi) = sv_newmortal();
   39797             :     
   39798             :     
   39799           0 :     XSRETURN(argvi);
   39800             :   fail:
   39801             :     
   39802             :     
   39803           0 :     SWIG_croak_null();
   39804             :   }
   39805             : }
   39806             : 
   39807             : 
   39808           0 : XS(_wrap_symbolObj_inmapfile_get) {
   39809             :   {
   39810             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   39811           0 :     void *argp1 = 0 ;
   39812             :     int res1 = 0 ;
   39813             :     int argvi = 0;
   39814             :     int result;
   39815           0 :     dXSARGS;
   39816             :     
   39817           0 :     if ((items < 1) || (items > 1)) {
   39818           0 :       SWIG_croak("Usage: symbolObj_inmapfile_get(self);");
   39819             :     }
   39820           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   39821           0 :     if (!SWIG_IsOK(res1)) {
   39822           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_inmapfile_get" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   39823             :     }
   39824           0 :     arg1 = (struct symbolObj *)(argp1);
   39825           0 :     result = (int) ((arg1)->inmapfile);
   39826           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   39827             :     
   39828           0 :     XSRETURN(argvi);
   39829             :   fail:
   39830             :     
   39831           0 :     SWIG_croak_null();
   39832             :   }
   39833             : }
   39834             : 
   39835             : 
   39836           0 : XS(_wrap_symbolObj_sizex_set) {
   39837             :   {
   39838             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   39839             :     double arg2 ;
   39840           0 :     void *argp1 = 0 ;
   39841             :     int res1 = 0 ;
   39842             :     double val2 ;
   39843             :     int ecode2 = 0 ;
   39844             :     int argvi = 0;
   39845           0 :     dXSARGS;
   39846             :     
   39847           0 :     if ((items < 2) || (items > 2)) {
   39848           0 :       SWIG_croak("Usage: symbolObj_sizex_set(self,sizex);");
   39849             :     }
   39850           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   39851           0 :     if (!SWIG_IsOK(res1)) {
   39852           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_sizex_set" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   39853             :     }
   39854           0 :     arg1 = (struct symbolObj *)(argp1);
   39855           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   39856           0 :     if (!SWIG_IsOK(ecode2)) {
   39857           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolObj_sizex_set" "', argument " "2"" of type '" "double""'");
   39858             :     } 
   39859           0 :     arg2 = (double)(val2);
   39860           0 :     if (arg1) (arg1)->sizex = arg2;
   39861           0 :     ST(argvi) = sv_newmortal();
   39862             :     
   39863             :     
   39864           0 :     XSRETURN(argvi);
   39865             :   fail:
   39866             :     
   39867             :     
   39868           0 :     SWIG_croak_null();
   39869             :   }
   39870             : }
   39871             : 
   39872             : 
   39873           0 : XS(_wrap_symbolObj_sizex_get) {
   39874             :   {
   39875             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   39876           0 :     void *argp1 = 0 ;
   39877             :     int res1 = 0 ;
   39878             :     int argvi = 0;
   39879             :     double result;
   39880           0 :     dXSARGS;
   39881             :     
   39882           0 :     if ((items < 1) || (items > 1)) {
   39883           0 :       SWIG_croak("Usage: symbolObj_sizex_get(self);");
   39884             :     }
   39885           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   39886           0 :     if (!SWIG_IsOK(res1)) {
   39887           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_sizex_get" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   39888             :     }
   39889           0 :     arg1 = (struct symbolObj *)(argp1);
   39890           0 :     result = (double) ((arg1)->sizex);
   39891           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   39892             :     
   39893           0 :     XSRETURN(argvi);
   39894             :   fail:
   39895             :     
   39896           0 :     SWIG_croak_null();
   39897             :   }
   39898             : }
   39899             : 
   39900             : 
   39901           0 : XS(_wrap_symbolObj_sizey_set) {
   39902             :   {
   39903             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   39904             :     double arg2 ;
   39905           0 :     void *argp1 = 0 ;
   39906             :     int res1 = 0 ;
   39907             :     double val2 ;
   39908             :     int ecode2 = 0 ;
   39909             :     int argvi = 0;
   39910           0 :     dXSARGS;
   39911             :     
   39912           0 :     if ((items < 2) || (items > 2)) {
   39913           0 :       SWIG_croak("Usage: symbolObj_sizey_set(self,sizey);");
   39914             :     }
   39915           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   39916           0 :     if (!SWIG_IsOK(res1)) {
   39917           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_sizey_set" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   39918             :     }
   39919           0 :     arg1 = (struct symbolObj *)(argp1);
   39920           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   39921           0 :     if (!SWIG_IsOK(ecode2)) {
   39922           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolObj_sizey_set" "', argument " "2"" of type '" "double""'");
   39923             :     } 
   39924           0 :     arg2 = (double)(val2);
   39925           0 :     if (arg1) (arg1)->sizey = arg2;
   39926           0 :     ST(argvi) = sv_newmortal();
   39927             :     
   39928             :     
   39929           0 :     XSRETURN(argvi);
   39930             :   fail:
   39931             :     
   39932             :     
   39933           0 :     SWIG_croak_null();
   39934             :   }
   39935             : }
   39936             : 
   39937             : 
   39938           0 : XS(_wrap_symbolObj_sizey_get) {
   39939             :   {
   39940             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   39941           0 :     void *argp1 = 0 ;
   39942             :     int res1 = 0 ;
   39943             :     int argvi = 0;
   39944             :     double result;
   39945           0 :     dXSARGS;
   39946             :     
   39947           0 :     if ((items < 1) || (items > 1)) {
   39948           0 :       SWIG_croak("Usage: symbolObj_sizey_get(self);");
   39949             :     }
   39950           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   39951           0 :     if (!SWIG_IsOK(res1)) {
   39952           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_sizey_get" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   39953             :     }
   39954           0 :     arg1 = (struct symbolObj *)(argp1);
   39955           0 :     result = (double) ((arg1)->sizey);
   39956           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   39957             :     
   39958           0 :     XSRETURN(argvi);
   39959             :   fail:
   39960             :     
   39961           0 :     SWIG_croak_null();
   39962             :   }
   39963             : }
   39964             : 
   39965             : 
   39966           0 : XS(_wrap_symbolObj_minx_set) {
   39967             :   {
   39968             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   39969             :     double arg2 ;
   39970           0 :     void *argp1 = 0 ;
   39971             :     int res1 = 0 ;
   39972             :     double val2 ;
   39973             :     int ecode2 = 0 ;
   39974             :     int argvi = 0;
   39975           0 :     dXSARGS;
   39976             :     
   39977           0 :     if ((items < 2) || (items > 2)) {
   39978           0 :       SWIG_croak("Usage: symbolObj_minx_set(self,minx);");
   39979             :     }
   39980           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   39981           0 :     if (!SWIG_IsOK(res1)) {
   39982           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_minx_set" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   39983             :     }
   39984           0 :     arg1 = (struct symbolObj *)(argp1);
   39985           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   39986           0 :     if (!SWIG_IsOK(ecode2)) {
   39987           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolObj_minx_set" "', argument " "2"" of type '" "double""'");
   39988             :     } 
   39989           0 :     arg2 = (double)(val2);
   39990           0 :     if (arg1) (arg1)->minx = arg2;
   39991           0 :     ST(argvi) = sv_newmortal();
   39992             :     
   39993             :     
   39994           0 :     XSRETURN(argvi);
   39995             :   fail:
   39996             :     
   39997             :     
   39998           0 :     SWIG_croak_null();
   39999             :   }
   40000             : }
   40001             : 
   40002             : 
   40003           0 : XS(_wrap_symbolObj_minx_get) {
   40004             :   {
   40005             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   40006           0 :     void *argp1 = 0 ;
   40007             :     int res1 = 0 ;
   40008             :     int argvi = 0;
   40009             :     double result;
   40010           0 :     dXSARGS;
   40011             :     
   40012           0 :     if ((items < 1) || (items > 1)) {
   40013           0 :       SWIG_croak("Usage: symbolObj_minx_get(self);");
   40014             :     }
   40015           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   40016           0 :     if (!SWIG_IsOK(res1)) {
   40017           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_minx_get" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   40018             :     }
   40019           0 :     arg1 = (struct symbolObj *)(argp1);
   40020           0 :     result = (double) ((arg1)->minx);
   40021           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   40022             :     
   40023           0 :     XSRETURN(argvi);
   40024             :   fail:
   40025             :     
   40026           0 :     SWIG_croak_null();
   40027             :   }
   40028             : }
   40029             : 
   40030             : 
   40031           0 : XS(_wrap_symbolObj_miny_set) {
   40032             :   {
   40033             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   40034             :     double arg2 ;
   40035           0 :     void *argp1 = 0 ;
   40036             :     int res1 = 0 ;
   40037             :     double val2 ;
   40038             :     int ecode2 = 0 ;
   40039             :     int argvi = 0;
   40040           0 :     dXSARGS;
   40041             :     
   40042           0 :     if ((items < 2) || (items > 2)) {
   40043           0 :       SWIG_croak("Usage: symbolObj_miny_set(self,miny);");
   40044             :     }
   40045           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   40046           0 :     if (!SWIG_IsOK(res1)) {
   40047           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_miny_set" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   40048             :     }
   40049           0 :     arg1 = (struct symbolObj *)(argp1);
   40050           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   40051           0 :     if (!SWIG_IsOK(ecode2)) {
   40052           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolObj_miny_set" "', argument " "2"" of type '" "double""'");
   40053             :     } 
   40054           0 :     arg2 = (double)(val2);
   40055           0 :     if (arg1) (arg1)->miny = arg2;
   40056           0 :     ST(argvi) = sv_newmortal();
   40057             :     
   40058             :     
   40059           0 :     XSRETURN(argvi);
   40060             :   fail:
   40061             :     
   40062             :     
   40063           0 :     SWIG_croak_null();
   40064             :   }
   40065             : }
   40066             : 
   40067             : 
   40068           0 : XS(_wrap_symbolObj_miny_get) {
   40069             :   {
   40070             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   40071           0 :     void *argp1 = 0 ;
   40072             :     int res1 = 0 ;
   40073             :     int argvi = 0;
   40074             :     double result;
   40075           0 :     dXSARGS;
   40076             :     
   40077           0 :     if ((items < 1) || (items > 1)) {
   40078           0 :       SWIG_croak("Usage: symbolObj_miny_get(self);");
   40079             :     }
   40080           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   40081           0 :     if (!SWIG_IsOK(res1)) {
   40082           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_miny_get" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   40083             :     }
   40084           0 :     arg1 = (struct symbolObj *)(argp1);
   40085           0 :     result = (double) ((arg1)->miny);
   40086           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   40087             :     
   40088           0 :     XSRETURN(argvi);
   40089             :   fail:
   40090             :     
   40091           0 :     SWIG_croak_null();
   40092             :   }
   40093             : }
   40094             : 
   40095             : 
   40096           0 : XS(_wrap_symbolObj_maxx_set) {
   40097             :   {
   40098             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   40099             :     double arg2 ;
   40100           0 :     void *argp1 = 0 ;
   40101             :     int res1 = 0 ;
   40102             :     double val2 ;
   40103             :     int ecode2 = 0 ;
   40104             :     int argvi = 0;
   40105           0 :     dXSARGS;
   40106             :     
   40107           0 :     if ((items < 2) || (items > 2)) {
   40108           0 :       SWIG_croak("Usage: symbolObj_maxx_set(self,maxx);");
   40109             :     }
   40110           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   40111           0 :     if (!SWIG_IsOK(res1)) {
   40112           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_maxx_set" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   40113             :     }
   40114           0 :     arg1 = (struct symbolObj *)(argp1);
   40115           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   40116           0 :     if (!SWIG_IsOK(ecode2)) {
   40117           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolObj_maxx_set" "', argument " "2"" of type '" "double""'");
   40118             :     } 
   40119           0 :     arg2 = (double)(val2);
   40120           0 :     if (arg1) (arg1)->maxx = arg2;
   40121           0 :     ST(argvi) = sv_newmortal();
   40122             :     
   40123             :     
   40124           0 :     XSRETURN(argvi);
   40125             :   fail:
   40126             :     
   40127             :     
   40128           0 :     SWIG_croak_null();
   40129             :   }
   40130             : }
   40131             : 
   40132             : 
   40133           0 : XS(_wrap_symbolObj_maxx_get) {
   40134             :   {
   40135             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   40136           0 :     void *argp1 = 0 ;
   40137             :     int res1 = 0 ;
   40138             :     int argvi = 0;
   40139             :     double result;
   40140           0 :     dXSARGS;
   40141             :     
   40142           0 :     if ((items < 1) || (items > 1)) {
   40143           0 :       SWIG_croak("Usage: symbolObj_maxx_get(self);");
   40144             :     }
   40145           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   40146           0 :     if (!SWIG_IsOK(res1)) {
   40147           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_maxx_get" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   40148             :     }
   40149           0 :     arg1 = (struct symbolObj *)(argp1);
   40150           0 :     result = (double) ((arg1)->maxx);
   40151           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   40152             :     
   40153           0 :     XSRETURN(argvi);
   40154             :   fail:
   40155             :     
   40156           0 :     SWIG_croak_null();
   40157             :   }
   40158             : }
   40159             : 
   40160             : 
   40161           0 : XS(_wrap_symbolObj_maxy_set) {
   40162             :   {
   40163             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   40164             :     double arg2 ;
   40165           0 :     void *argp1 = 0 ;
   40166             :     int res1 = 0 ;
   40167             :     double val2 ;
   40168             :     int ecode2 = 0 ;
   40169             :     int argvi = 0;
   40170           0 :     dXSARGS;
   40171             :     
   40172           0 :     if ((items < 2) || (items > 2)) {
   40173           0 :       SWIG_croak("Usage: symbolObj_maxy_set(self,maxy);");
   40174             :     }
   40175           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   40176           0 :     if (!SWIG_IsOK(res1)) {
   40177           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_maxy_set" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   40178             :     }
   40179           0 :     arg1 = (struct symbolObj *)(argp1);
   40180           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   40181           0 :     if (!SWIG_IsOK(ecode2)) {
   40182           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolObj_maxy_set" "', argument " "2"" of type '" "double""'");
   40183             :     } 
   40184           0 :     arg2 = (double)(val2);
   40185           0 :     if (arg1) (arg1)->maxy = arg2;
   40186           0 :     ST(argvi) = sv_newmortal();
   40187             :     
   40188             :     
   40189           0 :     XSRETURN(argvi);
   40190             :   fail:
   40191             :     
   40192             :     
   40193           0 :     SWIG_croak_null();
   40194             :   }
   40195             : }
   40196             : 
   40197             : 
   40198           0 : XS(_wrap_symbolObj_maxy_get) {
   40199             :   {
   40200             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   40201           0 :     void *argp1 = 0 ;
   40202             :     int res1 = 0 ;
   40203             :     int argvi = 0;
   40204             :     double result;
   40205           0 :     dXSARGS;
   40206             :     
   40207           0 :     if ((items < 1) || (items > 1)) {
   40208           0 :       SWIG_croak("Usage: symbolObj_maxy_get(self);");
   40209             :     }
   40210           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   40211           0 :     if (!SWIG_IsOK(res1)) {
   40212           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_maxy_get" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   40213             :     }
   40214           0 :     arg1 = (struct symbolObj *)(argp1);
   40215           0 :     result = (double) ((arg1)->maxy);
   40216           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   40217             :     
   40218           0 :     XSRETURN(argvi);
   40219             :   fail:
   40220             :     
   40221           0 :     SWIG_croak_null();
   40222             :   }
   40223             : }
   40224             : 
   40225             : 
   40226           0 : XS(_wrap_symbolObj_refcount_get) {
   40227             :   {
   40228             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   40229           0 :     void *argp1 = 0 ;
   40230             :     int res1 = 0 ;
   40231             :     int argvi = 0;
   40232             :     int result;
   40233           0 :     dXSARGS;
   40234             :     
   40235           0 :     if ((items < 1) || (items > 1)) {
   40236           0 :       SWIG_croak("Usage: symbolObj_refcount_get(self);");
   40237             :     }
   40238           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   40239           0 :     if (!SWIG_IsOK(res1)) {
   40240           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_refcount_get" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   40241             :     }
   40242           0 :     arg1 = (struct symbolObj *)(argp1);
   40243           0 :     result = (int) ((arg1)->refcount);
   40244           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   40245             :     
   40246           0 :     XSRETURN(argvi);
   40247             :   fail:
   40248             :     
   40249           0 :     SWIG_croak_null();
   40250             :   }
   40251             : }
   40252             : 
   40253             : 
   40254           0 : XS(_wrap_symbolObj_numpoints_get) {
   40255             :   {
   40256             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   40257           0 :     void *argp1 = 0 ;
   40258             :     int res1 = 0 ;
   40259             :     int argvi = 0;
   40260             :     int result;
   40261           0 :     dXSARGS;
   40262             :     
   40263           0 :     if ((items < 1) || (items > 1)) {
   40264           0 :       SWIG_croak("Usage: symbolObj_numpoints_get(self);");
   40265             :     }
   40266           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   40267           0 :     if (!SWIG_IsOK(res1)) {
   40268           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_numpoints_get" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   40269             :     }
   40270           0 :     arg1 = (struct symbolObj *)(argp1);
   40271           0 :     result = (int) ((arg1)->numpoints);
   40272           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   40273             :     
   40274           0 :     XSRETURN(argvi);
   40275             :   fail:
   40276             :     
   40277           0 :     SWIG_croak_null();
   40278             :   }
   40279             : }
   40280             : 
   40281             : 
   40282           0 : XS(_wrap_symbolObj_filled_set) {
   40283             :   {
   40284             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   40285             :     int arg2 ;
   40286           0 :     void *argp1 = 0 ;
   40287             :     int res1 = 0 ;
   40288             :     int val2 ;
   40289             :     int ecode2 = 0 ;
   40290             :     int argvi = 0;
   40291           0 :     dXSARGS;
   40292             :     
   40293           0 :     if ((items < 2) || (items > 2)) {
   40294           0 :       SWIG_croak("Usage: symbolObj_filled_set(self,filled);");
   40295             :     }
   40296           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   40297           0 :     if (!SWIG_IsOK(res1)) {
   40298           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_filled_set" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   40299             :     }
   40300           0 :     arg1 = (struct symbolObj *)(argp1);
   40301           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   40302           0 :     if (!SWIG_IsOK(ecode2)) {
   40303           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolObj_filled_set" "', argument " "2"" of type '" "int""'");
   40304             :     } 
   40305           0 :     arg2 = (int)(val2);
   40306           0 :     if (arg1) (arg1)->filled = arg2;
   40307           0 :     ST(argvi) = sv_newmortal();
   40308             :     
   40309             :     
   40310           0 :     XSRETURN(argvi);
   40311             :   fail:
   40312             :     
   40313             :     
   40314           0 :     SWIG_croak_null();
   40315             :   }
   40316             : }
   40317             : 
   40318             : 
   40319           0 : XS(_wrap_symbolObj_filled_get) {
   40320             :   {
   40321             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   40322           0 :     void *argp1 = 0 ;
   40323             :     int res1 = 0 ;
   40324             :     int argvi = 0;
   40325             :     int result;
   40326           0 :     dXSARGS;
   40327             :     
   40328           0 :     if ((items < 1) || (items > 1)) {
   40329           0 :       SWIG_croak("Usage: symbolObj_filled_get(self);");
   40330             :     }
   40331           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   40332           0 :     if (!SWIG_IsOK(res1)) {
   40333           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_filled_get" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   40334             :     }
   40335           0 :     arg1 = (struct symbolObj *)(argp1);
   40336           0 :     result = (int) ((arg1)->filled);
   40337           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   40338             :     
   40339           0 :     XSRETURN(argvi);
   40340             :   fail:
   40341             :     
   40342           0 :     SWIG_croak_null();
   40343             :   }
   40344             : }
   40345             : 
   40346             : 
   40347           0 : XS(_wrap_symbolObj_anchorpoint_x_set) {
   40348             :   {
   40349             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   40350             :     double arg2 ;
   40351           0 :     void *argp1 = 0 ;
   40352             :     int res1 = 0 ;
   40353             :     double val2 ;
   40354             :     int ecode2 = 0 ;
   40355             :     int argvi = 0;
   40356           0 :     dXSARGS;
   40357             :     
   40358           0 :     if ((items < 2) || (items > 2)) {
   40359           0 :       SWIG_croak("Usage: symbolObj_anchorpoint_x_set(self,anchorpoint_x);");
   40360             :     }
   40361           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   40362           0 :     if (!SWIG_IsOK(res1)) {
   40363           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_anchorpoint_x_set" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   40364             :     }
   40365           0 :     arg1 = (struct symbolObj *)(argp1);
   40366           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   40367           0 :     if (!SWIG_IsOK(ecode2)) {
   40368           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolObj_anchorpoint_x_set" "', argument " "2"" of type '" "double""'");
   40369             :     } 
   40370           0 :     arg2 = (double)(val2);
   40371           0 :     if (arg1) (arg1)->anchorpoint_x = arg2;
   40372           0 :     ST(argvi) = sv_newmortal();
   40373             :     
   40374             :     
   40375           0 :     XSRETURN(argvi);
   40376             :   fail:
   40377             :     
   40378             :     
   40379           0 :     SWIG_croak_null();
   40380             :   }
   40381             : }
   40382             : 
   40383             : 
   40384           0 : XS(_wrap_symbolObj_anchorpoint_x_get) {
   40385             :   {
   40386             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   40387           0 :     void *argp1 = 0 ;
   40388             :     int res1 = 0 ;
   40389             :     int argvi = 0;
   40390             :     double result;
   40391           0 :     dXSARGS;
   40392             :     
   40393           0 :     if ((items < 1) || (items > 1)) {
   40394           0 :       SWIG_croak("Usage: symbolObj_anchorpoint_x_get(self);");
   40395             :     }
   40396           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   40397           0 :     if (!SWIG_IsOK(res1)) {
   40398           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_anchorpoint_x_get" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   40399             :     }
   40400           0 :     arg1 = (struct symbolObj *)(argp1);
   40401           0 :     result = (double) ((arg1)->anchorpoint_x);
   40402           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   40403             :     
   40404           0 :     XSRETURN(argvi);
   40405             :   fail:
   40406             :     
   40407           0 :     SWIG_croak_null();
   40408             :   }
   40409             : }
   40410             : 
   40411             : 
   40412           0 : XS(_wrap_symbolObj_anchorpoint_y_set) {
   40413             :   {
   40414             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   40415             :     double arg2 ;
   40416           0 :     void *argp1 = 0 ;
   40417             :     int res1 = 0 ;
   40418             :     double val2 ;
   40419             :     int ecode2 = 0 ;
   40420             :     int argvi = 0;
   40421           0 :     dXSARGS;
   40422             :     
   40423           0 :     if ((items < 2) || (items > 2)) {
   40424           0 :       SWIG_croak("Usage: symbolObj_anchorpoint_y_set(self,anchorpoint_y);");
   40425             :     }
   40426           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   40427           0 :     if (!SWIG_IsOK(res1)) {
   40428           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_anchorpoint_y_set" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   40429             :     }
   40430           0 :     arg1 = (struct symbolObj *)(argp1);
   40431           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   40432           0 :     if (!SWIG_IsOK(ecode2)) {
   40433           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolObj_anchorpoint_y_set" "', argument " "2"" of type '" "double""'");
   40434             :     } 
   40435           0 :     arg2 = (double)(val2);
   40436           0 :     if (arg1) (arg1)->anchorpoint_y = arg2;
   40437           0 :     ST(argvi) = sv_newmortal();
   40438             :     
   40439             :     
   40440           0 :     XSRETURN(argvi);
   40441             :   fail:
   40442             :     
   40443             :     
   40444           0 :     SWIG_croak_null();
   40445             :   }
   40446             : }
   40447             : 
   40448             : 
   40449           0 : XS(_wrap_symbolObj_anchorpoint_y_get) {
   40450             :   {
   40451             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   40452           0 :     void *argp1 = 0 ;
   40453             :     int res1 = 0 ;
   40454             :     int argvi = 0;
   40455             :     double result;
   40456           0 :     dXSARGS;
   40457             :     
   40458           0 :     if ((items < 1) || (items > 1)) {
   40459           0 :       SWIG_croak("Usage: symbolObj_anchorpoint_y_get(self);");
   40460             :     }
   40461           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   40462           0 :     if (!SWIG_IsOK(res1)) {
   40463           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_anchorpoint_y_get" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   40464             :     }
   40465           0 :     arg1 = (struct symbolObj *)(argp1);
   40466           0 :     result = (double) ((arg1)->anchorpoint_y);
   40467           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   40468             :     
   40469           0 :     XSRETURN(argvi);
   40470             :   fail:
   40471             :     
   40472           0 :     SWIG_croak_null();
   40473             :   }
   40474             : }
   40475             : 
   40476             : 
   40477           0 : XS(_wrap_symbolObj_imagepath_get) {
   40478             :   {
   40479             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   40480           0 :     void *argp1 = 0 ;
   40481             :     int res1 = 0 ;
   40482             :     int argvi = 0;
   40483             :     char *result = 0 ;
   40484           0 :     dXSARGS;
   40485             :     
   40486           0 :     if ((items < 1) || (items > 1)) {
   40487           0 :       SWIG_croak("Usage: symbolObj_imagepath_get(self);");
   40488             :     }
   40489           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   40490           0 :     if (!SWIG_IsOK(res1)) {
   40491           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_imagepath_get" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   40492             :     }
   40493           0 :     arg1 = (struct symbolObj *)(argp1);
   40494           0 :     result = (char *) ((arg1)->imagepath);
   40495           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   40496             :     
   40497           0 :     XSRETURN(argvi);
   40498             :   fail:
   40499             :     
   40500           0 :     SWIG_croak_null();
   40501             :   }
   40502             : }
   40503             : 
   40504             : 
   40505           0 : XS(_wrap_symbolObj_transparent_set) {
   40506             :   {
   40507             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   40508             :     int arg2 ;
   40509           0 :     void *argp1 = 0 ;
   40510             :     int res1 = 0 ;
   40511             :     int val2 ;
   40512             :     int ecode2 = 0 ;
   40513             :     int argvi = 0;
   40514           0 :     dXSARGS;
   40515             :     
   40516           0 :     if ((items < 2) || (items > 2)) {
   40517           0 :       SWIG_croak("Usage: symbolObj_transparent_set(self,transparent);");
   40518             :     }
   40519           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   40520           0 :     if (!SWIG_IsOK(res1)) {
   40521           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_transparent_set" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   40522             :     }
   40523           0 :     arg1 = (struct symbolObj *)(argp1);
   40524           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   40525           0 :     if (!SWIG_IsOK(ecode2)) {
   40526           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolObj_transparent_set" "', argument " "2"" of type '" "int""'");
   40527             :     } 
   40528           0 :     arg2 = (int)(val2);
   40529           0 :     if (arg1) (arg1)->transparent = arg2;
   40530           0 :     ST(argvi) = sv_newmortal();
   40531             :     
   40532             :     
   40533           0 :     XSRETURN(argvi);
   40534             :   fail:
   40535             :     
   40536             :     
   40537           0 :     SWIG_croak_null();
   40538             :   }
   40539             : }
   40540             : 
   40541             : 
   40542           0 : XS(_wrap_symbolObj_transparent_get) {
   40543             :   {
   40544             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   40545           0 :     void *argp1 = 0 ;
   40546             :     int res1 = 0 ;
   40547             :     int argvi = 0;
   40548             :     int result;
   40549           0 :     dXSARGS;
   40550             :     
   40551           0 :     if ((items < 1) || (items > 1)) {
   40552           0 :       SWIG_croak("Usage: symbolObj_transparent_get(self);");
   40553             :     }
   40554           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   40555           0 :     if (!SWIG_IsOK(res1)) {
   40556           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_transparent_get" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   40557             :     }
   40558           0 :     arg1 = (struct symbolObj *)(argp1);
   40559           0 :     result = (int) ((arg1)->transparent);
   40560           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   40561             :     
   40562           0 :     XSRETURN(argvi);
   40563             :   fail:
   40564             :     
   40565           0 :     SWIG_croak_null();
   40566             :   }
   40567             : }
   40568             : 
   40569             : 
   40570           0 : XS(_wrap_symbolObj_transparentcolor_set) {
   40571             :   {
   40572             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   40573             :     int arg2 ;
   40574           0 :     void *argp1 = 0 ;
   40575             :     int res1 = 0 ;
   40576             :     int val2 ;
   40577             :     int ecode2 = 0 ;
   40578             :     int argvi = 0;
   40579           0 :     dXSARGS;
   40580             :     
   40581           0 :     if ((items < 2) || (items > 2)) {
   40582           0 :       SWIG_croak("Usage: symbolObj_transparentcolor_set(self,transparentcolor);");
   40583             :     }
   40584           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   40585           0 :     if (!SWIG_IsOK(res1)) {
   40586           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_transparentcolor_set" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   40587             :     }
   40588           0 :     arg1 = (struct symbolObj *)(argp1);
   40589           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   40590           0 :     if (!SWIG_IsOK(ecode2)) {
   40591           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolObj_transparentcolor_set" "', argument " "2"" of type '" "int""'");
   40592             :     } 
   40593           0 :     arg2 = (int)(val2);
   40594           0 :     if (arg1) (arg1)->transparentcolor = arg2;
   40595           0 :     ST(argvi) = sv_newmortal();
   40596             :     
   40597             :     
   40598           0 :     XSRETURN(argvi);
   40599             :   fail:
   40600             :     
   40601             :     
   40602           0 :     SWIG_croak_null();
   40603             :   }
   40604             : }
   40605             : 
   40606             : 
   40607           0 : XS(_wrap_symbolObj_transparentcolor_get) {
   40608             :   {
   40609             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   40610           0 :     void *argp1 = 0 ;
   40611             :     int res1 = 0 ;
   40612             :     int argvi = 0;
   40613             :     int result;
   40614           0 :     dXSARGS;
   40615             :     
   40616           0 :     if ((items < 1) || (items > 1)) {
   40617           0 :       SWIG_croak("Usage: symbolObj_transparentcolor_get(self);");
   40618             :     }
   40619           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   40620           0 :     if (!SWIG_IsOK(res1)) {
   40621           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_transparentcolor_get" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   40622             :     }
   40623           0 :     arg1 = (struct symbolObj *)(argp1);
   40624           0 :     result = (int) ((arg1)->transparentcolor);
   40625           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   40626             :     
   40627           0 :     XSRETURN(argvi);
   40628             :   fail:
   40629             :     
   40630           0 :     SWIG_croak_null();
   40631             :   }
   40632             : }
   40633             : 
   40634             : 
   40635           0 : XS(_wrap_symbolObj_character_set) {
   40636             :   {
   40637             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   40638             :     char *arg2 = (char *) 0 ;
   40639           0 :     void *argp1 = 0 ;
   40640             :     int res1 = 0 ;
   40641             :     int res2 ;
   40642           0 :     char *buf2 = 0 ;
   40643           0 :     int alloc2 = 0 ;
   40644             :     int argvi = 0;
   40645           0 :     dXSARGS;
   40646             :     
   40647           0 :     if ((items < 2) || (items > 2)) {
   40648           0 :       SWIG_croak("Usage: symbolObj_character_set(self,character);");
   40649             :     }
   40650           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   40651           0 :     if (!SWIG_IsOK(res1)) {
   40652           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_character_set" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   40653             :     }
   40654           0 :     arg1 = (struct symbolObj *)(argp1);
   40655           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   40656           0 :     if (!SWIG_IsOK(res2)) {
   40657           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "symbolObj_character_set" "', argument " "2"" of type '" "char *""'");
   40658             :     }
   40659           0 :     arg2 = (char *)(buf2);
   40660             :     {
   40661           0 :       if (arg1->character) free((char*)arg1->character);
   40662           0 :       if (arg2) {
   40663           0 :         arg1->character = (char *) malloc(strlen(arg2)+1);
   40664             :         strcpy((char*)arg1->character,arg2);
   40665             :       } else {
   40666           0 :         arg1->character = 0;
   40667             :       }
   40668             :     }
   40669           0 :     ST(argvi) = sv_newmortal();
   40670             :     
   40671           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   40672           0 :     XSRETURN(argvi);
   40673             :   fail:
   40674             :     
   40675           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   40676           0 :     SWIG_croak_null();
   40677             :   }
   40678             : }
   40679             : 
   40680             : 
   40681           0 : XS(_wrap_symbolObj_character_get) {
   40682             :   {
   40683             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   40684           0 :     void *argp1 = 0 ;
   40685             :     int res1 = 0 ;
   40686             :     int argvi = 0;
   40687             :     char *result = 0 ;
   40688           0 :     dXSARGS;
   40689             :     
   40690           0 :     if ((items < 1) || (items > 1)) {
   40691           0 :       SWIG_croak("Usage: symbolObj_character_get(self);");
   40692             :     }
   40693           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   40694           0 :     if (!SWIG_IsOK(res1)) {
   40695           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_character_get" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   40696             :     }
   40697           0 :     arg1 = (struct symbolObj *)(argp1);
   40698           0 :     result = (char *) ((arg1)->character);
   40699           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   40700             :     
   40701           0 :     XSRETURN(argvi);
   40702             :   fail:
   40703             :     
   40704           0 :     SWIG_croak_null();
   40705             :   }
   40706             : }
   40707             : 
   40708             : 
   40709           0 : XS(_wrap_symbolObj_font_set) {
   40710             :   {
   40711             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   40712             :     char *arg2 = (char *) 0 ;
   40713           0 :     void *argp1 = 0 ;
   40714             :     int res1 = 0 ;
   40715             :     int res2 ;
   40716           0 :     char *buf2 = 0 ;
   40717           0 :     int alloc2 = 0 ;
   40718             :     int argvi = 0;
   40719           0 :     dXSARGS;
   40720             :     
   40721           0 :     if ((items < 2) || (items > 2)) {
   40722           0 :       SWIG_croak("Usage: symbolObj_font_set(self,font);");
   40723             :     }
   40724           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   40725           0 :     if (!SWIG_IsOK(res1)) {
   40726           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_font_set" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   40727             :     }
   40728           0 :     arg1 = (struct symbolObj *)(argp1);
   40729           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   40730           0 :     if (!SWIG_IsOK(res2)) {
   40731           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "symbolObj_font_set" "', argument " "2"" of type '" "char *""'");
   40732             :     }
   40733           0 :     arg2 = (char *)(buf2);
   40734             :     {
   40735           0 :       if (arg1->font) free((char*)arg1->font);
   40736           0 :       if (arg2) {
   40737           0 :         arg1->font = (char *) malloc(strlen(arg2)+1);
   40738             :         strcpy((char*)arg1->font,arg2);
   40739             :       } else {
   40740           0 :         arg1->font = 0;
   40741             :       }
   40742             :     }
   40743           0 :     ST(argvi) = sv_newmortal();
   40744             :     
   40745           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   40746           0 :     XSRETURN(argvi);
   40747             :   fail:
   40748             :     
   40749           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   40750           0 :     SWIG_croak_null();
   40751             :   }
   40752             : }
   40753             : 
   40754             : 
   40755           0 : XS(_wrap_symbolObj_font_get) {
   40756             :   {
   40757             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   40758           0 :     void *argp1 = 0 ;
   40759             :     int res1 = 0 ;
   40760             :     int argvi = 0;
   40761             :     char *result = 0 ;
   40762           0 :     dXSARGS;
   40763             :     
   40764           0 :     if ((items < 1) || (items > 1)) {
   40765           0 :       SWIG_croak("Usage: symbolObj_font_get(self);");
   40766             :     }
   40767           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   40768           0 :     if (!SWIG_IsOK(res1)) {
   40769           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_font_get" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   40770             :     }
   40771           0 :     arg1 = (struct symbolObj *)(argp1);
   40772           0 :     result = (char *) ((arg1)->font);
   40773           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   40774             :     
   40775           0 :     XSRETURN(argvi);
   40776             :   fail:
   40777             :     
   40778           0 :     SWIG_croak_null();
   40779             :   }
   40780             : }
   40781             : 
   40782             : 
   40783           0 : XS(_wrap_new_symbolObj) {
   40784             :   {
   40785             :     char *arg1 = (char *) 0 ;
   40786             :     char *arg2 = (char *) NULL ;
   40787             :     int res1 ;
   40788           0 :     char *buf1 = 0 ;
   40789           0 :     int alloc1 = 0 ;
   40790             :     int res2 ;
   40791           0 :     char *buf2 = 0 ;
   40792           0 :     int alloc2 = 0 ;
   40793             :     int argvi = 0;
   40794             :     struct symbolObj *result = 0 ;
   40795           0 :     dXSARGS;
   40796             :     
   40797           0 :     if ((items < 1) || (items > 2)) {
   40798           0 :       SWIG_croak("Usage: new_symbolObj(symbolname,imagefile);");
   40799             :     }
   40800           0 :     res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
   40801           0 :     if (!SWIG_IsOK(res1)) {
   40802           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_symbolObj" "', argument " "1"" of type '" "char *""'");
   40803             :     }
   40804           0 :     arg1 = (char *)(buf1);
   40805           0 :     if (items > 1) {
   40806           0 :       res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   40807           0 :       if (!SWIG_IsOK(res2)) {
   40808           0 :         SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_symbolObj" "', argument " "2"" of type '" "char const *""'");
   40809             :       }
   40810           0 :       arg2 = (char *)(buf2);
   40811             :     }
   40812           0 :     result = (struct symbolObj *)new_symbolObj(arg1,(char const *)arg2);
   40813           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_symbolObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   40814           0 :     if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
   40815           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   40816           0 :     XSRETURN(argvi);
   40817             :   fail:
   40818           0 :     if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
   40819           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   40820           0 :     SWIG_croak_null();
   40821             :   }
   40822             : }
   40823             : 
   40824             : 
   40825           0 : XS(_wrap_delete_symbolObj) {
   40826             :   {
   40827             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   40828           0 :     void *argp1 = 0 ;
   40829             :     int res1 = 0 ;
   40830             :     int argvi = 0;
   40831           0 :     dXSARGS;
   40832             :     
   40833           0 :     if ((items < 1) || (items > 1)) {
   40834           0 :       SWIG_croak("Usage: delete_symbolObj(self);");
   40835             :     }
   40836           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, SWIG_POINTER_DISOWN |  0 );
   40837           0 :     if (!SWIG_IsOK(res1)) {
   40838           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_symbolObj" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   40839             :     }
   40840           0 :     arg1 = (struct symbolObj *)(argp1);
   40841           0 :     delete_symbolObj(arg1);
   40842           0 :     ST(argvi) = sv_newmortal();
   40843             :     
   40844           0 :     XSRETURN(argvi);
   40845             :   fail:
   40846             :     
   40847           0 :     SWIG_croak_null();
   40848             :   }
   40849             : }
   40850             : 
   40851             : 
   40852           0 : XS(_wrap_symbolObj_setImagepath) {
   40853             :   {
   40854             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   40855             :     char *arg2 = (char *) 0 ;
   40856           0 :     void *argp1 = 0 ;
   40857             :     int res1 = 0 ;
   40858             :     int res2 ;
   40859           0 :     char *buf2 = 0 ;
   40860           0 :     int alloc2 = 0 ;
   40861             :     int argvi = 0;
   40862             :     int result;
   40863           0 :     dXSARGS;
   40864             :     
   40865           0 :     if ((items < 2) || (items > 2)) {
   40866           0 :       SWIG_croak("Usage: symbolObj_setImagepath(self,imagefile);");
   40867             :     }
   40868           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   40869           0 :     if (!SWIG_IsOK(res1)) {
   40870           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_setImagepath" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   40871             :     }
   40872           0 :     arg1 = (struct symbolObj *)(argp1);
   40873           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   40874           0 :     if (!SWIG_IsOK(res2)) {
   40875           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "symbolObj_setImagepath" "', argument " "2"" of type '" "char const *""'");
   40876             :     }
   40877           0 :     arg2 = (char *)(buf2);
   40878             :     result = (int)symbolObj_setImagepath(arg1,(char const *)arg2);
   40879           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   40880             :     
   40881           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   40882           0 :     XSRETURN(argvi);
   40883             :   fail:
   40884             :     
   40885           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   40886           0 :     SWIG_croak_null();
   40887             :   }
   40888             : }
   40889             : 
   40890             : 
   40891           0 : XS(_wrap_symbolObj_setPoints) {
   40892             :   {
   40893             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   40894             :     lineObj *arg2 = (lineObj *) 0 ;
   40895           0 :     void *argp1 = 0 ;
   40896             :     int res1 = 0 ;
   40897           0 :     void *argp2 = 0 ;
   40898             :     int res2 = 0 ;
   40899             :     int argvi = 0;
   40900             :     int result;
   40901           0 :     dXSARGS;
   40902             :     
   40903           0 :     if ((items < 2) || (items > 2)) {
   40904           0 :       SWIG_croak("Usage: symbolObj_setPoints(self,line);");
   40905             :     }
   40906           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   40907           0 :     if (!SWIG_IsOK(res1)) {
   40908           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_setPoints" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   40909             :     }
   40910           0 :     arg1 = (struct symbolObj *)(argp1);
   40911           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_lineObj, 0 |  0 );
   40912           0 :     if (!SWIG_IsOK(res2)) {
   40913           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "symbolObj_setPoints" "', argument " "2"" of type '" "lineObj *""'"); 
   40914             :     }
   40915           0 :     arg2 = (lineObj *)(argp2);
   40916           0 :     result = (int)symbolObj_setPoints(arg1,arg2);
   40917           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   40918             :     
   40919             :     
   40920           0 :     XSRETURN(argvi);
   40921             :   fail:
   40922             :     
   40923             :     
   40924           0 :     SWIG_croak_null();
   40925             :   }
   40926             : }
   40927             : 
   40928             : 
   40929           0 : XS(_wrap_symbolObj_getPoints) {
   40930             :   {
   40931             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   40932           0 :     void *argp1 = 0 ;
   40933             :     int res1 = 0 ;
   40934             :     int argvi = 0;
   40935             :     lineObj *result = 0 ;
   40936           0 :     dXSARGS;
   40937             :     
   40938           0 :     if ((items < 1) || (items > 1)) {
   40939           0 :       SWIG_croak("Usage: symbolObj_getPoints(self);");
   40940             :     }
   40941           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   40942           0 :     if (!SWIG_IsOK(res1)) {
   40943           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_getPoints" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   40944             :     }
   40945           0 :     arg1 = (struct symbolObj *)(argp1);
   40946           0 :     result = (lineObj *)symbolObj_getPoints(arg1);
   40947           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_lineObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   40948             :     
   40949           0 :     XSRETURN(argvi);
   40950             :   fail:
   40951             :     
   40952           0 :     SWIG_croak_null();
   40953             :   }
   40954             : }
   40955             : 
   40956             : 
   40957           0 : XS(_wrap_symbolObj_getImage) {
   40958             :   {
   40959             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   40960             :     outputFormatObj *arg2 = (outputFormatObj *) 0 ;
   40961           0 :     void *argp1 = 0 ;
   40962             :     int res1 = 0 ;
   40963           0 :     void *argp2 = 0 ;
   40964             :     int res2 = 0 ;
   40965             :     int argvi = 0;
   40966             :     imageObj *result = 0 ;
   40967           0 :     dXSARGS;
   40968             :     
   40969           0 :     if ((items < 2) || (items > 2)) {
   40970           0 :       SWIG_croak("Usage: symbolObj_getImage(self,input_format);");
   40971             :     }
   40972           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   40973           0 :     if (!SWIG_IsOK(res1)) {
   40974           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_getImage" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   40975             :     }
   40976           0 :     arg1 = (struct symbolObj *)(argp1);
   40977           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_outputFormatObj, 0 |  0 );
   40978           0 :     if (!SWIG_IsOK(res2)) {
   40979           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "symbolObj_getImage" "', argument " "2"" of type '" "outputFormatObj *""'"); 
   40980             :     }
   40981           0 :     arg2 = (outputFormatObj *)(argp2);
   40982           0 :     result = (imageObj *)symbolObj_getImage(arg1,arg2);
   40983           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_imageObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   40984             :     
   40985             :     
   40986           0 :     XSRETURN(argvi);
   40987             :   fail:
   40988             :     
   40989             :     
   40990           0 :     SWIG_croak_null();
   40991             :   }
   40992             : }
   40993             : 
   40994             : 
   40995           0 : XS(_wrap_symbolObj_setImage) {
   40996             :   {
   40997             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   40998             :     imageObj *arg2 = (imageObj *) 0 ;
   40999           0 :     void *argp1 = 0 ;
   41000             :     int res1 = 0 ;
   41001           0 :     void *argp2 = 0 ;
   41002             :     int res2 = 0 ;
   41003             :     int argvi = 0;
   41004             :     int result;
   41005           0 :     dXSARGS;
   41006             :     
   41007           0 :     if ((items < 2) || (items > 2)) {
   41008           0 :       SWIG_croak("Usage: symbolObj_setImage(self,image);");
   41009             :     }
   41010           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   41011           0 :     if (!SWIG_IsOK(res1)) {
   41012           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_setImage" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   41013             :     }
   41014           0 :     arg1 = (struct symbolObj *)(argp1);
   41015           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_imageObj, 0 |  0 );
   41016           0 :     if (!SWIG_IsOK(res2)) {
   41017           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "symbolObj_setImage" "', argument " "2"" of type '" "imageObj *""'"); 
   41018             :     }
   41019           0 :     arg2 = (imageObj *)(argp2);
   41020           0 :     result = (int)symbolObj_setImage(arg1,arg2);
   41021           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   41022             :     
   41023             :     
   41024           0 :     XSRETURN(argvi);
   41025             :   fail:
   41026             :     
   41027             :     
   41028           0 :     SWIG_croak_null();
   41029             :   }
   41030             : }
   41031             : 
   41032             : 
   41033           0 : XS(_wrap_errorObj_code_set) {
   41034             :   {
   41035             :     struct errorObj *arg1 = (struct errorObj *) 0 ;
   41036             :     int arg2 ;
   41037           0 :     void *argp1 = 0 ;
   41038             :     int res1 = 0 ;
   41039             :     int val2 ;
   41040             :     int ecode2 = 0 ;
   41041             :     int argvi = 0;
   41042           0 :     dXSARGS;
   41043             :     
   41044           0 :     if ((items < 2) || (items > 2)) {
   41045           0 :       SWIG_croak("Usage: errorObj_code_set(self,code);");
   41046             :     }
   41047           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_errorObj, 0 |  0 );
   41048           0 :     if (!SWIG_IsOK(res1)) {
   41049           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "errorObj_code_set" "', argument " "1"" of type '" "struct errorObj *""'"); 
   41050             :     }
   41051           0 :     arg1 = (struct errorObj *)(argp1);
   41052           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   41053           0 :     if (!SWIG_IsOK(ecode2)) {
   41054           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "errorObj_code_set" "', argument " "2"" of type '" "int""'");
   41055             :     } 
   41056           0 :     arg2 = (int)(val2);
   41057           0 :     if (arg1) (arg1)->code = arg2;
   41058           0 :     ST(argvi) = sv_newmortal();
   41059             :     
   41060             :     
   41061           0 :     XSRETURN(argvi);
   41062             :   fail:
   41063             :     
   41064             :     
   41065           0 :     SWIG_croak_null();
   41066             :   }
   41067             : }
   41068             : 
   41069             : 
   41070           0 : XS(_wrap_errorObj_code_get) {
   41071             :   {
   41072             :     struct errorObj *arg1 = (struct errorObj *) 0 ;
   41073           0 :     void *argp1 = 0 ;
   41074             :     int res1 = 0 ;
   41075             :     int argvi = 0;
   41076             :     int result;
   41077           0 :     dXSARGS;
   41078             :     
   41079           0 :     if ((items < 1) || (items > 1)) {
   41080           0 :       SWIG_croak("Usage: errorObj_code_get(self);");
   41081             :     }
   41082           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_errorObj, 0 |  0 );
   41083           0 :     if (!SWIG_IsOK(res1)) {
   41084           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "errorObj_code_get" "', argument " "1"" of type '" "struct errorObj *""'"); 
   41085             :     }
   41086           0 :     arg1 = (struct errorObj *)(argp1);
   41087           0 :     result = (int) ((arg1)->code);
   41088           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   41089             :     
   41090           0 :     XSRETURN(argvi);
   41091             :   fail:
   41092             :     
   41093           0 :     SWIG_croak_null();
   41094             :   }
   41095             : }
   41096             : 
   41097             : 
   41098           0 : XS(_wrap_errorObj_routine_set) {
   41099             :   {
   41100             :     struct errorObj *arg1 = (struct errorObj *) 0 ;
   41101             :     char *arg2 ;
   41102           0 :     void *argp1 = 0 ;
   41103             :     int res1 = 0 ;
   41104             :     char temp2[64] ;
   41105             :     int res2 ;
   41106             :     int argvi = 0;
   41107           0 :     dXSARGS;
   41108             :     
   41109           0 :     if ((items < 2) || (items > 2)) {
   41110           0 :       SWIG_croak("Usage: errorObj_routine_set(self,routine);");
   41111             :     }
   41112           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_errorObj, 0 |  0 );
   41113           0 :     if (!SWIG_IsOK(res1)) {
   41114           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "errorObj_routine_set" "', argument " "1"" of type '" "struct errorObj *""'"); 
   41115             :     }
   41116           0 :     arg1 = (struct errorObj *)(argp1);
   41117           0 :     res2 = SWIG_AsCharArray(ST(1), temp2, 64);
   41118           0 :     if (!SWIG_IsOK(res2)) {
   41119           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "errorObj_routine_set" "', argument " "2"" of type '" "char [64]""'");
   41120             :     }
   41121             :     arg2 = (char *)(temp2);
   41122           0 :     if (arg2) memcpy(arg1->routine,arg2,64*sizeof(char));
   41123             :     else memset(arg1->routine,0,64*sizeof(char));
   41124           0 :     ST(argvi) = sv_newmortal();
   41125             :     
   41126             :     
   41127           0 :     XSRETURN(argvi);
   41128             :   fail:
   41129             :     
   41130             :     
   41131           0 :     SWIG_croak_null();
   41132             :   }
   41133             : }
   41134             : 
   41135             : 
   41136           0 : XS(_wrap_errorObj_routine_get) {
   41137             :   {
   41138             :     struct errorObj *arg1 = (struct errorObj *) 0 ;
   41139           0 :     void *argp1 = 0 ;
   41140             :     int res1 = 0 ;
   41141             :     int argvi = 0;
   41142             :     char *result = 0 ;
   41143           0 :     dXSARGS;
   41144             :     
   41145           0 :     if ((items < 1) || (items > 1)) {
   41146           0 :       SWIG_croak("Usage: errorObj_routine_get(self);");
   41147             :     }
   41148           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_errorObj, 0 |  0 );
   41149           0 :     if (!SWIG_IsOK(res1)) {
   41150           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "errorObj_routine_get" "', argument " "1"" of type '" "struct errorObj *""'"); 
   41151             :     }
   41152           0 :     arg1 = (struct errorObj *)(argp1);
   41153           0 :     result = (char *)(char *) ((arg1)->routine);
   41154             :     {
   41155           0 :       ST(argvi) = newSVpvn(result, strlen(result));
   41156             :       argvi++;
   41157             :     }
   41158             :     
   41159           0 :     XSRETURN(argvi);
   41160             :   fail:
   41161             :     
   41162           0 :     SWIG_croak_null();
   41163             :   }
   41164             : }
   41165             : 
   41166             : 
   41167           0 : XS(_wrap_errorObj_message_set) {
   41168             :   {
   41169             :     struct errorObj *arg1 = (struct errorObj *) 0 ;
   41170             :     char *arg2 ;
   41171           0 :     void *argp1 = 0 ;
   41172             :     int res1 = 0 ;
   41173             :     char temp2[2048] ;
   41174             :     int res2 ;
   41175             :     int argvi = 0;
   41176           0 :     dXSARGS;
   41177             :     
   41178           0 :     if ((items < 2) || (items > 2)) {
   41179           0 :       SWIG_croak("Usage: errorObj_message_set(self,message);");
   41180             :     }
   41181           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_errorObj, 0 |  0 );
   41182           0 :     if (!SWIG_IsOK(res1)) {
   41183           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "errorObj_message_set" "', argument " "1"" of type '" "struct errorObj *""'"); 
   41184             :     }
   41185           0 :     arg1 = (struct errorObj *)(argp1);
   41186           0 :     res2 = SWIG_AsCharArray(ST(1), temp2, 2048);
   41187           0 :     if (!SWIG_IsOK(res2)) {
   41188           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "errorObj_message_set" "', argument " "2"" of type '" "char [2048]""'");
   41189             :     }
   41190             :     arg2 = (char *)(temp2);
   41191           0 :     if (arg2) memcpy(arg1->message,arg2,2048*sizeof(char));
   41192             :     else memset(arg1->message,0,2048*sizeof(char));
   41193           0 :     ST(argvi) = sv_newmortal();
   41194             :     
   41195             :     
   41196           0 :     XSRETURN(argvi);
   41197             :   fail:
   41198             :     
   41199             :     
   41200           0 :     SWIG_croak_null();
   41201             :   }
   41202             : }
   41203             : 
   41204             : 
   41205           0 : XS(_wrap_errorObj_message_get) {
   41206             :   {
   41207             :     struct errorObj *arg1 = (struct errorObj *) 0 ;
   41208           0 :     void *argp1 = 0 ;
   41209             :     int res1 = 0 ;
   41210             :     int argvi = 0;
   41211             :     char *result = 0 ;
   41212           0 :     dXSARGS;
   41213             :     
   41214           0 :     if ((items < 1) || (items > 1)) {
   41215           0 :       SWIG_croak("Usage: errorObj_message_get(self);");
   41216             :     }
   41217           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_errorObj, 0 |  0 );
   41218           0 :     if (!SWIG_IsOK(res1)) {
   41219           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "errorObj_message_get" "', argument " "1"" of type '" "struct errorObj *""'"); 
   41220             :     }
   41221           0 :     arg1 = (struct errorObj *)(argp1);
   41222           0 :     result = (char *)(char *) ((arg1)->message);
   41223             :     {
   41224           0 :       ST(argvi) = newSVpvn(result, strlen(result));
   41225             :       argvi++;
   41226             :     }
   41227             :     
   41228           0 :     XSRETURN(argvi);
   41229             :   fail:
   41230             :     
   41231           0 :     SWIG_croak_null();
   41232             :   }
   41233             : }
   41234             : 
   41235             : 
   41236           0 : XS(_wrap_errorObj_isreported_set) {
   41237             :   {
   41238             :     struct errorObj *arg1 = (struct errorObj *) 0 ;
   41239             :     int arg2 ;
   41240           0 :     void *argp1 = 0 ;
   41241             :     int res1 = 0 ;
   41242             :     int val2 ;
   41243             :     int ecode2 = 0 ;
   41244             :     int argvi = 0;
   41245           0 :     dXSARGS;
   41246             :     
   41247           0 :     if ((items < 2) || (items > 2)) {
   41248           0 :       SWIG_croak("Usage: errorObj_isreported_set(self,isreported);");
   41249             :     }
   41250           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_errorObj, 0 |  0 );
   41251           0 :     if (!SWIG_IsOK(res1)) {
   41252           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "errorObj_isreported_set" "', argument " "1"" of type '" "struct errorObj *""'"); 
   41253             :     }
   41254           0 :     arg1 = (struct errorObj *)(argp1);
   41255           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   41256           0 :     if (!SWIG_IsOK(ecode2)) {
   41257           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "errorObj_isreported_set" "', argument " "2"" of type '" "int""'");
   41258             :     } 
   41259           0 :     arg2 = (int)(val2);
   41260           0 :     if (arg1) (arg1)->isreported = arg2;
   41261           0 :     ST(argvi) = sv_newmortal();
   41262             :     
   41263             :     
   41264           0 :     XSRETURN(argvi);
   41265             :   fail:
   41266             :     
   41267             :     
   41268           0 :     SWIG_croak_null();
   41269             :   }
   41270             : }
   41271             : 
   41272             : 
   41273           0 : XS(_wrap_errorObj_isreported_get) {
   41274             :   {
   41275             :     struct errorObj *arg1 = (struct errorObj *) 0 ;
   41276           0 :     void *argp1 = 0 ;
   41277             :     int res1 = 0 ;
   41278             :     int argvi = 0;
   41279             :     int result;
   41280           0 :     dXSARGS;
   41281             :     
   41282           0 :     if ((items < 1) || (items > 1)) {
   41283           0 :       SWIG_croak("Usage: errorObj_isreported_get(self);");
   41284             :     }
   41285           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_errorObj, 0 |  0 );
   41286           0 :     if (!SWIG_IsOK(res1)) {
   41287           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "errorObj_isreported_get" "', argument " "1"" of type '" "struct errorObj *""'"); 
   41288             :     }
   41289           0 :     arg1 = (struct errorObj *)(argp1);
   41290           0 :     result = (int) ((arg1)->isreported);
   41291           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   41292             :     
   41293           0 :     XSRETURN(argvi);
   41294             :   fail:
   41295             :     
   41296           0 :     SWIG_croak_null();
   41297             :   }
   41298             : }
   41299             : 
   41300             : 
   41301           0 : XS(_wrap_errorObj_errorcount_set) {
   41302             :   {
   41303             :     struct errorObj *arg1 = (struct errorObj *) 0 ;
   41304             :     int arg2 ;
   41305           0 :     void *argp1 = 0 ;
   41306             :     int res1 = 0 ;
   41307             :     int val2 ;
   41308             :     int ecode2 = 0 ;
   41309             :     int argvi = 0;
   41310           0 :     dXSARGS;
   41311             :     
   41312           0 :     if ((items < 2) || (items > 2)) {
   41313           0 :       SWIG_croak("Usage: errorObj_errorcount_set(self,errorcount);");
   41314             :     }
   41315           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_errorObj, 0 |  0 );
   41316           0 :     if (!SWIG_IsOK(res1)) {
   41317           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "errorObj_errorcount_set" "', argument " "1"" of type '" "struct errorObj *""'"); 
   41318             :     }
   41319           0 :     arg1 = (struct errorObj *)(argp1);
   41320           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   41321           0 :     if (!SWIG_IsOK(ecode2)) {
   41322           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "errorObj_errorcount_set" "', argument " "2"" of type '" "int""'");
   41323             :     } 
   41324           0 :     arg2 = (int)(val2);
   41325           0 :     if (arg1) (arg1)->errorcount = arg2;
   41326           0 :     ST(argvi) = sv_newmortal();
   41327             :     
   41328             :     
   41329           0 :     XSRETURN(argvi);
   41330             :   fail:
   41331             :     
   41332             :     
   41333           0 :     SWIG_croak_null();
   41334             :   }
   41335             : }
   41336             : 
   41337             : 
   41338           0 : XS(_wrap_errorObj_errorcount_get) {
   41339             :   {
   41340             :     struct errorObj *arg1 = (struct errorObj *) 0 ;
   41341           0 :     void *argp1 = 0 ;
   41342             :     int res1 = 0 ;
   41343             :     int argvi = 0;
   41344             :     int result;
   41345           0 :     dXSARGS;
   41346             :     
   41347           0 :     if ((items < 1) || (items > 1)) {
   41348           0 :       SWIG_croak("Usage: errorObj_errorcount_get(self);");
   41349             :     }
   41350           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_errorObj, 0 |  0 );
   41351           0 :     if (!SWIG_IsOK(res1)) {
   41352           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "errorObj_errorcount_get" "', argument " "1"" of type '" "struct errorObj *""'"); 
   41353             :     }
   41354           0 :     arg1 = (struct errorObj *)(argp1);
   41355           0 :     result = (int) ((arg1)->errorcount);
   41356           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   41357             :     
   41358           0 :     XSRETURN(argvi);
   41359             :   fail:
   41360             :     
   41361           0 :     SWIG_croak_null();
   41362             :   }
   41363             : }
   41364             : 
   41365             : 
   41366           0 : XS(_wrap_new_errorObj) {
   41367             :   {
   41368             :     int argvi = 0;
   41369             :     struct errorObj *result = 0 ;
   41370           0 :     dXSARGS;
   41371             :     
   41372           0 :     if ((items < 0) || (items > 0)) {
   41373           0 :       SWIG_croak("Usage: new_errorObj();");
   41374             :     }
   41375             :     result = (struct errorObj *)new_errorObj();
   41376           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_errorObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   41377           0 :     XSRETURN(argvi);
   41378             :   fail:
   41379           0 :     SWIG_croak_null();
   41380             :   }
   41381             : }
   41382             : 
   41383             : 
   41384           0 : XS(_wrap_delete_errorObj) {
   41385             :   {
   41386             :     struct errorObj *arg1 = (struct errorObj *) 0 ;
   41387           0 :     void *argp1 = 0 ;
   41388             :     int res1 = 0 ;
   41389             :     int argvi = 0;
   41390           0 :     dXSARGS;
   41391             :     
   41392           0 :     if ((items < 1) || (items > 1)) {
   41393           0 :       SWIG_croak("Usage: delete_errorObj(self);");
   41394             :     }
   41395           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_errorObj, SWIG_POINTER_DISOWN |  0 );
   41396           0 :     if (!SWIG_IsOK(res1)) {
   41397           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_errorObj" "', argument " "1"" of type '" "struct errorObj *""'"); 
   41398             :     }
   41399             :     arg1 = (struct errorObj *)(argp1);
   41400             :     delete_errorObj(arg1);
   41401           0 :     ST(argvi) = sv_newmortal();
   41402             :     
   41403           0 :     XSRETURN(argvi);
   41404             :   fail:
   41405             :     
   41406           0 :     SWIG_croak_null();
   41407             :   }
   41408             : }
   41409             : 
   41410             : 
   41411           0 : XS(_wrap_errorObj_next) {
   41412             :   {
   41413             :     struct errorObj *arg1 = (struct errorObj *) 0 ;
   41414           0 :     void *argp1 = 0 ;
   41415             :     int res1 = 0 ;
   41416             :     int argvi = 0;
   41417             :     errorObj *result = 0 ;
   41418           0 :     dXSARGS;
   41419             :     
   41420           0 :     if ((items < 1) || (items > 1)) {
   41421           0 :       SWIG_croak("Usage: errorObj_next(self);");
   41422             :     }
   41423           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_errorObj, 0 |  0 );
   41424           0 :     if (!SWIG_IsOK(res1)) {
   41425           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "errorObj_next" "', argument " "1"" of type '" "struct errorObj *""'"); 
   41426             :     }
   41427           0 :     arg1 = (struct errorObj *)(argp1);
   41428           0 :     result = (errorObj *)errorObj_next(arg1);
   41429           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_errorObj, 0 | SWIG_SHADOW); argvi++ ;
   41430             :     
   41431           0 :     XSRETURN(argvi);
   41432             :   fail:
   41433             :     
   41434           0 :     SWIG_croak_null();
   41435             :   }
   41436             : }
   41437             : 
   41438             : 
   41439           0 : XS(_wrap_msGetErrorObj) {
   41440             :   {
   41441             :     int argvi = 0;
   41442             :     errorObj *result = 0 ;
   41443           0 :     dXSARGS;
   41444             :     
   41445           0 :     if ((items < 0) || (items > 0)) {
   41446           0 :       SWIG_croak("Usage: msGetErrorObj();");
   41447             :     }
   41448           0 :     result = (errorObj *)msGetErrorObj();
   41449           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_errorObj, 0 | SWIG_SHADOW); argvi++ ;
   41450           0 :     XSRETURN(argvi);
   41451             :   fail:
   41452           0 :     SWIG_croak_null();
   41453             :   }
   41454             : }
   41455             : 
   41456             : 
   41457           0 : XS(_wrap_msResetErrorList) {
   41458             :   {
   41459             :     int argvi = 0;
   41460           0 :     dXSARGS;
   41461             :     
   41462           0 :     if ((items < 0) || (items > 0)) {
   41463           0 :       SWIG_croak("Usage: msResetErrorList();");
   41464             :     }
   41465           0 :     msResetErrorList();
   41466           0 :     ST(argvi) = sv_newmortal();
   41467           0 :     XSRETURN(argvi);
   41468             :   fail:
   41469           0 :     SWIG_croak_null();
   41470             :   }
   41471             : }
   41472             : 
   41473             : 
   41474           1 : XS(_wrap_msGetVersion) {
   41475             :   {
   41476             :     int argvi = 0;
   41477             :     char *result = 0 ;
   41478           1 :     dXSARGS;
   41479             :     
   41480           1 :     if ((items < 0) || (items > 0)) {
   41481           0 :       SWIG_croak("Usage: msGetVersion();");
   41482             :     }
   41483           1 :     result = (char *)msGetVersion();
   41484           1 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   41485           1 :     XSRETURN(argvi);
   41486             :   fail:
   41487           0 :     SWIG_croak_null();
   41488             :   }
   41489             : }
   41490             : 
   41491             : 
   41492           0 : XS(_wrap_msGetVersionInt) {
   41493             :   {
   41494             :     int argvi = 0;
   41495             :     int result;
   41496           0 :     dXSARGS;
   41497             :     
   41498           0 :     if ((items < 0) || (items > 0)) {
   41499           0 :       SWIG_croak("Usage: msGetVersionInt();");
   41500             :     }
   41501           0 :     result = (int)msGetVersionInt();
   41502           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   41503           0 :     XSRETURN(argvi);
   41504             :   fail:
   41505           0 :     SWIG_croak_null();
   41506             :   }
   41507             : }
   41508             : 
   41509             : 
   41510           0 : XS(_wrap_msGetErrorString) {
   41511             :   {
   41512             :     char *arg1 = (char *) 0 ;
   41513             :     int res1 ;
   41514           0 :     char *buf1 = 0 ;
   41515           0 :     int alloc1 = 0 ;
   41516             :     int argvi = 0;
   41517             :     char *result = 0 ;
   41518           0 :     dXSARGS;
   41519             :     
   41520           0 :     if ((items < 1) || (items > 1)) {
   41521           0 :       SWIG_croak("Usage: msGetErrorString(delimiter);");
   41522             :     }
   41523           0 :     res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
   41524           0 :     if (!SWIG_IsOK(res1)) {
   41525           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "msGetErrorString" "', argument " "1"" of type '" "char *""'");
   41526             :     }
   41527           0 :     arg1 = (char *)(buf1);
   41528           0 :     result = (char *)msGetErrorString(arg1);
   41529           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   41530           0 :     if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
   41531           0 :     XSRETURN(argvi);
   41532             :   fail:
   41533           0 :     if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
   41534           0 :     SWIG_croak_null();
   41535             :   }
   41536             : }
   41537             : 
   41538             : 
   41539           0 : XS(_wrap_hashTableObj_numitems_get) {
   41540             :   {
   41541             :     hashTableObj *arg1 = (hashTableObj *) 0 ;
   41542           0 :     void *argp1 = 0 ;
   41543             :     int res1 = 0 ;
   41544             :     int argvi = 0;
   41545             :     int result;
   41546           0 :     dXSARGS;
   41547             :     
   41548           0 :     if ((items < 1) || (items > 1)) {
   41549           0 :       SWIG_croak("Usage: hashTableObj_numitems_get(self);");
   41550             :     }
   41551           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_hashTableObj, 0 |  0 );
   41552           0 :     if (!SWIG_IsOK(res1)) {
   41553           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "hashTableObj_numitems_get" "', argument " "1"" of type '" "hashTableObj *""'"); 
   41554             :     }
   41555           0 :     arg1 = (hashTableObj *)(argp1);
   41556           0 :     result = (int) ((arg1)->numitems);
   41557           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   41558             :     
   41559           0 :     XSRETURN(argvi);
   41560             :   fail:
   41561             :     
   41562           0 :     SWIG_croak_null();
   41563             :   }
   41564             : }
   41565             : 
   41566             : 
   41567           0 : XS(_wrap_new_hashTableObj) {
   41568             :   {
   41569             :     int argvi = 0;
   41570             :     hashTableObj *result = 0 ;
   41571           0 :     dXSARGS;
   41572             :     
   41573           0 :     if ((items < 0) || (items > 0)) {
   41574           0 :       SWIG_croak("Usage: new_hashTableObj();");
   41575             :     }
   41576             :     result = (hashTableObj *)new_hashTableObj();
   41577           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_hashTableObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   41578           0 :     XSRETURN(argvi);
   41579             :   fail:
   41580           0 :     SWIG_croak_null();
   41581             :   }
   41582             : }
   41583             : 
   41584             : 
   41585           1 : XS(_wrap_delete_hashTableObj) {
   41586             :   {
   41587             :     hashTableObj *arg1 = (hashTableObj *) 0 ;
   41588           1 :     void *argp1 = 0 ;
   41589             :     int res1 = 0 ;
   41590             :     int argvi = 0;
   41591           1 :     dXSARGS;
   41592             :     
   41593           1 :     if ((items < 1) || (items > 1)) {
   41594           0 :       SWIG_croak("Usage: delete_hashTableObj(self);");
   41595             :     }
   41596           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_hashTableObj, SWIG_POINTER_DISOWN |  0 );
   41597           1 :     if (!SWIG_IsOK(res1)) {
   41598           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_hashTableObj" "', argument " "1"" of type '" "hashTableObj *""'"); 
   41599             :     }
   41600           1 :     arg1 = (hashTableObj *)(argp1);
   41601             :     delete_hashTableObj(arg1);
   41602           1 :     ST(argvi) = sv_newmortal();
   41603             :     
   41604           1 :     XSRETURN(argvi);
   41605             :   fail:
   41606             :     
   41607           0 :     SWIG_croak_null();
   41608             :   }
   41609             : }
   41610             : 
   41611             : 
   41612           0 : XS(_wrap_hashTableObj_set) {
   41613             :   {
   41614             :     hashTableObj *arg1 = (hashTableObj *) 0 ;
   41615             :     char *arg2 = (char *) 0 ;
   41616             :     char *arg3 = (char *) 0 ;
   41617           0 :     void *argp1 = 0 ;
   41618             :     int res1 = 0 ;
   41619             :     int res2 ;
   41620           0 :     char *buf2 = 0 ;
   41621           0 :     int alloc2 = 0 ;
   41622             :     int res3 ;
   41623           0 :     char *buf3 = 0 ;
   41624           0 :     int alloc3 = 0 ;
   41625             :     int argvi = 0;
   41626             :     int result;
   41627           0 :     dXSARGS;
   41628             :     
   41629           0 :     if ((items < 3) || (items > 3)) {
   41630           0 :       SWIG_croak("Usage: hashTableObj_set(self,key,value);");
   41631             :     }
   41632           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_hashTableObj, 0 |  0 );
   41633           0 :     if (!SWIG_IsOK(res1)) {
   41634           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "hashTableObj_set" "', argument " "1"" of type '" "hashTableObj *""'"); 
   41635             :     }
   41636           0 :     arg1 = (hashTableObj *)(argp1);
   41637           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   41638           0 :     if (!SWIG_IsOK(res2)) {
   41639           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "hashTableObj_set" "', argument " "2"" of type '" "char *""'");
   41640             :     }
   41641           0 :     arg2 = (char *)(buf2);
   41642           0 :     res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
   41643           0 :     if (!SWIG_IsOK(res3)) {
   41644           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "hashTableObj_set" "', argument " "3"" of type '" "char *""'");
   41645             :     }
   41646           0 :     arg3 = (char *)(buf3);
   41647             :     result = (int)hashTableObj_set(arg1,arg2,arg3);
   41648           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   41649             :     
   41650           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   41651           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   41652           0 :     XSRETURN(argvi);
   41653             :   fail:
   41654             :     
   41655           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   41656           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   41657           0 :     SWIG_croak_null();
   41658             :   }
   41659             : }
   41660             : 
   41661             : 
   41662           1 : XS(_wrap_hashTableObj_get) {
   41663             :   {
   41664             :     hashTableObj *arg1 = (hashTableObj *) 0 ;
   41665             :     char *arg2 = (char *) 0 ;
   41666             :     char *arg3 = (char *) NULL ;
   41667           1 :     void *argp1 = 0 ;
   41668             :     int res1 = 0 ;
   41669             :     int res2 ;
   41670           1 :     char *buf2 = 0 ;
   41671           1 :     int alloc2 = 0 ;
   41672             :     int res3 ;
   41673           1 :     char *buf3 = 0 ;
   41674           1 :     int alloc3 = 0 ;
   41675             :     int argvi = 0;
   41676             :     char *result = 0 ;
   41677           1 :     dXSARGS;
   41678             :     
   41679           1 :     if ((items < 2) || (items > 3)) {
   41680           0 :       SWIG_croak("Usage: hashTableObj_get(self,key,default_value);");
   41681             :     }
   41682           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_hashTableObj, 0 |  0 );
   41683           1 :     if (!SWIG_IsOK(res1)) {
   41684           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "hashTableObj_get" "', argument " "1"" of type '" "hashTableObj *""'"); 
   41685             :     }
   41686           1 :     arg1 = (hashTableObj *)(argp1);
   41687           1 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   41688           1 :     if (!SWIG_IsOK(res2)) {
   41689           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "hashTableObj_get" "', argument " "2"" of type '" "char *""'");
   41690             :     }
   41691           1 :     arg2 = (char *)(buf2);
   41692           1 :     if (items > 2) {
   41693           0 :       res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
   41694           0 :       if (!SWIG_IsOK(res3)) {
   41695           0 :         SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "hashTableObj_get" "', argument " "3"" of type '" "char *""'");
   41696             :       }
   41697           0 :       arg3 = (char *)(buf3);
   41698             :     }
   41699           1 :     result = (char *)hashTableObj_get(arg1,arg2,arg3);
   41700           1 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   41701             :     
   41702           1 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   41703           1 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   41704           1 :     XSRETURN(argvi);
   41705             :   fail:
   41706             :     
   41707           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   41708           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   41709           0 :     SWIG_croak_null();
   41710             :   }
   41711             : }
   41712             : 
   41713             : 
   41714           0 : XS(_wrap_hashTableObj_remove) {
   41715             :   {
   41716             :     hashTableObj *arg1 = (hashTableObj *) 0 ;
   41717             :     char *arg2 = (char *) 0 ;
   41718           0 :     void *argp1 = 0 ;
   41719             :     int res1 = 0 ;
   41720             :     int res2 ;
   41721           0 :     char *buf2 = 0 ;
   41722           0 :     int alloc2 = 0 ;
   41723             :     int argvi = 0;
   41724             :     int result;
   41725           0 :     dXSARGS;
   41726             :     
   41727           0 :     if ((items < 2) || (items > 2)) {
   41728           0 :       SWIG_croak("Usage: hashTableObj_remove(self,key);");
   41729             :     }
   41730           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_hashTableObj, 0 |  0 );
   41731           0 :     if (!SWIG_IsOK(res1)) {
   41732           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "hashTableObj_remove" "', argument " "1"" of type '" "hashTableObj *""'"); 
   41733             :     }
   41734           0 :     arg1 = (hashTableObj *)(argp1);
   41735           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   41736           0 :     if (!SWIG_IsOK(res2)) {
   41737           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "hashTableObj_remove" "', argument " "2"" of type '" "char *""'");
   41738             :     }
   41739           0 :     arg2 = (char *)(buf2);
   41740             :     result = (int)hashTableObj_remove(arg1,arg2);
   41741           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   41742             :     
   41743           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   41744           0 :     XSRETURN(argvi);
   41745             :   fail:
   41746             :     
   41747           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   41748           0 :     SWIG_croak_null();
   41749             :   }
   41750             : }
   41751             : 
   41752             : 
   41753           0 : XS(_wrap_hashTableObj_clear) {
   41754             :   {
   41755             :     hashTableObj *arg1 = (hashTableObj *) 0 ;
   41756           0 :     void *argp1 = 0 ;
   41757             :     int res1 = 0 ;
   41758             :     int argvi = 0;
   41759           0 :     dXSARGS;
   41760             :     
   41761           0 :     if ((items < 1) || (items > 1)) {
   41762           0 :       SWIG_croak("Usage: hashTableObj_clear(self);");
   41763             :     }
   41764           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_hashTableObj, 0 |  0 );
   41765           0 :     if (!SWIG_IsOK(res1)) {
   41766           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "hashTableObj_clear" "', argument " "1"" of type '" "hashTableObj *""'"); 
   41767             :     }
   41768           0 :     arg1 = (hashTableObj *)(argp1);
   41769             :     hashTableObj_clear(arg1);
   41770           0 :     ST(argvi) = sv_newmortal();
   41771             :     
   41772           0 :     XSRETURN(argvi);
   41773             :   fail:
   41774             :     
   41775           0 :     SWIG_croak_null();
   41776             :   }
   41777             : }
   41778             : 
   41779             : 
   41780           0 : XS(_wrap_hashTableObj_nextKey) {
   41781             :   {
   41782             :     hashTableObj *arg1 = (hashTableObj *) 0 ;
   41783             :     char *arg2 = (char *) NULL ;
   41784           0 :     void *argp1 = 0 ;
   41785             :     int res1 = 0 ;
   41786             :     int res2 ;
   41787           0 :     char *buf2 = 0 ;
   41788           0 :     int alloc2 = 0 ;
   41789             :     int argvi = 0;
   41790             :     char *result = 0 ;
   41791           0 :     dXSARGS;
   41792             :     
   41793           0 :     if ((items < 1) || (items > 2)) {
   41794           0 :       SWIG_croak("Usage: hashTableObj_nextKey(self,prevkey);");
   41795             :     }
   41796           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_hashTableObj, 0 |  0 );
   41797           0 :     if (!SWIG_IsOK(res1)) {
   41798           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "hashTableObj_nextKey" "', argument " "1"" of type '" "hashTableObj *""'"); 
   41799             :     }
   41800           0 :     arg1 = (hashTableObj *)(argp1);
   41801           0 :     if (items > 1) {
   41802           0 :       res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   41803           0 :       if (!SWIG_IsOK(res2)) {
   41804           0 :         SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "hashTableObj_nextKey" "', argument " "2"" of type '" "char *""'");
   41805             :       }
   41806           0 :       arg2 = (char *)(buf2);
   41807             :     }
   41808             :     result = (char *)hashTableObj_nextKey(arg1,arg2);
   41809           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   41810             :     
   41811           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   41812           0 :     XSRETURN(argvi);
   41813             :   fail:
   41814             :     
   41815           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   41816           0 :     SWIG_croak_null();
   41817             :   }
   41818             : }
   41819             : 
   41820             : 
   41821           0 : XS(_wrap_OWSRequest_NumParams_get) {
   41822             :   {
   41823             :     cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
   41824           0 :     void *argp1 = 0 ;
   41825             :     int res1 = 0 ;
   41826             :     int argvi = 0;
   41827             :     int result;
   41828           0 :     dXSARGS;
   41829             :     
   41830           0 :     if ((items < 1) || (items > 1)) {
   41831           0 :       SWIG_croak("Usage: OWSRequest_NumParams_get(self);");
   41832             :     }
   41833           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 |  0 );
   41834           0 :     if (!SWIG_IsOK(res1)) {
   41835           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_NumParams_get" "', argument " "1"" of type '" "cgiRequestObj *""'"); 
   41836             :     }
   41837           0 :     arg1 = (cgiRequestObj *)(argp1);
   41838           0 :     result = (int) ((arg1)->NumParams);
   41839           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   41840             :     
   41841           0 :     XSRETURN(argvi);
   41842             :   fail:
   41843             :     
   41844           0 :     SWIG_croak_null();
   41845             :   }
   41846             : }
   41847             : 
   41848             : 
   41849           0 : XS(_wrap_OWSRequest_type_set) {
   41850             :   {
   41851             :     cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
   41852             :     enum MS_REQUEST_TYPE arg2 ;
   41853           0 :     void *argp1 = 0 ;
   41854             :     int res1 = 0 ;
   41855             :     int val2 ;
   41856             :     int ecode2 = 0 ;
   41857             :     int argvi = 0;
   41858           0 :     dXSARGS;
   41859             :     
   41860           0 :     if ((items < 2) || (items > 2)) {
   41861           0 :       SWIG_croak("Usage: OWSRequest_type_set(self,type);");
   41862             :     }
   41863           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 |  0 );
   41864           0 :     if (!SWIG_IsOK(res1)) {
   41865           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_type_set" "', argument " "1"" of type '" "cgiRequestObj *""'"); 
   41866             :     }
   41867           0 :     arg1 = (cgiRequestObj *)(argp1);
   41868           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   41869           0 :     if (!SWIG_IsOK(ecode2)) {
   41870           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OWSRequest_type_set" "', argument " "2"" of type '" "enum MS_REQUEST_TYPE""'");
   41871             :     } 
   41872           0 :     arg2 = (enum MS_REQUEST_TYPE)(val2);
   41873           0 :     if (arg1) (arg1)->type = arg2;
   41874           0 :     ST(argvi) = sv_newmortal();
   41875             :     
   41876             :     
   41877           0 :     XSRETURN(argvi);
   41878             :   fail:
   41879             :     
   41880             :     
   41881           0 :     SWIG_croak_null();
   41882             :   }
   41883             : }
   41884             : 
   41885             : 
   41886           0 : XS(_wrap_OWSRequest_type_get) {
   41887             :   {
   41888             :     cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
   41889           0 :     void *argp1 = 0 ;
   41890             :     int res1 = 0 ;
   41891             :     int argvi = 0;
   41892             :     enum MS_REQUEST_TYPE result;
   41893           0 :     dXSARGS;
   41894             :     
   41895           0 :     if ((items < 1) || (items > 1)) {
   41896           0 :       SWIG_croak("Usage: OWSRequest_type_get(self);");
   41897             :     }
   41898           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 |  0 );
   41899           0 :     if (!SWIG_IsOK(res1)) {
   41900           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_type_get" "', argument " "1"" of type '" "cgiRequestObj *""'"); 
   41901             :     }
   41902           0 :     arg1 = (cgiRequestObj *)(argp1);
   41903           0 :     result = (enum MS_REQUEST_TYPE) ((arg1)->type);
   41904           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   41905             :     
   41906           0 :     XSRETURN(argvi);
   41907             :   fail:
   41908             :     
   41909           0 :     SWIG_croak_null();
   41910             :   }
   41911             : }
   41912             : 
   41913             : 
   41914           0 : XS(_wrap_OWSRequest_contenttype_set) {
   41915             :   {
   41916             :     cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
   41917             :     char *arg2 = (char *) 0 ;
   41918           0 :     void *argp1 = 0 ;
   41919             :     int res1 = 0 ;
   41920             :     int res2 ;
   41921           0 :     char *buf2 = 0 ;
   41922           0 :     int alloc2 = 0 ;
   41923             :     int argvi = 0;
   41924           0 :     dXSARGS;
   41925             :     
   41926           0 :     if ((items < 2) || (items > 2)) {
   41927           0 :       SWIG_croak("Usage: OWSRequest_contenttype_set(self,contenttype);");
   41928             :     }
   41929           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 |  0 );
   41930           0 :     if (!SWIG_IsOK(res1)) {
   41931           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_contenttype_set" "', argument " "1"" of type '" "cgiRequestObj *""'"); 
   41932             :     }
   41933           0 :     arg1 = (cgiRequestObj *)(argp1);
   41934           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   41935           0 :     if (!SWIG_IsOK(res2)) {
   41936           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OWSRequest_contenttype_set" "', argument " "2"" of type '" "char *""'");
   41937             :     }
   41938           0 :     arg2 = (char *)(buf2);
   41939             :     {
   41940           0 :       if (arg1->contenttype) free((char*)arg1->contenttype);
   41941           0 :       if (arg2) {
   41942           0 :         arg1->contenttype = (char *) malloc(strlen(arg2)+1);
   41943             :         strcpy((char*)arg1->contenttype,arg2);
   41944             :       } else {
   41945           0 :         arg1->contenttype = 0;
   41946             :       }
   41947             :     }
   41948           0 :     ST(argvi) = sv_newmortal();
   41949             :     
   41950           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   41951           0 :     XSRETURN(argvi);
   41952             :   fail:
   41953             :     
   41954           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   41955           0 :     SWIG_croak_null();
   41956             :   }
   41957             : }
   41958             : 
   41959             : 
   41960           0 : XS(_wrap_OWSRequest_contenttype_get) {
   41961             :   {
   41962             :     cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
   41963           0 :     void *argp1 = 0 ;
   41964             :     int res1 = 0 ;
   41965             :     int argvi = 0;
   41966             :     char *result = 0 ;
   41967           0 :     dXSARGS;
   41968             :     
   41969           0 :     if ((items < 1) || (items > 1)) {
   41970           0 :       SWIG_croak("Usage: OWSRequest_contenttype_get(self);");
   41971             :     }
   41972           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 |  0 );
   41973           0 :     if (!SWIG_IsOK(res1)) {
   41974           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_contenttype_get" "', argument " "1"" of type '" "cgiRequestObj *""'"); 
   41975             :     }
   41976           0 :     arg1 = (cgiRequestObj *)(argp1);
   41977           0 :     result = (char *) ((arg1)->contenttype);
   41978           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   41979             :     
   41980           0 :     XSRETURN(argvi);
   41981             :   fail:
   41982             :     
   41983           0 :     SWIG_croak_null();
   41984             :   }
   41985             : }
   41986             : 
   41987             : 
   41988           0 : XS(_wrap_OWSRequest_postrequest_set) {
   41989             :   {
   41990             :     cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
   41991             :     char *arg2 = (char *) 0 ;
   41992           0 :     void *argp1 = 0 ;
   41993             :     int res1 = 0 ;
   41994             :     int res2 ;
   41995           0 :     char *buf2 = 0 ;
   41996           0 :     int alloc2 = 0 ;
   41997             :     int argvi = 0;
   41998           0 :     dXSARGS;
   41999             :     
   42000           0 :     if ((items < 2) || (items > 2)) {
   42001           0 :       SWIG_croak("Usage: OWSRequest_postrequest_set(self,postrequest);");
   42002             :     }
   42003           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 |  0 );
   42004           0 :     if (!SWIG_IsOK(res1)) {
   42005           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_postrequest_set" "', argument " "1"" of type '" "cgiRequestObj *""'"); 
   42006             :     }
   42007           0 :     arg1 = (cgiRequestObj *)(argp1);
   42008           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   42009           0 :     if (!SWIG_IsOK(res2)) {
   42010           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OWSRequest_postrequest_set" "', argument " "2"" of type '" "char *""'");
   42011             :     }
   42012           0 :     arg2 = (char *)(buf2);
   42013             :     {
   42014           0 :       if (arg1->postrequest) free((char*)arg1->postrequest);
   42015           0 :       if (arg2) {
   42016           0 :         arg1->postrequest = (char *) malloc(strlen(arg2)+1);
   42017             :         strcpy((char*)arg1->postrequest,arg2);
   42018             :       } else {
   42019           0 :         arg1->postrequest = 0;
   42020             :       }
   42021             :     }
   42022           0 :     ST(argvi) = sv_newmortal();
   42023             :     
   42024           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   42025           0 :     XSRETURN(argvi);
   42026             :   fail:
   42027             :     
   42028           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   42029           0 :     SWIG_croak_null();
   42030             :   }
   42031             : }
   42032             : 
   42033             : 
   42034           0 : XS(_wrap_OWSRequest_postrequest_get) {
   42035             :   {
   42036             :     cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
   42037           0 :     void *argp1 = 0 ;
   42038             :     int res1 = 0 ;
   42039             :     int argvi = 0;
   42040             :     char *result = 0 ;
   42041           0 :     dXSARGS;
   42042             :     
   42043           0 :     if ((items < 1) || (items > 1)) {
   42044           0 :       SWIG_croak("Usage: OWSRequest_postrequest_get(self);");
   42045             :     }
   42046           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 |  0 );
   42047           0 :     if (!SWIG_IsOK(res1)) {
   42048           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_postrequest_get" "', argument " "1"" of type '" "cgiRequestObj *""'"); 
   42049             :     }
   42050           0 :     arg1 = (cgiRequestObj *)(argp1);
   42051           0 :     result = (char *) ((arg1)->postrequest);
   42052           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   42053             :     
   42054           0 :     XSRETURN(argvi);
   42055             :   fail:
   42056             :     
   42057           0 :     SWIG_croak_null();
   42058             :   }
   42059             : }
   42060             : 
   42061             : 
   42062           0 : XS(_wrap_OWSRequest_httpcookiedata_set) {
   42063             :   {
   42064             :     cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
   42065             :     char *arg2 = (char *) 0 ;
   42066           0 :     void *argp1 = 0 ;
   42067             :     int res1 = 0 ;
   42068             :     int res2 ;
   42069           0 :     char *buf2 = 0 ;
   42070           0 :     int alloc2 = 0 ;
   42071             :     int argvi = 0;
   42072           0 :     dXSARGS;
   42073             :     
   42074           0 :     if ((items < 2) || (items > 2)) {
   42075           0 :       SWIG_croak("Usage: OWSRequest_httpcookiedata_set(self,httpcookiedata);");
   42076             :     }
   42077           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 |  0 );
   42078           0 :     if (!SWIG_IsOK(res1)) {
   42079           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_httpcookiedata_set" "', argument " "1"" of type '" "cgiRequestObj *""'"); 
   42080             :     }
   42081           0 :     arg1 = (cgiRequestObj *)(argp1);
   42082           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   42083           0 :     if (!SWIG_IsOK(res2)) {
   42084           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OWSRequest_httpcookiedata_set" "', argument " "2"" of type '" "char *""'");
   42085             :     }
   42086           0 :     arg2 = (char *)(buf2);
   42087             :     {
   42088           0 :       if (arg1->httpcookiedata) free((char*)arg1->httpcookiedata);
   42089           0 :       if (arg2) {
   42090           0 :         arg1->httpcookiedata = (char *) malloc(strlen(arg2)+1);
   42091             :         strcpy((char*)arg1->httpcookiedata,arg2);
   42092             :       } else {
   42093           0 :         arg1->httpcookiedata = 0;
   42094             :       }
   42095             :     }
   42096           0 :     ST(argvi) = sv_newmortal();
   42097             :     
   42098           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   42099           0 :     XSRETURN(argvi);
   42100             :   fail:
   42101             :     
   42102           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   42103           0 :     SWIG_croak_null();
   42104             :   }
   42105             : }
   42106             : 
   42107             : 
   42108           0 : XS(_wrap_OWSRequest_httpcookiedata_get) {
   42109             :   {
   42110             :     cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
   42111           0 :     void *argp1 = 0 ;
   42112             :     int res1 = 0 ;
   42113             :     int argvi = 0;
   42114             :     char *result = 0 ;
   42115           0 :     dXSARGS;
   42116             :     
   42117           0 :     if ((items < 1) || (items > 1)) {
   42118           0 :       SWIG_croak("Usage: OWSRequest_httpcookiedata_get(self);");
   42119             :     }
   42120           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 |  0 );
   42121           0 :     if (!SWIG_IsOK(res1)) {
   42122           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_httpcookiedata_get" "', argument " "1"" of type '" "cgiRequestObj *""'"); 
   42123             :     }
   42124           0 :     arg1 = (cgiRequestObj *)(argp1);
   42125           0 :     result = (char *) ((arg1)->httpcookiedata);
   42126           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   42127             :     
   42128           0 :     XSRETURN(argvi);
   42129             :   fail:
   42130             :     
   42131           0 :     SWIG_croak_null();
   42132             :   }
   42133             : }
   42134             : 
   42135             : 
   42136           1 : XS(_wrap_new_OWSRequest) {
   42137             :   {
   42138             :     int argvi = 0;
   42139             :     cgiRequestObj *result = 0 ;
   42140           1 :     dXSARGS;
   42141             :     
   42142           1 :     if ((items < 0) || (items > 0)) {
   42143           0 :       SWIG_croak("Usage: new_OWSRequest();");
   42144             :     }
   42145           1 :     result = (cgiRequestObj *)new_cgiRequestObj();
   42146           1 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_cgiRequestObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   42147           1 :     XSRETURN(argvi);
   42148             :   fail:
   42149           0 :     SWIG_croak_null();
   42150             :   }
   42151             : }
   42152             : 
   42153             : 
   42154           1 : XS(_wrap_delete_OWSRequest) {
   42155             :   {
   42156             :     cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
   42157           1 :     void *argp1 = 0 ;
   42158             :     int res1 = 0 ;
   42159             :     int argvi = 0;
   42160           1 :     dXSARGS;
   42161             :     
   42162           1 :     if ((items < 1) || (items > 1)) {
   42163           0 :       SWIG_croak("Usage: delete_OWSRequest(self);");
   42164             :     }
   42165           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, SWIG_POINTER_DISOWN |  0 );
   42166           1 :     if (!SWIG_IsOK(res1)) {
   42167           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OWSRequest" "', argument " "1"" of type '" "cgiRequestObj *""'"); 
   42168             :     }
   42169           1 :     arg1 = (cgiRequestObj *)(argp1);
   42170             :     delete_cgiRequestObj(arg1);
   42171           1 :     ST(argvi) = sv_newmortal();
   42172             :     
   42173           1 :     XSRETURN(argvi);
   42174             :   fail:
   42175             :     
   42176           0 :     SWIG_croak_null();
   42177             :   }
   42178             : }
   42179             : 
   42180             : 
   42181           0 : XS(_wrap_OWSRequest_loadParams) {
   42182             :   {
   42183             :     cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
   42184           0 :     void *argp1 = 0 ;
   42185             :     int res1 = 0 ;
   42186             :     int argvi = 0;
   42187             :     int result;
   42188           0 :     dXSARGS;
   42189             :     
   42190           0 :     if ((items < 1) || (items > 1)) {
   42191           0 :       SWIG_croak("Usage: OWSRequest_loadParams(self);");
   42192             :     }
   42193           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 |  0 );
   42194           0 :     if (!SWIG_IsOK(res1)) {
   42195           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_loadParams" "', argument " "1"" of type '" "cgiRequestObj *""'"); 
   42196             :     }
   42197           0 :     arg1 = (cgiRequestObj *)(argp1);
   42198             :     result = (int)cgiRequestObj_loadParams(arg1);
   42199           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   42200             :     
   42201           0 :     XSRETURN(argvi);
   42202             :   fail:
   42203             :     
   42204           0 :     SWIG_croak_null();
   42205             :   }
   42206             : }
   42207             : 
   42208             : 
   42209           1 : XS(_wrap_OWSRequest_loadParamsFromURL) {
   42210             :   {
   42211             :     cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
   42212             :     char *arg2 = (char *) 0 ;
   42213           1 :     void *argp1 = 0 ;
   42214             :     int res1 = 0 ;
   42215             :     int res2 ;
   42216           1 :     char *buf2 = 0 ;
   42217           1 :     int alloc2 = 0 ;
   42218             :     int argvi = 0;
   42219             :     int result;
   42220           1 :     dXSARGS;
   42221             :     
   42222           1 :     if ((items < 2) || (items > 2)) {
   42223           0 :       SWIG_croak("Usage: OWSRequest_loadParamsFromURL(self,url);");
   42224             :     }
   42225           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 |  0 );
   42226           1 :     if (!SWIG_IsOK(res1)) {
   42227           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_loadParamsFromURL" "', argument " "1"" of type '" "cgiRequestObj *""'"); 
   42228             :     }
   42229           1 :     arg1 = (cgiRequestObj *)(argp1);
   42230           1 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   42231           1 :     if (!SWIG_IsOK(res2)) {
   42232           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OWSRequest_loadParamsFromURL" "', argument " "2"" of type '" "char const *""'");
   42233             :     }
   42234           1 :     arg2 = (char *)(buf2);
   42235             :     result = (int)cgiRequestObj_loadParamsFromURL(arg1,(char const *)arg2);
   42236           1 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   42237             :     
   42238           1 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   42239           1 :     XSRETURN(argvi);
   42240             :   fail:
   42241             :     
   42242           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   42243           0 :     SWIG_croak_null();
   42244             :   }
   42245             : }
   42246             : 
   42247             : 
   42248           0 : XS(_wrap_OWSRequest_setParameter) {
   42249             :   {
   42250             :     cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
   42251             :     char *arg2 = (char *) 0 ;
   42252             :     char *arg3 = (char *) 0 ;
   42253           0 :     void *argp1 = 0 ;
   42254             :     int res1 = 0 ;
   42255             :     int res2 ;
   42256           0 :     char *buf2 = 0 ;
   42257           0 :     int alloc2 = 0 ;
   42258             :     int res3 ;
   42259           0 :     char *buf3 = 0 ;
   42260           0 :     int alloc3 = 0 ;
   42261             :     int argvi = 0;
   42262           0 :     dXSARGS;
   42263             :     
   42264           0 :     if ((items < 3) || (items > 3)) {
   42265           0 :       SWIG_croak("Usage: OWSRequest_setParameter(self,name,value);");
   42266             :     }
   42267           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 |  0 );
   42268           0 :     if (!SWIG_IsOK(res1)) {
   42269           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_setParameter" "', argument " "1"" of type '" "cgiRequestObj *""'"); 
   42270             :     }
   42271           0 :     arg1 = (cgiRequestObj *)(argp1);
   42272           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   42273           0 :     if (!SWIG_IsOK(res2)) {
   42274           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OWSRequest_setParameter" "', argument " "2"" of type '" "char *""'");
   42275             :     }
   42276           0 :     arg2 = (char *)(buf2);
   42277           0 :     res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
   42278           0 :     if (!SWIG_IsOK(res3)) {
   42279           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OWSRequest_setParameter" "', argument " "3"" of type '" "char *""'");
   42280             :     }
   42281           0 :     arg3 = (char *)(buf3);
   42282           0 :     cgiRequestObj_setParameter(arg1,arg2,arg3);
   42283           0 :     ST(argvi) = sv_newmortal();
   42284             :     
   42285           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   42286           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   42287           0 :     XSRETURN(argvi);
   42288             :   fail:
   42289             :     
   42290           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   42291           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   42292           0 :     SWIG_croak_null();
   42293             :   }
   42294             : }
   42295             : 
   42296             : 
   42297           0 : XS(_wrap_OWSRequest_addParameter) {
   42298             :   {
   42299             :     cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
   42300             :     char *arg2 = (char *) 0 ;
   42301             :     char *arg3 = (char *) 0 ;
   42302           0 :     void *argp1 = 0 ;
   42303             :     int res1 = 0 ;
   42304             :     int res2 ;
   42305           0 :     char *buf2 = 0 ;
   42306           0 :     int alloc2 = 0 ;
   42307             :     int res3 ;
   42308           0 :     char *buf3 = 0 ;
   42309           0 :     int alloc3 = 0 ;
   42310             :     int argvi = 0;
   42311           0 :     dXSARGS;
   42312             :     
   42313           0 :     if ((items < 3) || (items > 3)) {
   42314           0 :       SWIG_croak("Usage: OWSRequest_addParameter(self,name,value);");
   42315             :     }
   42316           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 |  0 );
   42317           0 :     if (!SWIG_IsOK(res1)) {
   42318           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_addParameter" "', argument " "1"" of type '" "cgiRequestObj *""'"); 
   42319             :     }
   42320           0 :     arg1 = (cgiRequestObj *)(argp1);
   42321           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   42322           0 :     if (!SWIG_IsOK(res2)) {
   42323           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OWSRequest_addParameter" "', argument " "2"" of type '" "char *""'");
   42324             :     }
   42325           0 :     arg2 = (char *)(buf2);
   42326           0 :     res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
   42327           0 :     if (!SWIG_IsOK(res3)) {
   42328           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OWSRequest_addParameter" "', argument " "3"" of type '" "char *""'");
   42329             :     }
   42330           0 :     arg3 = (char *)(buf3);
   42331           0 :     cgiRequestObj_addParameter(arg1,arg2,arg3);
   42332           0 :     ST(argvi) = sv_newmortal();
   42333             :     
   42334           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   42335           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   42336           0 :     XSRETURN(argvi);
   42337             :   fail:
   42338             :     
   42339           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   42340           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   42341           0 :     SWIG_croak_null();
   42342             :   }
   42343             : }
   42344             : 
   42345             : 
   42346           1 : XS(_wrap_OWSRequest_getName) {
   42347             :   {
   42348           1 :     cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
   42349             :     int arg2 ;
   42350           1 :     void *argp1 = 0 ;
   42351             :     int res1 = 0 ;
   42352             :     int val2 ;
   42353             :     int ecode2 = 0 ;
   42354             :     int argvi = 0;
   42355             :     char *result = 0 ;
   42356           1 :     dXSARGS;
   42357             :     
   42358           1 :     if ((items < 2) || (items > 2)) {
   42359           0 :       SWIG_croak("Usage: OWSRequest_getName(self,index);");
   42360             :     }
   42361           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 |  0 );
   42362           1 :     if (!SWIG_IsOK(res1)) {
   42363           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_getName" "', argument " "1"" of type '" "cgiRequestObj *""'"); 
   42364             :     }
   42365           1 :     arg1 = (cgiRequestObj *)(argp1);
   42366           1 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   42367           1 :     if (!SWIG_IsOK(ecode2)) {
   42368           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OWSRequest_getName" "', argument " "2"" of type '" "int""'");
   42369             :     } 
   42370           1 :     arg2 = (int)(val2);
   42371           1 :     result = (char *)cgiRequestObj_getName(arg1,arg2);
   42372           1 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   42373             :     
   42374             :     
   42375           1 :     XSRETURN(argvi);
   42376             :   fail:
   42377             :     
   42378             :     
   42379           0 :     SWIG_croak_null();
   42380             :   }
   42381             : }
   42382             : 
   42383             : 
   42384           1 : XS(_wrap_OWSRequest_getValue) {
   42385             :   {
   42386           1 :     cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
   42387             :     int arg2 ;
   42388           1 :     void *argp1 = 0 ;
   42389             :     int res1 = 0 ;
   42390             :     int val2 ;
   42391             :     int ecode2 = 0 ;
   42392             :     int argvi = 0;
   42393             :     char *result = 0 ;
   42394           1 :     dXSARGS;
   42395             :     
   42396           1 :     if ((items < 2) || (items > 2)) {
   42397           0 :       SWIG_croak("Usage: OWSRequest_getValue(self,index);");
   42398             :     }
   42399           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 |  0 );
   42400           1 :     if (!SWIG_IsOK(res1)) {
   42401           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_getValue" "', argument " "1"" of type '" "cgiRequestObj *""'"); 
   42402             :     }
   42403           1 :     arg1 = (cgiRequestObj *)(argp1);
   42404           1 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   42405           1 :     if (!SWIG_IsOK(ecode2)) {
   42406           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OWSRequest_getValue" "', argument " "2"" of type '" "int""'");
   42407             :     } 
   42408           1 :     arg2 = (int)(val2);
   42409           1 :     result = (char *)cgiRequestObj_getValue(arg1,arg2);
   42410           1 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   42411             :     
   42412             :     
   42413           1 :     XSRETURN(argvi);
   42414             :   fail:
   42415             :     
   42416             :     
   42417           0 :     SWIG_croak_null();
   42418             :   }
   42419             : }
   42420             : 
   42421             : 
   42422           1 : XS(_wrap_OWSRequest_getValueByName) {
   42423             :   {
   42424             :     cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
   42425             :     char *arg2 = (char *) 0 ;
   42426           1 :     void *argp1 = 0 ;
   42427             :     int res1 = 0 ;
   42428             :     int res2 ;
   42429           1 :     char *buf2 = 0 ;
   42430           1 :     int alloc2 = 0 ;
   42431             :     int argvi = 0;
   42432             :     char *result = 0 ;
   42433           1 :     dXSARGS;
   42434             :     
   42435           1 :     if ((items < 2) || (items > 2)) {
   42436           0 :       SWIG_croak("Usage: OWSRequest_getValueByName(self,name);");
   42437             :     }
   42438           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 |  0 );
   42439           1 :     if (!SWIG_IsOK(res1)) {
   42440           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_getValueByName" "', argument " "1"" of type '" "cgiRequestObj *""'"); 
   42441             :     }
   42442           1 :     arg1 = (cgiRequestObj *)(argp1);
   42443           1 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   42444           1 :     if (!SWIG_IsOK(res2)) {
   42445           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OWSRequest_getValueByName" "', argument " "2"" of type '" "char const *""'");
   42446             :     }
   42447           1 :     arg2 = (char *)(buf2);
   42448           1 :     result = (char *)cgiRequestObj_getValueByName(arg1,(char const *)arg2);
   42449           1 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   42450             :     
   42451           1 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   42452           1 :     XSRETURN(argvi);
   42453             :   fail:
   42454             :     
   42455           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   42456           0 :     SWIG_croak_null();
   42457             :   }
   42458             : }
   42459             : 
   42460             : 
   42461           0 : XS(_wrap_msConnPoolCloseUnreferenced) {
   42462             :   {
   42463             :     int argvi = 0;
   42464           0 :     dXSARGS;
   42465             :     
   42466           0 :     if ((items < 0) || (items > 0)) {
   42467           0 :       SWIG_croak("Usage: msConnPoolCloseUnreferenced();");
   42468             :     }
   42469           0 :     msConnPoolCloseUnreferenced();
   42470           0 :     ST(argvi) = sv_newmortal();
   42471           0 :     XSRETURN(argvi);
   42472             :   fail:
   42473           0 :     SWIG_croak_null();
   42474             :   }
   42475             : }
   42476             : 
   42477             : 
   42478           0 : XS(_wrap_msIO_resetHandlers) {
   42479             :   {
   42480             :     int argvi = 0;
   42481           0 :     dXSARGS;
   42482             :     
   42483           0 :     if ((items < 0) || (items > 0)) {
   42484           0 :       SWIG_croak("Usage: msIO_resetHandlers();");
   42485             :     }
   42486           0 :     msIO_resetHandlers();
   42487           0 :     ST(argvi) = sv_newmortal();
   42488           0 :     XSRETURN(argvi);
   42489             :   fail:
   42490           0 :     SWIG_croak_null();
   42491             :   }
   42492             : }
   42493             : 
   42494             : 
   42495           1 : XS(_wrap_msIO_installStdoutToBuffer) {
   42496             :   {
   42497             :     int argvi = 0;
   42498           1 :     dXSARGS;
   42499             :     
   42500           1 :     if ((items < 0) || (items > 0)) {
   42501           0 :       SWIG_croak("Usage: msIO_installStdoutToBuffer();");
   42502             :     }
   42503           1 :     msIO_installStdoutToBuffer();
   42504           1 :     ST(argvi) = sv_newmortal();
   42505           1 :     XSRETURN(argvi);
   42506             :   fail:
   42507           0 :     SWIG_croak_null();
   42508             :   }
   42509             : }
   42510             : 
   42511             : 
   42512           0 : XS(_wrap_msIO_installStdinFromBuffer) {
   42513             :   {
   42514             :     int argvi = 0;
   42515           0 :     dXSARGS;
   42516             :     
   42517           0 :     if ((items < 0) || (items > 0)) {
   42518           0 :       SWIG_croak("Usage: msIO_installStdinFromBuffer();");
   42519             :     }
   42520           0 :     msIO_installStdinFromBuffer();
   42521           0 :     ST(argvi) = sv_newmortal();
   42522           0 :     XSRETURN(argvi);
   42523             :   fail:
   42524           0 :     SWIG_croak_null();
   42525             :   }
   42526             : }
   42527             : 
   42528             : 
   42529           0 : XS(_wrap_msIO_stripStdoutBufferContentType) {
   42530             :   {
   42531             :     int argvi = 0;
   42532             :     char *result = 0 ;
   42533           0 :     dXSARGS;
   42534             :     
   42535           0 :     if ((items < 0) || (items > 0)) {
   42536           0 :       SWIG_croak("Usage: msIO_stripStdoutBufferContentType();");
   42537             :     }
   42538           0 :     result = (char *)msIO_stripStdoutBufferContentType();
   42539           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   42540           0 :     free((char*)result);
   42541           0 :     XSRETURN(argvi);
   42542             :   fail:
   42543           0 :     SWIG_croak_null();
   42544             :   }
   42545             : }
   42546             : 
   42547             : 
   42548           0 : XS(_wrap_msIO_stripStdoutBufferContentHeaders) {
   42549             :   {
   42550             :     int argvi = 0;
   42551           0 :     dXSARGS;
   42552             :     
   42553           0 :     if ((items < 0) || (items > 0)) {
   42554           0 :       SWIG_croak("Usage: msIO_stripStdoutBufferContentHeaders();");
   42555             :     }
   42556           0 :     msIO_stripStdoutBufferContentHeaders();
   42557           0 :     ST(argvi) = sv_newmortal();
   42558           0 :     XSRETURN(argvi);
   42559             :   fail:
   42560           0 :     SWIG_croak_null();
   42561             :   }
   42562             : }
   42563             : 
   42564             : 
   42565           0 : XS(_wrap_msIO_getStdoutBufferString) {
   42566             :   {
   42567             :     int argvi = 0;
   42568             :     char *result = 0 ;
   42569           0 :     dXSARGS;
   42570             :     
   42571           0 :     if ((items < 0) || (items > 0)) {
   42572           0 :       SWIG_croak("Usage: msIO_getStdoutBufferString();");
   42573             :     }
   42574           0 :     result = (char *)msIO_getStdoutBufferString();
   42575           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   42576           0 :     XSRETURN(argvi);
   42577             :   fail:
   42578           0 :     SWIG_croak_null();
   42579             :   }
   42580             : }
   42581             : 
   42582             : 
   42583           1 : XS(_wrap_msIO_getStdoutBufferBytes) {
   42584             :   {
   42585             :     int argvi = 0;
   42586             :     gdBuffer result;
   42587           1 :     dXSARGS;
   42588             :     
   42589           1 :     if ((items < 0) || (items > 0)) {
   42590           0 :       SWIG_croak("Usage: msIO_getStdoutBufferBytes();");
   42591             :     }
   42592           1 :     result = msIO_getStdoutBufferBytes();
   42593             :     {
   42594             :       SV *mysv;
   42595           1 :       mysv = sv_newmortal();
   42596           1 :       if ((&result)->data == NULL)
   42597           0 :       sv_setpv(mysv,"");
   42598             :       else
   42599           1 :       sv_setpvn(mysv,(const char*)(&result)->data,(&result)->size);
   42600           1 :       ST(argvi) = newRV(mysv);
   42601           1 :       sv_2mortal(ST(argvi));
   42602             :       argvi++;
   42603           1 :       if( (&result)->owns_data )
   42604           1 :       msFree((&result)->data);
   42605             :     }
   42606           1 :     XSRETURN(argvi);
   42607             :   fail:
   42608           0 :     SWIG_croak_null();
   42609             :   }
   42610             : }
   42611             : 
   42612             : 
   42613           1 : XS(_wrap_msIO_getAndStripStdoutBufferMimeHeaders) {
   42614             :   {
   42615             :     int argvi = 0;
   42616             :     hashTableObj *result = 0 ;
   42617           1 :     dXSARGS;
   42618             :     
   42619           1 :     if ((items < 0) || (items > 0)) {
   42620           0 :       SWIG_croak("Usage: msIO_getAndStripStdoutBufferMimeHeaders();");
   42621             :     }
   42622           1 :     result = (hashTableObj *)msIO_getAndStripStdoutBufferMimeHeaders();
   42623           1 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_hashTableObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   42624           1 :     XSRETURN(argvi);
   42625             :   fail:
   42626           0 :     SWIG_croak_null();
   42627             :   }
   42628             : }
   42629             : 
   42630             : 
   42631             : 
   42632             : /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
   42633             : 
   42634           0 : static void *_p_intarrayTo_p_int(void *x, int *SWIGUNUSEDPARM(newmemory)) {
   42635           0 :     return (void *)((int *)  ((intarray *) x));
   42636             : }
   42637             : static swig_type_info _swigt__p_CompositingOperation = {"_p_CompositingOperation", "enum CompositingOperation *|CompositingOperation *", 0, 0, (void*)0, 0};
   42638             : static swig_type_info _swigt__p_DBFFieldType = {"_p_DBFFieldType", "enum DBFFieldType *|DBFFieldType *", 0, 0, (void*)0, 0};
   42639             : static swig_type_info _swigt__p_DBFInfo = {"_p_DBFInfo", "DBFInfo *", 0, 0, (void*)"mapscript::DBFInfo", 0};
   42640             : static swig_type_info _swigt__p_FILE = {"_p_FILE", "FILE *", 0, 0, (void*)0, 0};
   42641             : static swig_type_info _swigt__p__CompositingFilter = {"_p__CompositingFilter", "struct _CompositingFilter *|_CompositingFilter *|CompositingFilter *", 0, 0, (void*)"mapscript::CompositingFilter", 0};
   42642             : static swig_type_info _swigt__p__LayerCompositer = {"_p__LayerCompositer", "struct _LayerCompositer *|_LayerCompositer *|LayerCompositer *", 0, 0, (void*)"mapscript::LayerCompositer", 0};
   42643             : static swig_type_info _swigt__p_cgiRequestObj = {"_p_cgiRequestObj", "cgiRequestObj *", 0, 0, (void*)"mapscript::OWSRequest", 0};
   42644             : static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
   42645             : static swig_type_info _swigt__p_classObj = {"_p_classObj", "classObj *|struct classObj *", 0, 0, (void*)"mapscript::classObj", 0};
   42646             : static swig_type_info _swigt__p_clusterObj = {"_p_clusterObj", "clusterObj *", 0, 0, (void*)"mapscript::clusterObj", 0};
   42647             : static swig_type_info _swigt__p_colorObj = {"_p_colorObj", "colorObj *", 0, 0, (void*)"mapscript::colorObj", 0};
   42648             : static swig_type_info _swigt__p_debugLevel = {"_p_debugLevel", "enum debugLevel *|debugLevel *", 0, 0, (void*)0, 0};
   42649             : static swig_type_info _swigt__p_double = {"_p_double", "double *", 0, 0, (void*)0, 0};
   42650             : static swig_type_info _swigt__p_errorObj = {"_p_errorObj", "struct errorObj *|errorObj *", 0, 0, (void*)"mapscript::errorObj", 0};
   42651             : static swig_type_info _swigt__p_expressionObj = {"_p_expressionObj", "expressionObj *", 0, 0, (void*)0, 0};
   42652             : static swig_type_info _swigt__p_fontSetObj = {"_p_fontSetObj", "fontSetObj *", 0, 0, (void*)"mapscript::fontSetObj", 0};
   42653             : static swig_type_info _swigt__p_hashTableObj = {"_p_hashTableObj", "hashTableObj *", 0, 0, (void*)"mapscript::hashTableObj", 0};
   42654             : static swig_type_info _swigt__p_imageObj = {"_p_imageObj", "imageObj *|struct imageObj *", 0, 0, (void*)"mapscript::imageObj", 0};
   42655             : static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
   42656             : static swig_type_info _swigt__p_int32_t = {"_p_int32_t", "int32_t *|ms_int32 *", 0, 0, (void*)0, 0};
   42657             : static swig_type_info _swigt__p_intarray = {"_p_intarray", "intarray *", 0, 0, (void*)"mapscript::intarray", 0};
   42658             : static swig_type_info _swigt__p_labelCacheMemberObj = {"_p_labelCacheMemberObj", "labelCacheMemberObj *", 0, 0, (void*)"mapscript::labelCacheMemberObj", 0};
   42659             : static swig_type_info _swigt__p_labelCacheObj = {"_p_labelCacheObj", "labelCacheObj *", 0, 0, (void*)"mapscript::labelCacheObj", 0};
   42660             : static swig_type_info _swigt__p_labelCacheSlotObj = {"_p_labelCacheSlotObj", "labelCacheSlotObj *", 0, 0, (void*)"mapscript::labelCacheSlotObj", 0};
   42661             : static swig_type_info _swigt__p_labelLeaderObj = {"_p_labelLeaderObj", "labelLeaderObj *", 0, 0, (void*)"mapscript::labelLeaderObj", 0};
   42662             : static swig_type_info _swigt__p_labelObj = {"_p_labelObj", "struct labelObj *|labelObj *", 0, 0, (void*)"mapscript::labelObj", 0};
   42663             : static swig_type_info _swigt__p_layerObj = {"_p_layerObj", "struct layerObj *|layerObj *", 0, 0, (void*)"mapscript::layerObj", 0};
   42664             : static swig_type_info _swigt__p_legendObj = {"_p_legendObj", "legendObj *", 0, 0, (void*)"mapscript::legendObj", 0};
   42665             : static swig_type_info _swigt__p_lineObj = {"_p_lineObj", "lineObj *|multipointObj *", 0, 0, (void*)"mapscript::lineObj", 0};
   42666             : static swig_type_info _swigt__p_mapObj = {"_p_mapObj", "struct mapObj *|mapObj *", 0, 0, (void*)"mapscript::mapObj", 0};
   42667             : static swig_type_info _swigt__p_markerCacheMemberObj = {"_p_markerCacheMemberObj", "markerCacheMemberObj *", 0, 0, (void*)"mapscript::markerCacheMemberObj", 0};
   42668             : static swig_type_info _swigt__p_outputFormatObj = {"_p_outputFormatObj", "outputFormatObj *", 0, 0, (void*)"mapscript::outputFormatObj", 0};
   42669             : static swig_type_info _swigt__p_p_char = {"_p_p_char", "char **", 0, 0, (void*)0, 0};
   42670             : static swig_type_info _swigt__p_p_labelCacheMemberObj = {"_p_p_labelCacheMemberObj", "labelCacheMemberObj **", 0, 0, (void*)0, 0};
   42671             : static swig_type_info _swigt__p_p_textSymbolObj = {"_p_p_textSymbolObj", "textSymbolObj **", 0, 0, (void*)0, 0};
   42672             : static swig_type_info _swigt__p_pointObj = {"_p_pointObj", "pointObj *", 0, 0, (void*)"mapscript::pointObj", 0};
   42673             : static swig_type_info _swigt__p_projectionObj = {"_p_projectionObj", "projectionObj *", 0, 0, (void*)"mapscript::projectionObj", 0};
   42674             : static swig_type_info _swigt__p_queryMapObj = {"_p_queryMapObj", "queryMapObj *", 0, 0, (void*)"mapscript::queryMapObj", 0};
   42675             : static swig_type_info _swigt__p_rectObj = {"_p_rectObj", "rectObj *", 0, 0, (void*)"mapscript::rectObj", 0};
   42676             : static swig_type_info _swigt__p_referenceMapObj = {"_p_referenceMapObj", "referenceMapObj *", 0, 0, (void*)"mapscript::referenceMapObj", 0};
   42677             : static swig_type_info _swigt__p_resultCacheObj = {"_p_resultCacheObj", "resultCacheObj *", 0, 0, (void*)"mapscript::resultCacheObj", 0};
   42678             : static swig_type_info _swigt__p_resultObj = {"_p_resultObj", "resultObj *", 0, 0, (void*)"mapscript::resultObj", 0};
   42679             : static swig_type_info _swigt__p_scaleTokenEntryObj = {"_p_scaleTokenEntryObj", "scaleTokenEntryObj *", 0, 0, (void*)"mapscript::scaleTokenEntryObj", 0};
   42680             : static swig_type_info _swigt__p_scaleTokenObj = {"_p_scaleTokenObj", "scaleTokenObj *", 0, 0, (void*)"mapscript::scaleTokenObj", 0};
   42681             : static swig_type_info _swigt__p_scalebarObj = {"_p_scalebarObj", "scalebarObj *", 0, 0, (void*)"mapscript::scalebarObj", 0};
   42682             : static swig_type_info _swigt__p_shapeObj = {"_p_shapeObj", "shapeObj *", 0, 0, (void*)"mapscript::shapeObj", 0};
   42683             : static swig_type_info _swigt__p_shapefileObj = {"_p_shapefileObj", "shapefileObj *", 0, 0, (void*)"mapscript::shapefileObj", 0};
   42684             : static swig_type_info _swigt__p_styleObj = {"_p_styleObj", "struct styleObj *|styleObj *", 0, 0, (void*)"mapscript::styleObj", 0};
   42685             : static swig_type_info _swigt__p_symbolObj = {"_p_symbolObj", "symbolObj *|struct symbolObj *", 0, 0, (void*)"mapscript::symbolObj", 0};
   42686             : static swig_type_info _swigt__p_symbolSetObj = {"_p_symbolSetObj", "symbolSetObj *", 0, 0, (void*)"mapscript::symbolSetObj", 0};
   42687             : static swig_type_info _swigt__p_uint32_t = {"_p_uint32_t", "uint32_t *|ms_uint32 *|ms_bitarray", 0, 0, (void*)0, 0};
   42688             : static swig_type_info _swigt__p_webObj = {"_p_webObj", "webObj *", 0, 0, (void*)"mapscript::webObj", 0};
   42689             : 
   42690             : static swig_type_info *swig_type_initial[] = {
   42691             :   &_swigt__p_CompositingOperation,
   42692             :   &_swigt__p_DBFFieldType,
   42693             :   &_swigt__p_DBFInfo,
   42694             :   &_swigt__p_FILE,
   42695             :   &_swigt__p__CompositingFilter,
   42696             :   &_swigt__p__LayerCompositer,
   42697             :   &_swigt__p_cgiRequestObj,
   42698             :   &_swigt__p_char,
   42699             :   &_swigt__p_classObj,
   42700             :   &_swigt__p_clusterObj,
   42701             :   &_swigt__p_colorObj,
   42702             :   &_swigt__p_debugLevel,
   42703             :   &_swigt__p_double,
   42704             :   &_swigt__p_errorObj,
   42705             :   &_swigt__p_expressionObj,
   42706             :   &_swigt__p_fontSetObj,
   42707             :   &_swigt__p_hashTableObj,
   42708             :   &_swigt__p_imageObj,
   42709             :   &_swigt__p_int,
   42710             :   &_swigt__p_int32_t,
   42711             :   &_swigt__p_intarray,
   42712             :   &_swigt__p_labelCacheMemberObj,
   42713             :   &_swigt__p_labelCacheObj,
   42714             :   &_swigt__p_labelCacheSlotObj,
   42715             :   &_swigt__p_labelLeaderObj,
   42716             :   &_swigt__p_labelObj,
   42717             :   &_swigt__p_layerObj,
   42718             :   &_swigt__p_legendObj,
   42719             :   &_swigt__p_lineObj,
   42720             :   &_swigt__p_mapObj,
   42721             :   &_swigt__p_markerCacheMemberObj,
   42722             :   &_swigt__p_outputFormatObj,
   42723             :   &_swigt__p_p_char,
   42724             :   &_swigt__p_p_labelCacheMemberObj,
   42725             :   &_swigt__p_p_textSymbolObj,
   42726             :   &_swigt__p_pointObj,
   42727             :   &_swigt__p_projectionObj,
   42728             :   &_swigt__p_queryMapObj,
   42729             :   &_swigt__p_rectObj,
   42730             :   &_swigt__p_referenceMapObj,
   42731             :   &_swigt__p_resultCacheObj,
   42732             :   &_swigt__p_resultObj,
   42733             :   &_swigt__p_scaleTokenEntryObj,
   42734             :   &_swigt__p_scaleTokenObj,
   42735             :   &_swigt__p_scalebarObj,
   42736             :   &_swigt__p_shapeObj,
   42737             :   &_swigt__p_shapefileObj,
   42738             :   &_swigt__p_styleObj,
   42739             :   &_swigt__p_symbolObj,
   42740             :   &_swigt__p_symbolSetObj,
   42741             :   &_swigt__p_uint32_t,
   42742             :   &_swigt__p_webObj,
   42743             : };
   42744             : 
   42745             : static swig_cast_info _swigc__p_CompositingOperation[] = {  {&_swigt__p_CompositingOperation, 0, 0, 0},{0, 0, 0, 0}};
   42746             : static swig_cast_info _swigc__p_DBFFieldType[] = {  {&_swigt__p_DBFFieldType, 0, 0, 0},{0, 0, 0, 0}};
   42747             : static swig_cast_info _swigc__p_DBFInfo[] = {  {&_swigt__p_DBFInfo, 0, 0, 0},{0, 0, 0, 0}};
   42748             : static swig_cast_info _swigc__p_FILE[] = {  {&_swigt__p_FILE, 0, 0, 0},{0, 0, 0, 0}};
   42749             : static swig_cast_info _swigc__p__CompositingFilter[] = {  {&_swigt__p__CompositingFilter, 0, 0, 0},{0, 0, 0, 0}};
   42750             : static swig_cast_info _swigc__p__LayerCompositer[] = {  {&_swigt__p__LayerCompositer, 0, 0, 0},{0, 0, 0, 0}};
   42751             : static swig_cast_info _swigc__p_cgiRequestObj[] = {  {&_swigt__p_cgiRequestObj, 0, 0, 0},{0, 0, 0, 0}};
   42752             : static swig_cast_info _swigc__p_char[] = {  {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
   42753             : static swig_cast_info _swigc__p_classObj[] = {  {&_swigt__p_classObj, 0, 0, 0},{0, 0, 0, 0}};
   42754             : static swig_cast_info _swigc__p_clusterObj[] = {  {&_swigt__p_clusterObj, 0, 0, 0},{0, 0, 0, 0}};
   42755             : static swig_cast_info _swigc__p_colorObj[] = {  {&_swigt__p_colorObj, 0, 0, 0},{0, 0, 0, 0}};
   42756             : static swig_cast_info _swigc__p_debugLevel[] = {  {&_swigt__p_debugLevel, 0, 0, 0},{0, 0, 0, 0}};
   42757             : static swig_cast_info _swigc__p_double[] = {  {&_swigt__p_double, 0, 0, 0},{0, 0, 0, 0}};
   42758             : static swig_cast_info _swigc__p_errorObj[] = {  {&_swigt__p_errorObj, 0, 0, 0},{0, 0, 0, 0}};
   42759             : static swig_cast_info _swigc__p_expressionObj[] = {  {&_swigt__p_expressionObj, 0, 0, 0},{0, 0, 0, 0}};
   42760             : static swig_cast_info _swigc__p_fontSetObj[] = {  {&_swigt__p_fontSetObj, 0, 0, 0},{0, 0, 0, 0}};
   42761             : static swig_cast_info _swigc__p_hashTableObj[] = {  {&_swigt__p_hashTableObj, 0, 0, 0},{0, 0, 0, 0}};
   42762             : static swig_cast_info _swigc__p_imageObj[] = {  {&_swigt__p_imageObj, 0, 0, 0},{0, 0, 0, 0}};
   42763             : static swig_cast_info _swigc__p_int[] = {  {&_swigt__p_int, 0, 0, 0},  {&_swigt__p_intarray, _p_intarrayTo_p_int, 0, 0},{0, 0, 0, 0}};
   42764             : static swig_cast_info _swigc__p_int32_t[] = {  {&_swigt__p_int32_t, 0, 0, 0},{0, 0, 0, 0}};
   42765             : static swig_cast_info _swigc__p_intarray[] = {  {&_swigt__p_intarray, 0, 0, 0},{0, 0, 0, 0}};
   42766             : static swig_cast_info _swigc__p_labelCacheMemberObj[] = {  {&_swigt__p_labelCacheMemberObj, 0, 0, 0},{0, 0, 0, 0}};
   42767             : static swig_cast_info _swigc__p_labelCacheObj[] = {  {&_swigt__p_labelCacheObj, 0, 0, 0},{0, 0, 0, 0}};
   42768             : static swig_cast_info _swigc__p_labelCacheSlotObj[] = {  {&_swigt__p_labelCacheSlotObj, 0, 0, 0},{0, 0, 0, 0}};
   42769             : static swig_cast_info _swigc__p_labelLeaderObj[] = {  {&_swigt__p_labelLeaderObj, 0, 0, 0},{0, 0, 0, 0}};
   42770             : static swig_cast_info _swigc__p_labelObj[] = {  {&_swigt__p_labelObj, 0, 0, 0},{0, 0, 0, 0}};
   42771             : static swig_cast_info _swigc__p_layerObj[] = {  {&_swigt__p_layerObj, 0, 0, 0},{0, 0, 0, 0}};
   42772             : static swig_cast_info _swigc__p_legendObj[] = {  {&_swigt__p_legendObj, 0, 0, 0},{0, 0, 0, 0}};
   42773             : static swig_cast_info _swigc__p_lineObj[] = {  {&_swigt__p_lineObj, 0, 0, 0},{0, 0, 0, 0}};
   42774             : static swig_cast_info _swigc__p_mapObj[] = {  {&_swigt__p_mapObj, 0, 0, 0},{0, 0, 0, 0}};
   42775             : static swig_cast_info _swigc__p_markerCacheMemberObj[] = {  {&_swigt__p_markerCacheMemberObj, 0, 0, 0},{0, 0, 0, 0}};
   42776             : static swig_cast_info _swigc__p_outputFormatObj[] = {  {&_swigt__p_outputFormatObj, 0, 0, 0},{0, 0, 0, 0}};
   42777             : static swig_cast_info _swigc__p_p_char[] = {  {&_swigt__p_p_char, 0, 0, 0},{0, 0, 0, 0}};
   42778             : static swig_cast_info _swigc__p_p_labelCacheMemberObj[] = {  {&_swigt__p_p_labelCacheMemberObj, 0, 0, 0},{0, 0, 0, 0}};
   42779             : static swig_cast_info _swigc__p_p_textSymbolObj[] = {  {&_swigt__p_p_textSymbolObj, 0, 0, 0},{0, 0, 0, 0}};
   42780             : static swig_cast_info _swigc__p_pointObj[] = {  {&_swigt__p_pointObj, 0, 0, 0},{0, 0, 0, 0}};
   42781             : static swig_cast_info _swigc__p_projectionObj[] = {  {&_swigt__p_projectionObj, 0, 0, 0},{0, 0, 0, 0}};
   42782             : static swig_cast_info _swigc__p_queryMapObj[] = {  {&_swigt__p_queryMapObj, 0, 0, 0},{0, 0, 0, 0}};
   42783             : static swig_cast_info _swigc__p_rectObj[] = {  {&_swigt__p_rectObj, 0, 0, 0},{0, 0, 0, 0}};
   42784             : static swig_cast_info _swigc__p_referenceMapObj[] = {  {&_swigt__p_referenceMapObj, 0, 0, 0},{0, 0, 0, 0}};
   42785             : static swig_cast_info _swigc__p_resultCacheObj[] = {  {&_swigt__p_resultCacheObj, 0, 0, 0},{0, 0, 0, 0}};
   42786             : static swig_cast_info _swigc__p_resultObj[] = {  {&_swigt__p_resultObj, 0, 0, 0},{0, 0, 0, 0}};
   42787             : static swig_cast_info _swigc__p_scaleTokenEntryObj[] = {  {&_swigt__p_scaleTokenEntryObj, 0, 0, 0},{0, 0, 0, 0}};
   42788             : static swig_cast_info _swigc__p_scaleTokenObj[] = {  {&_swigt__p_scaleTokenObj, 0, 0, 0},{0, 0, 0, 0}};
   42789             : static swig_cast_info _swigc__p_scalebarObj[] = {  {&_swigt__p_scalebarObj, 0, 0, 0},{0, 0, 0, 0}};
   42790             : static swig_cast_info _swigc__p_shapeObj[] = {  {&_swigt__p_shapeObj, 0, 0, 0},{0, 0, 0, 0}};
   42791             : static swig_cast_info _swigc__p_shapefileObj[] = {  {&_swigt__p_shapefileObj, 0, 0, 0},{0, 0, 0, 0}};
   42792             : static swig_cast_info _swigc__p_styleObj[] = {  {&_swigt__p_styleObj, 0, 0, 0},{0, 0, 0, 0}};
   42793             : static swig_cast_info _swigc__p_symbolObj[] = {  {&_swigt__p_symbolObj, 0, 0, 0},{0, 0, 0, 0}};
   42794             : static swig_cast_info _swigc__p_symbolSetObj[] = {  {&_swigt__p_symbolSetObj, 0, 0, 0},{0, 0, 0, 0}};
   42795             : static swig_cast_info _swigc__p_uint32_t[] = {  {&_swigt__p_uint32_t, 0, 0, 0},{0, 0, 0, 0}};
   42796             : static swig_cast_info _swigc__p_webObj[] = {  {&_swigt__p_webObj, 0, 0, 0},{0, 0, 0, 0}};
   42797             : 
   42798             : static swig_cast_info *swig_cast_initial[] = {
   42799             :   _swigc__p_CompositingOperation,
   42800             :   _swigc__p_DBFFieldType,
   42801             :   _swigc__p_DBFInfo,
   42802             :   _swigc__p_FILE,
   42803             :   _swigc__p__CompositingFilter,
   42804             :   _swigc__p__LayerCompositer,
   42805             :   _swigc__p_cgiRequestObj,
   42806             :   _swigc__p_char,
   42807             :   _swigc__p_classObj,
   42808             :   _swigc__p_clusterObj,
   42809             :   _swigc__p_colorObj,
   42810             :   _swigc__p_debugLevel,
   42811             :   _swigc__p_double,
   42812             :   _swigc__p_errorObj,
   42813             :   _swigc__p_expressionObj,
   42814             :   _swigc__p_fontSetObj,
   42815             :   _swigc__p_hashTableObj,
   42816             :   _swigc__p_imageObj,
   42817             :   _swigc__p_int,
   42818             :   _swigc__p_int32_t,
   42819             :   _swigc__p_intarray,
   42820             :   _swigc__p_labelCacheMemberObj,
   42821             :   _swigc__p_labelCacheObj,
   42822             :   _swigc__p_labelCacheSlotObj,
   42823             :   _swigc__p_labelLeaderObj,
   42824             :   _swigc__p_labelObj,
   42825             :   _swigc__p_layerObj,
   42826             :   _swigc__p_legendObj,
   42827             :   _swigc__p_lineObj,
   42828             :   _swigc__p_mapObj,
   42829             :   _swigc__p_markerCacheMemberObj,
   42830             :   _swigc__p_outputFormatObj,
   42831             :   _swigc__p_p_char,
   42832             :   _swigc__p_p_labelCacheMemberObj,
   42833             :   _swigc__p_p_textSymbolObj,
   42834             :   _swigc__p_pointObj,
   42835             :   _swigc__p_projectionObj,
   42836             :   _swigc__p_queryMapObj,
   42837             :   _swigc__p_rectObj,
   42838             :   _swigc__p_referenceMapObj,
   42839             :   _swigc__p_resultCacheObj,
   42840             :   _swigc__p_resultObj,
   42841             :   _swigc__p_scaleTokenEntryObj,
   42842             :   _swigc__p_scaleTokenObj,
   42843             :   _swigc__p_scalebarObj,
   42844             :   _swigc__p_shapeObj,
   42845             :   _swigc__p_shapefileObj,
   42846             :   _swigc__p_styleObj,
   42847             :   _swigc__p_symbolObj,
   42848             :   _swigc__p_symbolSetObj,
   42849             :   _swigc__p_uint32_t,
   42850             :   _swigc__p_webObj,
   42851             : };
   42852             : 
   42853             : 
   42854             : /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
   42855             : 
   42856             : static swig_constant_info swig_constants[] = {
   42857             : {0,0,0,0,0,0}
   42858             : };
   42859             : #ifdef __cplusplus
   42860             : }
   42861             : #endif
   42862             : static swig_variable_info swig_variables[] = {
   42863             : {0,0,0,0}
   42864             : };
   42865             : static swig_command_info swig_commands[] = {
   42866             : {"mapscriptc::new_intarray", _wrap_new_intarray},
   42867             : {"mapscriptc::delete_intarray", _wrap_delete_intarray},
   42868             : {"mapscriptc::intarray_getitem", _wrap_intarray_getitem},
   42869             : {"mapscriptc::intarray_setitem", _wrap_intarray_setitem},
   42870             : {"mapscriptc::intarray_cast", _wrap_intarray_cast},
   42871             : {"mapscriptc::intarray_frompointer", _wrap_intarray_frompointer},
   42872             : {"mapscriptc::CompositingFilter_filter_set", _wrap_CompositingFilter_filter_set},
   42873             : {"mapscriptc::CompositingFilter_filter_get", _wrap_CompositingFilter_filter_get},
   42874             : {"mapscriptc::CompositingFilter_next_set", _wrap_CompositingFilter_next_set},
   42875             : {"mapscriptc::CompositingFilter_next_get", _wrap_CompositingFilter_next_get},
   42876             : {"mapscriptc::new_CompositingFilter", _wrap_new_CompositingFilter},
   42877             : {"mapscriptc::delete_CompositingFilter", _wrap_delete_CompositingFilter},
   42878             : {"mapscriptc::LayerCompositer_comp_op_set", _wrap_LayerCompositer_comp_op_set},
   42879             : {"mapscriptc::LayerCompositer_comp_op_get", _wrap_LayerCompositer_comp_op_get},
   42880             : {"mapscriptc::LayerCompositer_opacity_set", _wrap_LayerCompositer_opacity_set},
   42881             : {"mapscriptc::LayerCompositer_opacity_get", _wrap_LayerCompositer_opacity_get},
   42882             : {"mapscriptc::LayerCompositer_filter_set", _wrap_LayerCompositer_filter_set},
   42883             : {"mapscriptc::LayerCompositer_filter_get", _wrap_LayerCompositer_filter_get},
   42884             : {"mapscriptc::LayerCompositer_next_set", _wrap_LayerCompositer_next_set},
   42885             : {"mapscriptc::LayerCompositer_next_get", _wrap_LayerCompositer_next_get},
   42886             : {"mapscriptc::new_LayerCompositer", _wrap_new_LayerCompositer},
   42887             : {"mapscriptc::delete_LayerCompositer", _wrap_delete_LayerCompositer},
   42888             : {"mapscriptc::fontSetObj_filename_get", _wrap_fontSetObj_filename_get},
   42889             : {"mapscriptc::fontSetObj_numfonts_get", _wrap_fontSetObj_numfonts_get},
   42890             : {"mapscriptc::fontSetObj_fonts_get", _wrap_fontSetObj_fonts_get},
   42891             : {"mapscriptc::new_fontSetObj", _wrap_new_fontSetObj},
   42892             : {"mapscriptc::delete_fontSetObj", _wrap_delete_fontSetObj},
   42893             : {"mapscriptc::clusterObj_maxdistance_set", _wrap_clusterObj_maxdistance_set},
   42894             : {"mapscriptc::clusterObj_maxdistance_get", _wrap_clusterObj_maxdistance_get},
   42895             : {"mapscriptc::clusterObj_buffer_set", _wrap_clusterObj_buffer_set},
   42896             : {"mapscriptc::clusterObj_buffer_get", _wrap_clusterObj_buffer_get},
   42897             : {"mapscriptc::clusterObj_region_set", _wrap_clusterObj_region_set},
   42898             : {"mapscriptc::clusterObj_region_get", _wrap_clusterObj_region_get},
   42899             : {"mapscriptc::clusterObj_updateFromString", _wrap_clusterObj_updateFromString},
   42900             : {"mapscriptc::clusterObj_convertToString", _wrap_clusterObj_convertToString},
   42901             : {"mapscriptc::clusterObj_setGroup", _wrap_clusterObj_setGroup},
   42902             : {"mapscriptc::clusterObj_getGroupString", _wrap_clusterObj_getGroupString},
   42903             : {"mapscriptc::clusterObj_setFilter", _wrap_clusterObj_setFilter},
   42904             : {"mapscriptc::clusterObj_getFilterString", _wrap_clusterObj_getFilterString},
   42905             : {"mapscriptc::new_clusterObj", _wrap_new_clusterObj},
   42906             : {"mapscriptc::delete_clusterObj", _wrap_delete_clusterObj},
   42907             : {"mapscriptc::outputFormatObj_numformatoptions_get", _wrap_outputFormatObj_numformatoptions_get},
   42908             : {"mapscriptc::outputFormatObj_name_set", _wrap_outputFormatObj_name_set},
   42909             : {"mapscriptc::outputFormatObj_name_get", _wrap_outputFormatObj_name_get},
   42910             : {"mapscriptc::outputFormatObj_mimetype_set", _wrap_outputFormatObj_mimetype_set},
   42911             : {"mapscriptc::outputFormatObj_mimetype_get", _wrap_outputFormatObj_mimetype_get},
   42912             : {"mapscriptc::outputFormatObj_driver_set", _wrap_outputFormatObj_driver_set},
   42913             : {"mapscriptc::outputFormatObj_driver_get", _wrap_outputFormatObj_driver_get},
   42914             : {"mapscriptc::outputFormatObj_extension_set", _wrap_outputFormatObj_extension_set},
   42915             : {"mapscriptc::outputFormatObj_extension_get", _wrap_outputFormatObj_extension_get},
   42916             : {"mapscriptc::outputFormatObj_renderer_set", _wrap_outputFormatObj_renderer_set},
   42917             : {"mapscriptc::outputFormatObj_renderer_get", _wrap_outputFormatObj_renderer_get},
   42918             : {"mapscriptc::outputFormatObj_imagemode_set", _wrap_outputFormatObj_imagemode_set},
   42919             : {"mapscriptc::outputFormatObj_imagemode_get", _wrap_outputFormatObj_imagemode_get},
   42920             : {"mapscriptc::outputFormatObj_transparent_set", _wrap_outputFormatObj_transparent_set},
   42921             : {"mapscriptc::outputFormatObj_transparent_get", _wrap_outputFormatObj_transparent_get},
   42922             : {"mapscriptc::outputFormatObj_bands_set", _wrap_outputFormatObj_bands_set},
   42923             : {"mapscriptc::outputFormatObj_bands_get", _wrap_outputFormatObj_bands_get},
   42924             : {"mapscriptc::outputFormatObj_inmapfile_set", _wrap_outputFormatObj_inmapfile_set},
   42925             : {"mapscriptc::outputFormatObj_inmapfile_get", _wrap_outputFormatObj_inmapfile_get},
   42926             : {"mapscriptc::new_outputFormatObj", _wrap_new_outputFormatObj},
   42927             : {"mapscriptc::delete_outputFormatObj", _wrap_delete_outputFormatObj},
   42928             : {"mapscriptc::outputFormatObj_setExtension", _wrap_outputFormatObj_setExtension},
   42929             : {"mapscriptc::outputFormatObj_setMimetype", _wrap_outputFormatObj_setMimetype},
   42930             : {"mapscriptc::outputFormatObj_setOption", _wrap_outputFormatObj_setOption},
   42931             : {"mapscriptc::outputFormatObj_validate", _wrap_outputFormatObj_validate},
   42932             : {"mapscriptc::outputFormatObj_getOption", _wrap_outputFormatObj_getOption},
   42933             : {"mapscriptc::outputFormatObj_getOptionAt", _wrap_outputFormatObj_getOptionAt},
   42934             : {"mapscriptc::outputFormatObj_attachDevice", _wrap_outputFormatObj_attachDevice},
   42935             : {"mapscriptc::queryMapObj_height_set", _wrap_queryMapObj_height_set},
   42936             : {"mapscriptc::queryMapObj_height_get", _wrap_queryMapObj_height_get},
   42937             : {"mapscriptc::queryMapObj_width_set", _wrap_queryMapObj_width_set},
   42938             : {"mapscriptc::queryMapObj_width_get", _wrap_queryMapObj_width_get},
   42939             : {"mapscriptc::queryMapObj_status_set", _wrap_queryMapObj_status_set},
   42940             : {"mapscriptc::queryMapObj_status_get", _wrap_queryMapObj_status_get},
   42941             : {"mapscriptc::queryMapObj_style_set", _wrap_queryMapObj_style_set},
   42942             : {"mapscriptc::queryMapObj_style_get", _wrap_queryMapObj_style_get},
   42943             : {"mapscriptc::queryMapObj_color_set", _wrap_queryMapObj_color_set},
   42944             : {"mapscriptc::queryMapObj_color_get", _wrap_queryMapObj_color_get},
   42945             : {"mapscriptc::queryMapObj_updateFromString", _wrap_queryMapObj_updateFromString},
   42946             : {"mapscriptc::queryMapObj_convertToString", _wrap_queryMapObj_convertToString},
   42947             : {"mapscriptc::new_queryMapObj", _wrap_new_queryMapObj},
   42948             : {"mapscriptc::delete_queryMapObj", _wrap_delete_queryMapObj},
   42949             : {"mapscriptc::webObj_log_set", _wrap_webObj_log_set},
   42950             : {"mapscriptc::webObj_log_get", _wrap_webObj_log_get},
   42951             : {"mapscriptc::webObj_imagepath_set", _wrap_webObj_imagepath_set},
   42952             : {"mapscriptc::webObj_imagepath_get", _wrap_webObj_imagepath_get},
   42953             : {"mapscriptc::webObj_imageurl_set", _wrap_webObj_imageurl_set},
   42954             : {"mapscriptc::webObj_imageurl_get", _wrap_webObj_imageurl_get},
   42955             : {"mapscriptc::webObj_temppath_set", _wrap_webObj_temppath_set},
   42956             : {"mapscriptc::webObj_temppath_get", _wrap_webObj_temppath_get},
   42957             : {"mapscriptc::webObj_map_get", _wrap_webObj_map_get},
   42958             : {"mapscriptc::webObj_template_set", _wrap_webObj_template_set},
   42959             : {"mapscriptc::webObj_template_get", _wrap_webObj_template_get},
   42960             : {"mapscriptc::webObj_header_set", _wrap_webObj_header_set},
   42961             : {"mapscriptc::webObj_header_get", _wrap_webObj_header_get},
   42962             : {"mapscriptc::webObj_footer_set", _wrap_webObj_footer_set},
   42963             : {"mapscriptc::webObj_footer_get", _wrap_webObj_footer_get},
   42964             : {"mapscriptc::webObj_empty_set", _wrap_webObj_empty_set},
   42965             : {"mapscriptc::webObj_empty_get", _wrap_webObj_empty_get},
   42966             : {"mapscriptc::webObj_error_set", _wrap_webObj_error_set},
   42967             : {"mapscriptc::webObj_error_get", _wrap_webObj_error_get},
   42968             : {"mapscriptc::webObj_extent_set", _wrap_webObj_extent_set},
   42969             : {"mapscriptc::webObj_extent_get", _wrap_webObj_extent_get},
   42970             : {"mapscriptc::webObj_minscaledenom_set", _wrap_webObj_minscaledenom_set},
   42971             : {"mapscriptc::webObj_minscaledenom_get", _wrap_webObj_minscaledenom_get},
   42972             : {"mapscriptc::webObj_maxscaledenom_set", _wrap_webObj_maxscaledenom_set},
   42973             : {"mapscriptc::webObj_maxscaledenom_get", _wrap_webObj_maxscaledenom_get},
   42974             : {"mapscriptc::webObj_mintemplate_set", _wrap_webObj_mintemplate_set},
   42975             : {"mapscriptc::webObj_mintemplate_get", _wrap_webObj_mintemplate_get},
   42976             : {"mapscriptc::webObj_maxtemplate_set", _wrap_webObj_maxtemplate_set},
   42977             : {"mapscriptc::webObj_maxtemplate_get", _wrap_webObj_maxtemplate_get},
   42978             : {"mapscriptc::webObj_queryformat_set", _wrap_webObj_queryformat_set},
   42979             : {"mapscriptc::webObj_queryformat_get", _wrap_webObj_queryformat_get},
   42980             : {"mapscriptc::webObj_legendformat_set", _wrap_webObj_legendformat_set},
   42981             : {"mapscriptc::webObj_legendformat_get", _wrap_webObj_legendformat_get},
   42982             : {"mapscriptc::webObj_browseformat_set", _wrap_webObj_browseformat_set},
   42983             : {"mapscriptc::webObj_browseformat_get", _wrap_webObj_browseformat_get},
   42984             : {"mapscriptc::webObj_metadata_get", _wrap_webObj_metadata_get},
   42985             : {"mapscriptc::webObj_validation_get", _wrap_webObj_validation_get},
   42986             : {"mapscriptc::new_webObj", _wrap_new_webObj},
   42987             : {"mapscriptc::delete_webObj", _wrap_delete_webObj},
   42988             : {"mapscriptc::webObj_updateFromString", _wrap_webObj_updateFromString},
   42989             : {"mapscriptc::webObj_convertToString", _wrap_webObj_convertToString},
   42990             : {"mapscriptc::styleObj_refcount_get", _wrap_styleObj_refcount_get},
   42991             : {"mapscriptc::styleObj_autoangle_set", _wrap_styleObj_autoangle_set},
   42992             : {"mapscriptc::styleObj_autoangle_get", _wrap_styleObj_autoangle_get},
   42993             : {"mapscriptc::styleObj_color_set", _wrap_styleObj_color_set},
   42994             : {"mapscriptc::styleObj_color_get", _wrap_styleObj_color_get},
   42995             : {"mapscriptc::styleObj_backgroundcolor_set", _wrap_styleObj_backgroundcolor_set},
   42996             : {"mapscriptc::styleObj_backgroundcolor_get", _wrap_styleObj_backgroundcolor_get},
   42997             : {"mapscriptc::styleObj_outlinecolor_set", _wrap_styleObj_outlinecolor_set},
   42998             : {"mapscriptc::styleObj_outlinecolor_get", _wrap_styleObj_outlinecolor_get},
   42999             : {"mapscriptc::styleObj_opacity_set", _wrap_styleObj_opacity_set},
   43000             : {"mapscriptc::styleObj_opacity_get", _wrap_styleObj_opacity_get},
   43001             : {"mapscriptc::styleObj_mincolor_set", _wrap_styleObj_mincolor_set},
   43002             : {"mapscriptc::styleObj_mincolor_get", _wrap_styleObj_mincolor_get},
   43003             : {"mapscriptc::styleObj_maxcolor_set", _wrap_styleObj_maxcolor_set},
   43004             : {"mapscriptc::styleObj_maxcolor_get", _wrap_styleObj_maxcolor_get},
   43005             : {"mapscriptc::styleObj_minvalue_set", _wrap_styleObj_minvalue_set},
   43006             : {"mapscriptc::styleObj_minvalue_get", _wrap_styleObj_minvalue_get},
   43007             : {"mapscriptc::styleObj_maxvalue_set", _wrap_styleObj_maxvalue_set},
   43008             : {"mapscriptc::styleObj_maxvalue_get", _wrap_styleObj_maxvalue_get},
   43009             : {"mapscriptc::styleObj_rangeitem_set", _wrap_styleObj_rangeitem_set},
   43010             : {"mapscriptc::styleObj_rangeitem_get", _wrap_styleObj_rangeitem_get},
   43011             : {"mapscriptc::styleObj_rangeitemindex_set", _wrap_styleObj_rangeitemindex_set},
   43012             : {"mapscriptc::styleObj_rangeitemindex_get", _wrap_styleObj_rangeitemindex_get},
   43013             : {"mapscriptc::styleObj_symbol_set", _wrap_styleObj_symbol_set},
   43014             : {"mapscriptc::styleObj_symbol_get", _wrap_styleObj_symbol_get},
   43015             : {"mapscriptc::styleObj_symbolname_set", _wrap_styleObj_symbolname_set},
   43016             : {"mapscriptc::styleObj_symbolname_get", _wrap_styleObj_symbolname_get},
   43017             : {"mapscriptc::styleObj_size_set", _wrap_styleObj_size_set},
   43018             : {"mapscriptc::styleObj_size_get", _wrap_styleObj_size_get},
   43019             : {"mapscriptc::styleObj_minsize_set", _wrap_styleObj_minsize_set},
   43020             : {"mapscriptc::styleObj_minsize_get", _wrap_styleObj_minsize_get},
   43021             : {"mapscriptc::styleObj_maxsize_set", _wrap_styleObj_maxsize_set},
   43022             : {"mapscriptc::styleObj_maxsize_get", _wrap_styleObj_maxsize_get},
   43023             : {"mapscriptc::styleObj_patternlength_set", _wrap_styleObj_patternlength_set},
   43024             : {"mapscriptc::styleObj_patternlength_get", _wrap_styleObj_patternlength_get},
   43025             : {"mapscriptc::styleObj_pattern_set", _wrap_styleObj_pattern_set},
   43026             : {"mapscriptc::styleObj_pattern_get", _wrap_styleObj_pattern_get},
   43027             : {"mapscriptc::styleObj_gap_set", _wrap_styleObj_gap_set},
   43028             : {"mapscriptc::styleObj_gap_get", _wrap_styleObj_gap_get},
   43029             : {"mapscriptc::styleObj_initialgap_set", _wrap_styleObj_initialgap_set},
   43030             : {"mapscriptc::styleObj_initialgap_get", _wrap_styleObj_initialgap_get},
   43031             : {"mapscriptc::styleObj_position_set", _wrap_styleObj_position_set},
   43032             : {"mapscriptc::styleObj_position_get", _wrap_styleObj_position_get},
   43033             : {"mapscriptc::styleObj_linecap_set", _wrap_styleObj_linecap_set},
   43034             : {"mapscriptc::styleObj_linecap_get", _wrap_styleObj_linecap_get},
   43035             : {"mapscriptc::styleObj_linejoin_set", _wrap_styleObj_linejoin_set},
   43036             : {"mapscriptc::styleObj_linejoin_get", _wrap_styleObj_linejoin_get},
   43037             : {"mapscriptc::styleObj_linejoinmaxsize_set", _wrap_styleObj_linejoinmaxsize_set},
   43038             : {"mapscriptc::styleObj_linejoinmaxsize_get", _wrap_styleObj_linejoinmaxsize_get},
   43039             : {"mapscriptc::styleObj_width_set", _wrap_styleObj_width_set},
   43040             : {"mapscriptc::styleObj_width_get", _wrap_styleObj_width_get},
   43041             : {"mapscriptc::styleObj_outlinewidth_set", _wrap_styleObj_outlinewidth_set},
   43042             : {"mapscriptc::styleObj_outlinewidth_get", _wrap_styleObj_outlinewidth_get},
   43043             : {"mapscriptc::styleObj_minwidth_set", _wrap_styleObj_minwidth_set},
   43044             : {"mapscriptc::styleObj_minwidth_get", _wrap_styleObj_minwidth_get},
   43045             : {"mapscriptc::styleObj_maxwidth_set", _wrap_styleObj_maxwidth_set},
   43046             : {"mapscriptc::styleObj_maxwidth_get", _wrap_styleObj_maxwidth_get},
   43047             : {"mapscriptc::styleObj_offsetx_set", _wrap_styleObj_offsetx_set},
   43048             : {"mapscriptc::styleObj_offsetx_get", _wrap_styleObj_offsetx_get},
   43049             : {"mapscriptc::styleObj_offsety_set", _wrap_styleObj_offsety_set},
   43050             : {"mapscriptc::styleObj_offsety_get", _wrap_styleObj_offsety_get},
   43051             : {"mapscriptc::styleObj_polaroffsetpixel_set", _wrap_styleObj_polaroffsetpixel_set},
   43052             : {"mapscriptc::styleObj_polaroffsetpixel_get", _wrap_styleObj_polaroffsetpixel_get},
   43053             : {"mapscriptc::styleObj_polaroffsetangle_set", _wrap_styleObj_polaroffsetangle_set},
   43054             : {"mapscriptc::styleObj_polaroffsetangle_get", _wrap_styleObj_polaroffsetangle_get},
   43055             : {"mapscriptc::styleObj_angle_set", _wrap_styleObj_angle_set},
   43056             : {"mapscriptc::styleObj_angle_get", _wrap_styleObj_angle_get},
   43057             : {"mapscriptc::styleObj_minscaledenom_set", _wrap_styleObj_minscaledenom_set},
   43058             : {"mapscriptc::styleObj_minscaledenom_get", _wrap_styleObj_minscaledenom_get},
   43059             : {"mapscriptc::styleObj_maxscaledenom_set", _wrap_styleObj_maxscaledenom_set},
   43060             : {"mapscriptc::styleObj_maxscaledenom_get", _wrap_styleObj_maxscaledenom_get},
   43061             : {"mapscriptc::new_styleObj", _wrap_new_styleObj},
   43062             : {"mapscriptc::delete_styleObj", _wrap_delete_styleObj},
   43063             : {"mapscriptc::styleObj_updateFromString", _wrap_styleObj_updateFromString},
   43064             : {"mapscriptc::styleObj_convertToString", _wrap_styleObj_convertToString},
   43065             : {"mapscriptc::styleObj_clone", _wrap_styleObj_clone},
   43066             : {"mapscriptc::styleObj_setSymbolByName", _wrap_styleObj_setSymbolByName},
   43067             : {"mapscriptc::styleObj_removeBinding", _wrap_styleObj_removeBinding},
   43068             : {"mapscriptc::styleObj_setBinding", _wrap_styleObj_setBinding},
   43069             : {"mapscriptc::styleObj_getBinding", _wrap_styleObj_getBinding},
   43070             : {"mapscriptc::styleObj_getGeomTransform", _wrap_styleObj_getGeomTransform},
   43071             : {"mapscriptc::styleObj_setGeomTransform", _wrap_styleObj_setGeomTransform},
   43072             : {"mapscriptc::labelLeaderObj_maxdistance_set", _wrap_labelLeaderObj_maxdistance_set},
   43073             : {"mapscriptc::labelLeaderObj_maxdistance_get", _wrap_labelLeaderObj_maxdistance_get},
   43074             : {"mapscriptc::labelLeaderObj_gridstep_set", _wrap_labelLeaderObj_gridstep_set},
   43075             : {"mapscriptc::labelLeaderObj_gridstep_get", _wrap_labelLeaderObj_gridstep_get},
   43076             : {"mapscriptc::labelLeaderObj_numstyles_get", _wrap_labelLeaderObj_numstyles_get},
   43077             : {"mapscriptc::new_labelLeaderObj", _wrap_new_labelLeaderObj},
   43078             : {"mapscriptc::delete_labelLeaderObj", _wrap_delete_labelLeaderObj},
   43079             : {"mapscriptc::labelObj_refcount_get", _wrap_labelObj_refcount_get},
   43080             : {"mapscriptc::labelObj_font_set", _wrap_labelObj_font_set},
   43081             : {"mapscriptc::labelObj_font_get", _wrap_labelObj_font_get},
   43082             : {"mapscriptc::labelObj_color_set", _wrap_labelObj_color_set},
   43083             : {"mapscriptc::labelObj_color_get", _wrap_labelObj_color_get},
   43084             : {"mapscriptc::labelObj_outlinecolor_set", _wrap_labelObj_outlinecolor_set},
   43085             : {"mapscriptc::labelObj_outlinecolor_get", _wrap_labelObj_outlinecolor_get},
   43086             : {"mapscriptc::labelObj_outlinewidth_set", _wrap_labelObj_outlinewidth_set},
   43087             : {"mapscriptc::labelObj_outlinewidth_get", _wrap_labelObj_outlinewidth_get},
   43088             : {"mapscriptc::labelObj_shadowcolor_set", _wrap_labelObj_shadowcolor_set},
   43089             : {"mapscriptc::labelObj_shadowcolor_get", _wrap_labelObj_shadowcolor_get},
   43090             : {"mapscriptc::labelObj_shadowsizex_set", _wrap_labelObj_shadowsizex_set},
   43091             : {"mapscriptc::labelObj_shadowsizex_get", _wrap_labelObj_shadowsizex_get},
   43092             : {"mapscriptc::labelObj_shadowsizey_set", _wrap_labelObj_shadowsizey_set},
   43093             : {"mapscriptc::labelObj_shadowsizey_get", _wrap_labelObj_shadowsizey_get},
   43094             : {"mapscriptc::labelObj_size_set", _wrap_labelObj_size_set},
   43095             : {"mapscriptc::labelObj_size_get", _wrap_labelObj_size_get},
   43096             : {"mapscriptc::labelObj_minsize_set", _wrap_labelObj_minsize_set},
   43097             : {"mapscriptc::labelObj_minsize_get", _wrap_labelObj_minsize_get},
   43098             : {"mapscriptc::labelObj_maxsize_set", _wrap_labelObj_maxsize_set},
   43099             : {"mapscriptc::labelObj_maxsize_get", _wrap_labelObj_maxsize_get},
   43100             : {"mapscriptc::labelObj_position_set", _wrap_labelObj_position_set},
   43101             : {"mapscriptc::labelObj_position_get", _wrap_labelObj_position_get},
   43102             : {"mapscriptc::labelObj_offsetx_set", _wrap_labelObj_offsetx_set},
   43103             : {"mapscriptc::labelObj_offsetx_get", _wrap_labelObj_offsetx_get},
   43104             : {"mapscriptc::labelObj_offsety_set", _wrap_labelObj_offsety_set},
   43105             : {"mapscriptc::labelObj_offsety_get", _wrap_labelObj_offsety_get},
   43106             : {"mapscriptc::labelObj_angle_set", _wrap_labelObj_angle_set},
   43107             : {"mapscriptc::labelObj_angle_get", _wrap_labelObj_angle_get},
   43108             : {"mapscriptc::labelObj_anglemode_set", _wrap_labelObj_anglemode_set},
   43109             : {"mapscriptc::labelObj_anglemode_get", _wrap_labelObj_anglemode_get},
   43110             : {"mapscriptc::labelObj_buffer_set", _wrap_labelObj_buffer_set},
   43111             : {"mapscriptc::labelObj_buffer_get", _wrap_labelObj_buffer_get},
   43112             : {"mapscriptc::labelObj_align_set", _wrap_labelObj_align_set},
   43113             : {"mapscriptc::labelObj_align_get", _wrap_labelObj_align_get},
   43114             : {"mapscriptc::labelObj_wrap_set", _wrap_labelObj_wrap_set},
   43115             : {"mapscriptc::labelObj_wrap_get", _wrap_labelObj_wrap_get},
   43116             : {"mapscriptc::labelObj_maxlength_set", _wrap_labelObj_maxlength_set},
   43117             : {"mapscriptc::labelObj_maxlength_get", _wrap_labelObj_maxlength_get},
   43118             : {"mapscriptc::labelObj_minlength_set", _wrap_labelObj_minlength_set},
   43119             : {"mapscriptc::labelObj_minlength_get", _wrap_labelObj_minlength_get},
   43120             : {"mapscriptc::labelObj_space_size_10_set", _wrap_labelObj_space_size_10_set},
   43121             : {"mapscriptc::labelObj_space_size_10_get", _wrap_labelObj_space_size_10_get},
   43122             : {"mapscriptc::labelObj_minfeaturesize_set", _wrap_labelObj_minfeaturesize_set},
   43123             : {"mapscriptc::labelObj_minfeaturesize_get", _wrap_labelObj_minfeaturesize_get},
   43124             : {"mapscriptc::labelObj_autominfeaturesize_set", _wrap_labelObj_autominfeaturesize_set},
   43125             : {"mapscriptc::labelObj_autominfeaturesize_get", _wrap_labelObj_autominfeaturesize_get},
   43126             : {"mapscriptc::labelObj_minscaledenom_set", _wrap_labelObj_minscaledenom_set},
   43127             : {"mapscriptc::labelObj_minscaledenom_get", _wrap_labelObj_minscaledenom_get},
   43128             : {"mapscriptc::labelObj_maxscaledenom_set", _wrap_labelObj_maxscaledenom_set},
   43129             : {"mapscriptc::labelObj_maxscaledenom_get", _wrap_labelObj_maxscaledenom_get},
   43130             : {"mapscriptc::labelObj_mindistance_set", _wrap_labelObj_mindistance_set},
   43131             : {"mapscriptc::labelObj_mindistance_get", _wrap_labelObj_mindistance_get},
   43132             : {"mapscriptc::labelObj_repeatdistance_set", _wrap_labelObj_repeatdistance_set},
   43133             : {"mapscriptc::labelObj_repeatdistance_get", _wrap_labelObj_repeatdistance_get},
   43134             : {"mapscriptc::labelObj_maxoverlapangle_set", _wrap_labelObj_maxoverlapangle_set},
   43135             : {"mapscriptc::labelObj_maxoverlapangle_get", _wrap_labelObj_maxoverlapangle_get},
   43136             : {"mapscriptc::labelObj_partials_set", _wrap_labelObj_partials_set},
   43137             : {"mapscriptc::labelObj_partials_get", _wrap_labelObj_partials_get},
   43138             : {"mapscriptc::labelObj_force_set", _wrap_labelObj_force_set},
   43139             : {"mapscriptc::labelObj_force_get", _wrap_labelObj_force_get},
   43140             : {"mapscriptc::labelObj_encoding_set", _wrap_labelObj_encoding_set},
   43141             : {"mapscriptc::labelObj_encoding_get", _wrap_labelObj_encoding_get},
   43142             : {"mapscriptc::labelObj_priority_set", _wrap_labelObj_priority_set},
   43143             : {"mapscriptc::labelObj_priority_get", _wrap_labelObj_priority_get},
   43144             : {"mapscriptc::labelObj_numstyles_set", _wrap_labelObj_numstyles_set},
   43145             : {"mapscriptc::labelObj_numstyles_get", _wrap_labelObj_numstyles_get},
   43146             : {"mapscriptc::labelObj_leader_set", _wrap_labelObj_leader_set},
   43147             : {"mapscriptc::labelObj_leader_get", _wrap_labelObj_leader_get},
   43148             : {"mapscriptc::new_labelObj", _wrap_new_labelObj},
   43149             : {"mapscriptc::delete_labelObj", _wrap_delete_labelObj},
   43150             : {"mapscriptc::labelObj_updateFromString", _wrap_labelObj_updateFromString},
   43151             : {"mapscriptc::labelObj_convertToString", _wrap_labelObj_convertToString},
   43152             : {"mapscriptc::labelObj_removeBinding", _wrap_labelObj_removeBinding},
   43153             : {"mapscriptc::labelObj_getBinding", _wrap_labelObj_getBinding},
   43154             : {"mapscriptc::labelObj_setBinding", _wrap_labelObj_setBinding},
   43155             : {"mapscriptc::labelObj_setExpression", _wrap_labelObj_setExpression},
   43156             : {"mapscriptc::labelObj_getExpressionString", _wrap_labelObj_getExpressionString},
   43157             : {"mapscriptc::labelObj_setText", _wrap_labelObj_setText},
   43158             : {"mapscriptc::labelObj_getTextString", _wrap_labelObj_getTextString},
   43159             : {"mapscriptc::labelObj_getStyle", _wrap_labelObj_getStyle},
   43160             : {"mapscriptc::labelObj_insertStyle", _wrap_labelObj_insertStyle},
   43161             : {"mapscriptc::labelObj_removeStyle", _wrap_labelObj_removeStyle},
   43162             : {"mapscriptc::labelObj_moveStyleUp", _wrap_labelObj_moveStyleUp},
   43163             : {"mapscriptc::labelObj_moveStyleDown", _wrap_labelObj_moveStyleDown},
   43164             : {"mapscriptc::classObj_status_set", _wrap_classObj_status_set},
   43165             : {"mapscriptc::classObj_status_get", _wrap_classObj_status_get},
   43166             : {"mapscriptc::classObj_numstyles_get", _wrap_classObj_numstyles_get},
   43167             : {"mapscriptc::classObj_numlabels_set", _wrap_classObj_numlabels_set},
   43168             : {"mapscriptc::classObj_numlabels_get", _wrap_classObj_numlabels_get},
   43169             : {"mapscriptc::classObj_name_set", _wrap_classObj_name_set},
   43170             : {"mapscriptc::classObj_name_get", _wrap_classObj_name_get},
   43171             : {"mapscriptc::classObj_title_set", _wrap_classObj_title_set},
   43172             : {"mapscriptc::classObj_title_get", _wrap_classObj_title_get},
   43173             : {"mapscriptc::classObj_template_set", _wrap_classObj_template_set},
   43174             : {"mapscriptc::classObj_template_get", _wrap_classObj_template_get},
   43175             : {"mapscriptc::classObj_metadata_get", _wrap_classObj_metadata_get},
   43176             : {"mapscriptc::classObj_validation_get", _wrap_classObj_validation_get},
   43177             : {"mapscriptc::classObj_minscaledenom_set", _wrap_classObj_minscaledenom_set},
   43178             : {"mapscriptc::classObj_minscaledenom_get", _wrap_classObj_minscaledenom_get},
   43179             : {"mapscriptc::classObj_maxscaledenom_set", _wrap_classObj_maxscaledenom_set},
   43180             : {"mapscriptc::classObj_maxscaledenom_get", _wrap_classObj_maxscaledenom_get},
   43181             : {"mapscriptc::classObj_minfeaturesize_set", _wrap_classObj_minfeaturesize_set},
   43182             : {"mapscriptc::classObj_minfeaturesize_get", _wrap_classObj_minfeaturesize_get},
   43183             : {"mapscriptc::classObj_refcount_get", _wrap_classObj_refcount_get},
   43184             : {"mapscriptc::classObj_layer_get", _wrap_classObj_layer_get},
   43185             : {"mapscriptc::classObj_debug_set", _wrap_classObj_debug_set},
   43186             : {"mapscriptc::classObj_debug_get", _wrap_classObj_debug_get},
   43187             : {"mapscriptc::classObj_keyimage_set", _wrap_classObj_keyimage_set},
   43188             : {"mapscriptc::classObj_keyimage_get", _wrap_classObj_keyimage_get},
   43189             : {"mapscriptc::classObj_group_set", _wrap_classObj_group_set},
   43190             : {"mapscriptc::classObj_group_get", _wrap_classObj_group_get},
   43191             : {"mapscriptc::classObj_leader_set", _wrap_classObj_leader_set},
   43192             : {"mapscriptc::classObj_leader_get", _wrap_classObj_leader_get},
   43193             : {"mapscriptc::new_classObj", _wrap_new_classObj},
   43194             : {"mapscriptc::delete_classObj", _wrap_delete_classObj},
   43195             : {"mapscriptc::classObj_updateFromString", _wrap_classObj_updateFromString},
   43196             : {"mapscriptc::classObj_convertToString", _wrap_classObj_convertToString},
   43197             : {"mapscriptc::classObj_clone", _wrap_classObj_clone},
   43198             : {"mapscriptc::classObj_setExpression", _wrap_classObj_setExpression},
   43199             : {"mapscriptc::classObj_getExpressionString", _wrap_classObj_getExpressionString},
   43200             : {"mapscriptc::classObj_setText", _wrap_classObj_setText},
   43201             : {"mapscriptc::classObj_getTextString", _wrap_classObj_getTextString},
   43202             : {"mapscriptc::classObj_getMetaData", _wrap_classObj_getMetaData},
   43203             : {"mapscriptc::classObj_setMetaData", _wrap_classObj_setMetaData},
   43204             : {"mapscriptc::classObj_getFirstMetaDataKey", _wrap_classObj_getFirstMetaDataKey},
   43205             : {"mapscriptc::classObj_getNextMetaDataKey", _wrap_classObj_getNextMetaDataKey},
   43206             : {"mapscriptc::classObj_drawLegendIcon", _wrap_classObj_drawLegendIcon},
   43207             : {"mapscriptc::classObj_createLegendIcon", _wrap_classObj_createLegendIcon},
   43208             : {"mapscriptc::classObj_getLabel", _wrap_classObj_getLabel},
   43209             : {"mapscriptc::classObj_addLabel", _wrap_classObj_addLabel},
   43210             : {"mapscriptc::classObj_removeLabel", _wrap_classObj_removeLabel},
   43211             : {"mapscriptc::classObj_getStyle", _wrap_classObj_getStyle},
   43212             : {"mapscriptc::classObj_insertStyle", _wrap_classObj_insertStyle},
   43213             : {"mapscriptc::classObj_removeStyle", _wrap_classObj_removeStyle},
   43214             : {"mapscriptc::classObj_moveStyleUp", _wrap_classObj_moveStyleUp},
   43215             : {"mapscriptc::classObj_moveStyleDown", _wrap_classObj_moveStyleDown},
   43216             : {"mapscriptc::labelCacheMemberObj_textsymbols_get", _wrap_labelCacheMemberObj_textsymbols_get},
   43217             : {"mapscriptc::labelCacheMemberObj_numtextsymbols_get", _wrap_labelCacheMemberObj_numtextsymbols_get},
   43218             : {"mapscriptc::labelCacheMemberObj_layerindex_get", _wrap_labelCacheMemberObj_layerindex_get},
   43219             : {"mapscriptc::labelCacheMemberObj_classindex_get", _wrap_labelCacheMemberObj_classindex_get},
   43220             : {"mapscriptc::labelCacheMemberObj_point_get", _wrap_labelCacheMemberObj_point_get},
   43221             : {"mapscriptc::labelCacheMemberObj_bbox_get", _wrap_labelCacheMemberObj_bbox_get},
   43222             : {"mapscriptc::labelCacheMemberObj_status_get", _wrap_labelCacheMemberObj_status_get},
   43223             : {"mapscriptc::labelCacheMemberObj_markerid_get", _wrap_labelCacheMemberObj_markerid_get},
   43224             : {"mapscriptc::labelCacheMemberObj_leaderline_get", _wrap_labelCacheMemberObj_leaderline_get},
   43225             : {"mapscriptc::labelCacheMemberObj_leaderbbox_get", _wrap_labelCacheMemberObj_leaderbbox_get},
   43226             : {"mapscriptc::new_labelCacheMemberObj", _wrap_new_labelCacheMemberObj},
   43227             : {"mapscriptc::delete_labelCacheMemberObj", _wrap_delete_labelCacheMemberObj},
   43228             : {"mapscriptc::markerCacheMemberObj_id_get", _wrap_markerCacheMemberObj_id_get},
   43229             : {"mapscriptc::markerCacheMemberObj_bounds_get", _wrap_markerCacheMemberObj_bounds_get},
   43230             : {"mapscriptc::new_markerCacheMemberObj", _wrap_new_markerCacheMemberObj},
   43231             : {"mapscriptc::delete_markerCacheMemberObj", _wrap_delete_markerCacheMemberObj},
   43232             : {"mapscriptc::labelCacheSlotObj_labels_get", _wrap_labelCacheSlotObj_labels_get},
   43233             : {"mapscriptc::labelCacheSlotObj_numlabels_get", _wrap_labelCacheSlotObj_numlabels_get},
   43234             : {"mapscriptc::labelCacheSlotObj_cachesize_get", _wrap_labelCacheSlotObj_cachesize_get},
   43235             : {"mapscriptc::labelCacheSlotObj_markers_get", _wrap_labelCacheSlotObj_markers_get},
   43236             : {"mapscriptc::labelCacheSlotObj_nummarkers_get", _wrap_labelCacheSlotObj_nummarkers_get},
   43237             : {"mapscriptc::labelCacheSlotObj_markercachesize_get", _wrap_labelCacheSlotObj_markercachesize_get},
   43238             : {"mapscriptc::new_labelCacheSlotObj", _wrap_new_labelCacheSlotObj},
   43239             : {"mapscriptc::delete_labelCacheSlotObj", _wrap_delete_labelCacheSlotObj},
   43240             : {"mapscriptc::labelCacheObj_slots_get", _wrap_labelCacheObj_slots_get},
   43241             : {"mapscriptc::labelCacheObj_gutter_get", _wrap_labelCacheObj_gutter_get},
   43242             : {"mapscriptc::labelCacheObj_rendered_text_symbols_get", _wrap_labelCacheObj_rendered_text_symbols_get},
   43243             : {"mapscriptc::labelCacheObj_num_allocated_rendered_members_get", _wrap_labelCacheObj_num_allocated_rendered_members_get},
   43244             : {"mapscriptc::labelCacheObj_num_rendered_members_get", _wrap_labelCacheObj_num_rendered_members_get},
   43245             : {"mapscriptc::labelCacheObj_freeCache", _wrap_labelCacheObj_freeCache},
   43246             : {"mapscriptc::new_labelCacheObj", _wrap_new_labelCacheObj},
   43247             : {"mapscriptc::delete_labelCacheObj", _wrap_delete_labelCacheObj},
   43248             : {"mapscriptc::resultObj_shapeindex_get", _wrap_resultObj_shapeindex_get},
   43249             : {"mapscriptc::resultObj_tileindex_get", _wrap_resultObj_tileindex_get},
   43250             : {"mapscriptc::resultObj_resultindex_get", _wrap_resultObj_resultindex_get},
   43251             : {"mapscriptc::resultObj_classindex_get", _wrap_resultObj_classindex_get},
   43252             : {"mapscriptc::new_resultObj", _wrap_new_resultObj},
   43253             : {"mapscriptc::delete_resultObj", _wrap_delete_resultObj},
   43254             : {"mapscriptc::resultCacheObj_numresults_get", _wrap_resultCacheObj_numresults_get},
   43255             : {"mapscriptc::resultCacheObj_bounds_get", _wrap_resultCacheObj_bounds_get},
   43256             : {"mapscriptc::resultCacheObj_usegetshape_set", _wrap_resultCacheObj_usegetshape_set},
   43257             : {"mapscriptc::resultCacheObj_usegetshape_get", _wrap_resultCacheObj_usegetshape_get},
   43258             : {"mapscriptc::resultCacheObj_getResult", _wrap_resultCacheObj_getResult},
   43259             : {"mapscriptc::new_resultCacheObj", _wrap_new_resultCacheObj},
   43260             : {"mapscriptc::delete_resultCacheObj", _wrap_delete_resultCacheObj},
   43261             : {"mapscriptc::symbolSetObj_filename_set", _wrap_symbolSetObj_filename_set},
   43262             : {"mapscriptc::symbolSetObj_filename_get", _wrap_symbolSetObj_filename_get},
   43263             : {"mapscriptc::symbolSetObj_imagecachesize_set", _wrap_symbolSetObj_imagecachesize_set},
   43264             : {"mapscriptc::symbolSetObj_imagecachesize_get", _wrap_symbolSetObj_imagecachesize_get},
   43265             : {"mapscriptc::symbolSetObj_numsymbols_get", _wrap_symbolSetObj_numsymbols_get},
   43266             : {"mapscriptc::symbolSetObj_maxsymbols_get", _wrap_symbolSetObj_maxsymbols_get},
   43267             : {"mapscriptc::new_symbolSetObj", _wrap_new_symbolSetObj},
   43268             : {"mapscriptc::delete_symbolSetObj", _wrap_delete_symbolSetObj},
   43269             : {"mapscriptc::symbolSetObj_getSymbol", _wrap_symbolSetObj_getSymbol},
   43270             : {"mapscriptc::symbolSetObj_getSymbolByName", _wrap_symbolSetObj_getSymbolByName},
   43271             : {"mapscriptc::symbolSetObj_index", _wrap_symbolSetObj_index},
   43272             : {"mapscriptc::symbolSetObj_appendSymbol", _wrap_symbolSetObj_appendSymbol},
   43273             : {"mapscriptc::symbolSetObj_removeSymbol", _wrap_symbolSetObj_removeSymbol},
   43274             : {"mapscriptc::symbolSetObj_save", _wrap_symbolSetObj_save},
   43275             : {"mapscriptc::referenceMapObj_extent_set", _wrap_referenceMapObj_extent_set},
   43276             : {"mapscriptc::referenceMapObj_extent_get", _wrap_referenceMapObj_extent_get},
   43277             : {"mapscriptc::referenceMapObj_height_set", _wrap_referenceMapObj_height_set},
   43278             : {"mapscriptc::referenceMapObj_height_get", _wrap_referenceMapObj_height_get},
   43279             : {"mapscriptc::referenceMapObj_width_set", _wrap_referenceMapObj_width_set},
   43280             : {"mapscriptc::referenceMapObj_width_get", _wrap_referenceMapObj_width_get},
   43281             : {"mapscriptc::referenceMapObj_color_set", _wrap_referenceMapObj_color_set},
   43282             : {"mapscriptc::referenceMapObj_color_get", _wrap_referenceMapObj_color_get},
   43283             : {"mapscriptc::referenceMapObj_outlinecolor_set", _wrap_referenceMapObj_outlinecolor_set},
   43284             : {"mapscriptc::referenceMapObj_outlinecolor_get", _wrap_referenceMapObj_outlinecolor_get},
   43285             : {"mapscriptc::referenceMapObj_image_set", _wrap_referenceMapObj_image_set},
   43286             : {"mapscriptc::referenceMapObj_image_get", _wrap_referenceMapObj_image_get},
   43287             : {"mapscriptc::referenceMapObj_status_set", _wrap_referenceMapObj_status_set},
   43288             : {"mapscriptc::referenceMapObj_status_get", _wrap_referenceMapObj_status_get},
   43289             : {"mapscriptc::referenceMapObj_marker_set", _wrap_referenceMapObj_marker_set},
   43290             : {"mapscriptc::referenceMapObj_marker_get", _wrap_referenceMapObj_marker_get},
   43291             : {"mapscriptc::referenceMapObj_markername_set", _wrap_referenceMapObj_markername_set},
   43292             : {"mapscriptc::referenceMapObj_markername_get", _wrap_referenceMapObj_markername_get},
   43293             : {"mapscriptc::referenceMapObj_markersize_set", _wrap_referenceMapObj_markersize_set},
   43294             : {"mapscriptc::referenceMapObj_markersize_get", _wrap_referenceMapObj_markersize_get},
   43295             : {"mapscriptc::referenceMapObj_minboxsize_set", _wrap_referenceMapObj_minboxsize_set},
   43296             : {"mapscriptc::referenceMapObj_minboxsize_get", _wrap_referenceMapObj_minboxsize_get},
   43297             : {"mapscriptc::referenceMapObj_maxboxsize_set", _wrap_referenceMapObj_maxboxsize_set},
   43298             : {"mapscriptc::referenceMapObj_maxboxsize_get", _wrap_referenceMapObj_maxboxsize_get},
   43299             : {"mapscriptc::referenceMapObj_map_get", _wrap_referenceMapObj_map_get},
   43300             : {"mapscriptc::referenceMapObj_updateFromString", _wrap_referenceMapObj_updateFromString},
   43301             : {"mapscriptc::referenceMapObj_convertToString", _wrap_referenceMapObj_convertToString},
   43302             : {"mapscriptc::new_referenceMapObj", _wrap_new_referenceMapObj},
   43303             : {"mapscriptc::delete_referenceMapObj", _wrap_delete_referenceMapObj},
   43304             : {"mapscriptc::scalebarObj_imagecolor_set", _wrap_scalebarObj_imagecolor_set},
   43305             : {"mapscriptc::scalebarObj_imagecolor_get", _wrap_scalebarObj_imagecolor_get},
   43306             : {"mapscriptc::scalebarObj_height_set", _wrap_scalebarObj_height_set},
   43307             : {"mapscriptc::scalebarObj_height_get", _wrap_scalebarObj_height_get},
   43308             : {"mapscriptc::scalebarObj_width_set", _wrap_scalebarObj_width_set},
   43309             : {"mapscriptc::scalebarObj_width_get", _wrap_scalebarObj_width_get},
   43310             : {"mapscriptc::scalebarObj_style_set", _wrap_scalebarObj_style_set},
   43311             : {"mapscriptc::scalebarObj_style_get", _wrap_scalebarObj_style_get},
   43312             : {"mapscriptc::scalebarObj_intervals_set", _wrap_scalebarObj_intervals_set},
   43313             : {"mapscriptc::scalebarObj_intervals_get", _wrap_scalebarObj_intervals_get},
   43314             : {"mapscriptc::scalebarObj_label_set", _wrap_scalebarObj_label_set},
   43315             : {"mapscriptc::scalebarObj_label_get", _wrap_scalebarObj_label_get},
   43316             : {"mapscriptc::scalebarObj_color_set", _wrap_scalebarObj_color_set},
   43317             : {"mapscriptc::scalebarObj_color_get", _wrap_scalebarObj_color_get},
   43318             : {"mapscriptc::scalebarObj_backgroundcolor_set", _wrap_scalebarObj_backgroundcolor_set},
   43319             : {"mapscriptc::scalebarObj_backgroundcolor_get", _wrap_scalebarObj_backgroundcolor_get},
   43320             : {"mapscriptc::scalebarObj_outlinecolor_set", _wrap_scalebarObj_outlinecolor_set},
   43321             : {"mapscriptc::scalebarObj_outlinecolor_get", _wrap_scalebarObj_outlinecolor_get},
   43322             : {"mapscriptc::scalebarObj_units_set", _wrap_scalebarObj_units_set},
   43323             : {"mapscriptc::scalebarObj_units_get", _wrap_scalebarObj_units_get},
   43324             : {"mapscriptc::scalebarObj_status_set", _wrap_scalebarObj_status_set},
   43325             : {"mapscriptc::scalebarObj_status_get", _wrap_scalebarObj_status_get},
   43326             : {"mapscriptc::scalebarObj_position_set", _wrap_scalebarObj_position_set},
   43327             : {"mapscriptc::scalebarObj_position_get", _wrap_scalebarObj_position_get},
   43328             : {"mapscriptc::scalebarObj_postlabelcache_set", _wrap_scalebarObj_postlabelcache_set},
   43329             : {"mapscriptc::scalebarObj_postlabelcache_get", _wrap_scalebarObj_postlabelcache_get},
   43330             : {"mapscriptc::scalebarObj_align_set", _wrap_scalebarObj_align_set},
   43331             : {"mapscriptc::scalebarObj_align_get", _wrap_scalebarObj_align_get},
   43332             : {"mapscriptc::scalebarObj_offsetx_set", _wrap_scalebarObj_offsetx_set},
   43333             : {"mapscriptc::scalebarObj_offsetx_get", _wrap_scalebarObj_offsetx_get},
   43334             : {"mapscriptc::scalebarObj_offsety_set", _wrap_scalebarObj_offsety_set},
   43335             : {"mapscriptc::scalebarObj_offsety_get", _wrap_scalebarObj_offsety_get},
   43336             : {"mapscriptc::scalebarObj_updateFromString", _wrap_scalebarObj_updateFromString},
   43337             : {"mapscriptc::scalebarObj_convertToString", _wrap_scalebarObj_convertToString},
   43338             : {"mapscriptc::new_scalebarObj", _wrap_new_scalebarObj},
   43339             : {"mapscriptc::delete_scalebarObj", _wrap_delete_scalebarObj},
   43340             : {"mapscriptc::legendObj_imagecolor_set", _wrap_legendObj_imagecolor_set},
   43341             : {"mapscriptc::legendObj_imagecolor_get", _wrap_legendObj_imagecolor_get},
   43342             : {"mapscriptc::legendObj_label_get", _wrap_legendObj_label_get},
   43343             : {"mapscriptc::legendObj_keysizex_set", _wrap_legendObj_keysizex_set},
   43344             : {"mapscriptc::legendObj_keysizex_get", _wrap_legendObj_keysizex_get},
   43345             : {"mapscriptc::legendObj_keysizey_set", _wrap_legendObj_keysizey_set},
   43346             : {"mapscriptc::legendObj_keysizey_get", _wrap_legendObj_keysizey_get},
   43347             : {"mapscriptc::legendObj_keyspacingx_set", _wrap_legendObj_keyspacingx_set},
   43348             : {"mapscriptc::legendObj_keyspacingx_get", _wrap_legendObj_keyspacingx_get},
   43349             : {"mapscriptc::legendObj_keyspacingy_set", _wrap_legendObj_keyspacingy_set},
   43350             : {"mapscriptc::legendObj_keyspacingy_get", _wrap_legendObj_keyspacingy_get},
   43351             : {"mapscriptc::legendObj_outlinecolor_set", _wrap_legendObj_outlinecolor_set},
   43352             : {"mapscriptc::legendObj_outlinecolor_get", _wrap_legendObj_outlinecolor_get},
   43353             : {"mapscriptc::legendObj_status_set", _wrap_legendObj_status_set},
   43354             : {"mapscriptc::legendObj_status_get", _wrap_legendObj_status_get},
   43355             : {"mapscriptc::legendObj_height_set", _wrap_legendObj_height_set},
   43356             : {"mapscriptc::legendObj_height_get", _wrap_legendObj_height_get},
   43357             : {"mapscriptc::legendObj_width_set", _wrap_legendObj_width_set},
   43358             : {"mapscriptc::legendObj_width_get", _wrap_legendObj_width_get},
   43359             : {"mapscriptc::legendObj_position_set", _wrap_legendObj_position_set},
   43360             : {"mapscriptc::legendObj_position_get", _wrap_legendObj_position_get},
   43361             : {"mapscriptc::legendObj_postlabelcache_set", _wrap_legendObj_postlabelcache_set},
   43362             : {"mapscriptc::legendObj_postlabelcache_get", _wrap_legendObj_postlabelcache_get},
   43363             : {"mapscriptc::legendObj_template_set", _wrap_legendObj_template_set},
   43364             : {"mapscriptc::legendObj_template_get", _wrap_legendObj_template_get},
   43365             : {"mapscriptc::legendObj_map_get", _wrap_legendObj_map_get},
   43366             : {"mapscriptc::legendObj_updateFromString", _wrap_legendObj_updateFromString},
   43367             : {"mapscriptc::legendObj_convertToString", _wrap_legendObj_convertToString},
   43368             : {"mapscriptc::new_legendObj", _wrap_new_legendObj},
   43369             : {"mapscriptc::delete_legendObj", _wrap_delete_legendObj},
   43370             : {"mapscriptc::imageObj_width_get", _wrap_imageObj_width_get},
   43371             : {"mapscriptc::imageObj_height_get", _wrap_imageObj_height_get},
   43372             : {"mapscriptc::imageObj_resolution_get", _wrap_imageObj_resolution_get},
   43373             : {"mapscriptc::imageObj_resolutionfactor_get", _wrap_imageObj_resolutionfactor_get},
   43374             : {"mapscriptc::imageObj_imagepath_get", _wrap_imageObj_imagepath_get},
   43375             : {"mapscriptc::imageObj_imageurl_get", _wrap_imageObj_imageurl_get},
   43376             : {"mapscriptc::imageObj_format_get", _wrap_imageObj_format_get},
   43377             : {"mapscriptc::new_imageObj", _wrap_new_imageObj},
   43378             : {"mapscriptc::delete_imageObj", _wrap_delete_imageObj},
   43379             : {"mapscriptc::imageObj_save", _wrap_imageObj_save},
   43380             : {"mapscriptc::imageObj_write", _wrap_imageObj_write},
   43381             : {"mapscriptc::imageObj_getBytes", _wrap_imageObj_getBytes},
   43382             : {"mapscriptc::imageObj_getSize", _wrap_imageObj_getSize},
   43383             : {"mapscriptc::scaleTokenEntryObj_minscale_set", _wrap_scaleTokenEntryObj_minscale_set},
   43384             : {"mapscriptc::scaleTokenEntryObj_minscale_get", _wrap_scaleTokenEntryObj_minscale_get},
   43385             : {"mapscriptc::scaleTokenEntryObj_maxscale_set", _wrap_scaleTokenEntryObj_maxscale_set},
   43386             : {"mapscriptc::scaleTokenEntryObj_maxscale_get", _wrap_scaleTokenEntryObj_maxscale_get},
   43387             : {"mapscriptc::scaleTokenEntryObj_value_set", _wrap_scaleTokenEntryObj_value_set},
   43388             : {"mapscriptc::scaleTokenEntryObj_value_get", _wrap_scaleTokenEntryObj_value_get},
   43389             : {"mapscriptc::new_scaleTokenEntryObj", _wrap_new_scaleTokenEntryObj},
   43390             : {"mapscriptc::delete_scaleTokenEntryObj", _wrap_delete_scaleTokenEntryObj},
   43391             : {"mapscriptc::scaleTokenObj_name_set", _wrap_scaleTokenObj_name_set},
   43392             : {"mapscriptc::scaleTokenObj_name_get", _wrap_scaleTokenObj_name_get},
   43393             : {"mapscriptc::scaleTokenObj_n_entries_set", _wrap_scaleTokenObj_n_entries_set},
   43394             : {"mapscriptc::scaleTokenObj_n_entries_get", _wrap_scaleTokenObj_n_entries_get},
   43395             : {"mapscriptc::scaleTokenObj_tokens_set", _wrap_scaleTokenObj_tokens_set},
   43396             : {"mapscriptc::scaleTokenObj_tokens_get", _wrap_scaleTokenObj_tokens_get},
   43397             : {"mapscriptc::new_scaleTokenObj", _wrap_new_scaleTokenObj},
   43398             : {"mapscriptc::delete_scaleTokenObj", _wrap_delete_scaleTokenObj},
   43399             : {"mapscriptc::layerObj_classitem_set", _wrap_layerObj_classitem_set},
   43400             : {"mapscriptc::layerObj_classitem_get", _wrap_layerObj_classitem_get},
   43401             : {"mapscriptc::layerObj_refcount_get", _wrap_layerObj_refcount_get},
   43402             : {"mapscriptc::layerObj_numclasses_get", _wrap_layerObj_numclasses_get},
   43403             : {"mapscriptc::layerObj_maxclasses_get", _wrap_layerObj_maxclasses_get},
   43404             : {"mapscriptc::layerObj_index_get", _wrap_layerObj_index_get},
   43405             : {"mapscriptc::layerObj_map_get", _wrap_layerObj_map_get},
   43406             : {"mapscriptc::layerObj_header_set", _wrap_layerObj_header_set},
   43407             : {"mapscriptc::layerObj_header_get", _wrap_layerObj_header_get},
   43408             : {"mapscriptc::layerObj_footer_set", _wrap_layerObj_footer_set},
   43409             : {"mapscriptc::layerObj_footer_get", _wrap_layerObj_footer_get},
   43410             : {"mapscriptc::layerObj_template_set", _wrap_layerObj_template_set},
   43411             : {"mapscriptc::layerObj_template_get", _wrap_layerObj_template_get},
   43412             : {"mapscriptc::layerObj_name_set", _wrap_layerObj_name_set},
   43413             : {"mapscriptc::layerObj_name_get", _wrap_layerObj_name_get},
   43414             : {"mapscriptc::layerObj_group_set", _wrap_layerObj_group_set},
   43415             : {"mapscriptc::layerObj_group_get", _wrap_layerObj_group_get},
   43416             : {"mapscriptc::layerObj_status_set", _wrap_layerObj_status_set},
   43417             : {"mapscriptc::layerObj_status_get", _wrap_layerObj_status_get},
   43418             : {"mapscriptc::layerObj_data_set", _wrap_layerObj_data_set},
   43419             : {"mapscriptc::layerObj_data_get", _wrap_layerObj_data_get},
   43420             : {"mapscriptc::layerObj_type_set", _wrap_layerObj_type_set},
   43421             : {"mapscriptc::layerObj_type_get", _wrap_layerObj_type_get},
   43422             : {"mapscriptc::layerObj_tolerance_set", _wrap_layerObj_tolerance_set},
   43423             : {"mapscriptc::layerObj_tolerance_get", _wrap_layerObj_tolerance_get},
   43424             : {"mapscriptc::layerObj_toleranceunits_set", _wrap_layerObj_toleranceunits_set},
   43425             : {"mapscriptc::layerObj_toleranceunits_get", _wrap_layerObj_toleranceunits_get},
   43426             : {"mapscriptc::layerObj_symbolscaledenom_set", _wrap_layerObj_symbolscaledenom_set},
   43427             : {"mapscriptc::layerObj_symbolscaledenom_get", _wrap_layerObj_symbolscaledenom_get},
   43428             : {"mapscriptc::layerObj_minscaledenom_set", _wrap_layerObj_minscaledenom_set},
   43429             : {"mapscriptc::layerObj_minscaledenom_get", _wrap_layerObj_minscaledenom_get},
   43430             : {"mapscriptc::layerObj_maxscaledenom_set", _wrap_layerObj_maxscaledenom_set},
   43431             : {"mapscriptc::layerObj_maxscaledenom_get", _wrap_layerObj_maxscaledenom_get},
   43432             : {"mapscriptc::layerObj_minfeaturesize_set", _wrap_layerObj_minfeaturesize_set},
   43433             : {"mapscriptc::layerObj_minfeaturesize_get", _wrap_layerObj_minfeaturesize_get},
   43434             : {"mapscriptc::layerObj_labelminscaledenom_set", _wrap_layerObj_labelminscaledenom_set},
   43435             : {"mapscriptc::layerObj_labelminscaledenom_get", _wrap_layerObj_labelminscaledenom_get},
   43436             : {"mapscriptc::layerObj_labelmaxscaledenom_set", _wrap_layerObj_labelmaxscaledenom_set},
   43437             : {"mapscriptc::layerObj_labelmaxscaledenom_get", _wrap_layerObj_labelmaxscaledenom_get},
   43438             : {"mapscriptc::layerObj_mingeowidth_set", _wrap_layerObj_mingeowidth_set},
   43439             : {"mapscriptc::layerObj_mingeowidth_get", _wrap_layerObj_mingeowidth_get},
   43440             : {"mapscriptc::layerObj_maxgeowidth_set", _wrap_layerObj_maxgeowidth_set},
   43441             : {"mapscriptc::layerObj_maxgeowidth_get", _wrap_layerObj_maxgeowidth_get},
   43442             : {"mapscriptc::layerObj_sizeunits_set", _wrap_layerObj_sizeunits_set},
   43443             : {"mapscriptc::layerObj_sizeunits_get", _wrap_layerObj_sizeunits_get},
   43444             : {"mapscriptc::layerObj_maxfeatures_set", _wrap_layerObj_maxfeatures_set},
   43445             : {"mapscriptc::layerObj_maxfeatures_get", _wrap_layerObj_maxfeatures_get},
   43446             : {"mapscriptc::layerObj_startindex_set", _wrap_layerObj_startindex_set},
   43447             : {"mapscriptc::layerObj_startindex_get", _wrap_layerObj_startindex_get},
   43448             : {"mapscriptc::layerObj_offsite_set", _wrap_layerObj_offsite_set},
   43449             : {"mapscriptc::layerObj_offsite_get", _wrap_layerObj_offsite_get},
   43450             : {"mapscriptc::layerObj_transform_set", _wrap_layerObj_transform_set},
   43451             : {"mapscriptc::layerObj_transform_get", _wrap_layerObj_transform_get},
   43452             : {"mapscriptc::layerObj_labelcache_set", _wrap_layerObj_labelcache_set},
   43453             : {"mapscriptc::layerObj_labelcache_get", _wrap_layerObj_labelcache_get},
   43454             : {"mapscriptc::layerObj_postlabelcache_set", _wrap_layerObj_postlabelcache_set},
   43455             : {"mapscriptc::layerObj_postlabelcache_get", _wrap_layerObj_postlabelcache_get},
   43456             : {"mapscriptc::layerObj_labelitem_set", _wrap_layerObj_labelitem_set},
   43457             : {"mapscriptc::layerObj_labelitem_get", _wrap_layerObj_labelitem_get},
   43458             : {"mapscriptc::layerObj_tileitem_set", _wrap_layerObj_tileitem_set},
   43459             : {"mapscriptc::layerObj_tileitem_get", _wrap_layerObj_tileitem_get},
   43460             : {"mapscriptc::layerObj_tileindex_set", _wrap_layerObj_tileindex_set},
   43461             : {"mapscriptc::layerObj_tileindex_get", _wrap_layerObj_tileindex_get},
   43462             : {"mapscriptc::layerObj_tilesrs_set", _wrap_layerObj_tilesrs_set},
   43463             : {"mapscriptc::layerObj_tilesrs_get", _wrap_layerObj_tilesrs_get},
   43464             : {"mapscriptc::layerObj_units_set", _wrap_layerObj_units_set},
   43465             : {"mapscriptc::layerObj_units_get", _wrap_layerObj_units_get},
   43466             : {"mapscriptc::layerObj_connection_set", _wrap_layerObj_connection_set},
   43467             : {"mapscriptc::layerObj_connection_get", _wrap_layerObj_connection_get},
   43468             : {"mapscriptc::layerObj_plugin_library_set", _wrap_layerObj_plugin_library_set},
   43469             : {"mapscriptc::layerObj_plugin_library_get", _wrap_layerObj_plugin_library_get},
   43470             : {"mapscriptc::layerObj_plugin_library_original_set", _wrap_layerObj_plugin_library_original_set},
   43471             : {"mapscriptc::layerObj_plugin_library_original_get", _wrap_layerObj_plugin_library_original_get},
   43472             : {"mapscriptc::layerObj_connectiontype_set", _wrap_layerObj_connectiontype_set},
   43473             : {"mapscriptc::layerObj_connectiontype_get", _wrap_layerObj_connectiontype_get},
   43474             : {"mapscriptc::layerObj_numitems_get", _wrap_layerObj_numitems_get},
   43475             : {"mapscriptc::layerObj_bandsitem_set", _wrap_layerObj_bandsitem_set},
   43476             : {"mapscriptc::layerObj_bandsitem_get", _wrap_layerObj_bandsitem_get},
   43477             : {"mapscriptc::layerObj_filteritem_set", _wrap_layerObj_filteritem_set},
   43478             : {"mapscriptc::layerObj_filteritem_get", _wrap_layerObj_filteritem_get},
   43479             : {"mapscriptc::layerObj_styleitem_set", _wrap_layerObj_styleitem_set},
   43480             : {"mapscriptc::layerObj_styleitem_get", _wrap_layerObj_styleitem_get},
   43481             : {"mapscriptc::layerObj_requires_set", _wrap_layerObj_requires_set},
   43482             : {"mapscriptc::layerObj_requires_get", _wrap_layerObj_requires_get},
   43483             : {"mapscriptc::layerObj_labelrequires_set", _wrap_layerObj_labelrequires_set},
   43484             : {"mapscriptc::layerObj_labelrequires_get", _wrap_layerObj_labelrequires_get},
   43485             : {"mapscriptc::layerObj_metadata_get", _wrap_layerObj_metadata_get},
   43486             : {"mapscriptc::layerObj_validation_get", _wrap_layerObj_validation_get},
   43487             : {"mapscriptc::layerObj_bindvals_get", _wrap_layerObj_bindvals_get},
   43488             : {"mapscriptc::layerObj_cluster_get", _wrap_layerObj_cluster_get},
   43489             : {"mapscriptc::layerObj_dump_set", _wrap_layerObj_dump_set},
   43490             : {"mapscriptc::layerObj_dump_get", _wrap_layerObj_dump_get},
   43491             : {"mapscriptc::layerObj_debug_set", _wrap_layerObj_debug_set},
   43492             : {"mapscriptc::layerObj_debug_get", _wrap_layerObj_debug_get},
   43493             : {"mapscriptc::layerObj_extent_get", _wrap_layerObj_extent_get},
   43494             : {"mapscriptc::layerObj_numprocessing_get", _wrap_layerObj_numprocessing_get},
   43495             : {"mapscriptc::layerObj_numjoins_get", _wrap_layerObj_numjoins_get},
   43496             : {"mapscriptc::layerObj_classgroup_set", _wrap_layerObj_classgroup_set},
   43497             : {"mapscriptc::layerObj_classgroup_get", _wrap_layerObj_classgroup_get},
   43498             : {"mapscriptc::layerObj_mask_set", _wrap_layerObj_mask_set},
   43499             : {"mapscriptc::layerObj_mask_get", _wrap_layerObj_mask_get},
   43500             : {"mapscriptc::layerObj_encoding_set", _wrap_layerObj_encoding_set},
   43501             : {"mapscriptc::layerObj_encoding_get", _wrap_layerObj_encoding_get},
   43502             : {"mapscriptc::layerObj_utfitem_set", _wrap_layerObj_utfitem_set},
   43503             : {"mapscriptc::layerObj_utfitem_get", _wrap_layerObj_utfitem_get},
   43504             : {"mapscriptc::layerObj_utfitemindex_set", _wrap_layerObj_utfitemindex_set},
   43505             : {"mapscriptc::layerObj_utfitemindex_get", _wrap_layerObj_utfitemindex_get},
   43506             : {"mapscriptc::layerObj_utfdata_set", _wrap_layerObj_utfdata_set},
   43507             : {"mapscriptc::layerObj_utfdata_get", _wrap_layerObj_utfdata_get},
   43508             : {"mapscriptc::layerObj_compositer_set", _wrap_layerObj_compositer_set},
   43509             : {"mapscriptc::layerObj_compositer_get", _wrap_layerObj_compositer_get},
   43510             : {"mapscriptc::new_layerObj", _wrap_new_layerObj},
   43511             : {"mapscriptc::layerObj_setOpacity", _wrap_layerObj_setOpacity},
   43512             : {"mapscriptc::layerObj_getOpacity", _wrap_layerObj_getOpacity},
   43513             : {"mapscriptc::delete_layerObj", _wrap_delete_layerObj},
   43514             : {"mapscriptc::layerObj_clone", _wrap_layerObj_clone},
   43515             : {"mapscriptc::layerObj_updateFromString", _wrap_layerObj_updateFromString},
   43516             : {"mapscriptc::layerObj_convertToString", _wrap_layerObj_convertToString},
   43517             : {"mapscriptc::layerObj_insertClass", _wrap_layerObj_insertClass},
   43518             : {"mapscriptc::layerObj_removeClass", _wrap_layerObj_removeClass},
   43519             : {"mapscriptc::layerObj_open", _wrap_layerObj_open},
   43520             : {"mapscriptc::layerObj_whichShapes", _wrap_layerObj_whichShapes},
   43521             : {"mapscriptc::layerObj_nextShape", _wrap_layerObj_nextShape},
   43522             : {"mapscriptc::layerObj_close", _wrap_layerObj_close},
   43523             : {"mapscriptc::layerObj_getShape", _wrap_layerObj_getShape},
   43524             : {"mapscriptc::layerObj_getNumResults", _wrap_layerObj_getNumResults},
   43525             : {"mapscriptc::layerObj_getResultsBounds", _wrap_layerObj_getResultsBounds},
   43526             : {"mapscriptc::layerObj_getResult", _wrap_layerObj_getResult},
   43527             : {"mapscriptc::layerObj_getClass", _wrap_layerObj_getClass},
   43528             : {"mapscriptc::layerObj_getItem", _wrap_layerObj_getItem},
   43529             : {"mapscriptc::layerObj_setItems", _wrap_layerObj_setItems},
   43530             : {"mapscriptc::layerObj_draw", _wrap_layerObj_draw},
   43531             : {"mapscriptc::layerObj_drawQuery", _wrap_layerObj_drawQuery},
   43532             : {"mapscriptc::layerObj_queryByFilter", _wrap_layerObj_queryByFilter},
   43533             : {"mapscriptc::layerObj_queryByAttributes", _wrap_layerObj_queryByAttributes},
   43534             : {"mapscriptc::layerObj_queryByPoint", _wrap_layerObj_queryByPoint},
   43535             : {"mapscriptc::layerObj_queryByRect", _wrap_layerObj_queryByRect},
   43536             : {"mapscriptc::layerObj_queryByFeatures", _wrap_layerObj_queryByFeatures},
   43537             : {"mapscriptc::layerObj_queryByShape", _wrap_layerObj_queryByShape},
   43538             : {"mapscriptc::layerObj_queryByIndex", _wrap_layerObj_queryByIndex},
   43539             : {"mapscriptc::layerObj_getResults", _wrap_layerObj_getResults},
   43540             : {"mapscriptc::layerObj_setFilter", _wrap_layerObj_setFilter},
   43541             : {"mapscriptc::layerObj_getFilterString", _wrap_layerObj_getFilterString},
   43542             : {"mapscriptc::layerObj_setWKTProjection", _wrap_layerObj_setWKTProjection},
   43543             : {"mapscriptc::layerObj_getProjection", _wrap_layerObj_getProjection},
   43544             : {"mapscriptc::layerObj_setProjection", _wrap_layerObj_setProjection},
   43545             : {"mapscriptc::layerObj_addFeature", _wrap_layerObj_addFeature},
   43546             : {"mapscriptc::layerObj_getNumFeatures", _wrap_layerObj_getNumFeatures},
   43547             : {"mapscriptc::layerObj_getExtent", _wrap_layerObj_getExtent},
   43548             : {"mapscriptc::layerObj_setExtent", _wrap_layerObj_setExtent},
   43549             : {"mapscriptc::layerObj_getMetaData", _wrap_layerObj_getMetaData},
   43550             : {"mapscriptc::layerObj_setMetaData", _wrap_layerObj_setMetaData},
   43551             : {"mapscriptc::layerObj_removeMetaData", _wrap_layerObj_removeMetaData},
   43552             : {"mapscriptc::layerObj_getFirstMetaDataKey", _wrap_layerObj_getFirstMetaDataKey},
   43553             : {"mapscriptc::layerObj_getNextMetaDataKey", _wrap_layerObj_getNextMetaDataKey},
   43554             : {"mapscriptc::layerObj_getWMSFeatureInfoURL", _wrap_layerObj_getWMSFeatureInfoURL},
   43555             : {"mapscriptc::layerObj_executeWFSGetFeature", _wrap_layerObj_executeWFSGetFeature},
   43556             : {"mapscriptc::layerObj_applySLD", _wrap_layerObj_applySLD},
   43557             : {"mapscriptc::layerObj_applySLDURL", _wrap_layerObj_applySLDURL},
   43558             : {"mapscriptc::layerObj_generateSLD", _wrap_layerObj_generateSLD},
   43559             : {"mapscriptc::layerObj_isVisible", _wrap_layerObj_isVisible},
   43560             : {"mapscriptc::layerObj_moveClassUp", _wrap_layerObj_moveClassUp},
   43561             : {"mapscriptc::layerObj_moveClassDown", _wrap_layerObj_moveClassDown},
   43562             : {"mapscriptc::layerObj_setProcessingKey", _wrap_layerObj_setProcessingKey},
   43563             : {"mapscriptc::layerObj_setProcessing", _wrap_layerObj_setProcessing},
   43564             : {"mapscriptc::layerObj_addProcessing", _wrap_layerObj_addProcessing},
   43565             : {"mapscriptc::layerObj_getProcessing", _wrap_layerObj_getProcessing},
   43566             : {"mapscriptc::layerObj_getProcessingKey", _wrap_layerObj_getProcessingKey},
   43567             : {"mapscriptc::layerObj_clearProcessing", _wrap_layerObj_clearProcessing},
   43568             : {"mapscriptc::layerObj_setConnectionType", _wrap_layerObj_setConnectionType},
   43569             : {"mapscriptc::layerObj_getClassIndex", _wrap_layerObj_getClassIndex},
   43570             : {"mapscriptc::layerObj_getGeomTransform", _wrap_layerObj_getGeomTransform},
   43571             : {"mapscriptc::layerObj_setGeomTransform", _wrap_layerObj_setGeomTransform},
   43572             : {"mapscriptc::layerObj_getItemType", _wrap_layerObj_getItemType},
   43573             : {"mapscriptc::mapObj_name_set", _wrap_mapObj_name_set},
   43574             : {"mapscriptc::mapObj_name_get", _wrap_mapObj_name_get},
   43575             : {"mapscriptc::mapObj_status_set", _wrap_mapObj_status_set},
   43576             : {"mapscriptc::mapObj_status_get", _wrap_mapObj_status_get},
   43577             : {"mapscriptc::mapObj_height_set", _wrap_mapObj_height_set},
   43578             : {"mapscriptc::mapObj_height_get", _wrap_mapObj_height_get},
   43579             : {"mapscriptc::mapObj_width_set", _wrap_mapObj_width_set},
   43580             : {"mapscriptc::mapObj_width_get", _wrap_mapObj_width_get},
   43581             : {"mapscriptc::mapObj_maxsize_set", _wrap_mapObj_maxsize_set},
   43582             : {"mapscriptc::mapObj_maxsize_get", _wrap_mapObj_maxsize_get},
   43583             : {"mapscriptc::mapObj_refcount_get", _wrap_mapObj_refcount_get},
   43584             : {"mapscriptc::mapObj_numlayers_get", _wrap_mapObj_numlayers_get},
   43585             : {"mapscriptc::mapObj_maxlayers_get", _wrap_mapObj_maxlayers_get},
   43586             : {"mapscriptc::mapObj_symbolset_get", _wrap_mapObj_symbolset_get},
   43587             : {"mapscriptc::mapObj_fontset_get", _wrap_mapObj_fontset_get},
   43588             : {"mapscriptc::mapObj_labelcache_get", _wrap_mapObj_labelcache_get},
   43589             : {"mapscriptc::mapObj_transparent_set", _wrap_mapObj_transparent_set},
   43590             : {"mapscriptc::mapObj_transparent_get", _wrap_mapObj_transparent_get},
   43591             : {"mapscriptc::mapObj_interlace_set", _wrap_mapObj_interlace_set},
   43592             : {"mapscriptc::mapObj_interlace_get", _wrap_mapObj_interlace_get},
   43593             : {"mapscriptc::mapObj_imagequality_set", _wrap_mapObj_imagequality_set},
   43594             : {"mapscriptc::mapObj_imagequality_get", _wrap_mapObj_imagequality_get},
   43595             : {"mapscriptc::mapObj_extent_set", _wrap_mapObj_extent_set},
   43596             : {"mapscriptc::mapObj_extent_get", _wrap_mapObj_extent_get},
   43597             : {"mapscriptc::mapObj_cellsize_set", _wrap_mapObj_cellsize_set},
   43598             : {"mapscriptc::mapObj_cellsize_get", _wrap_mapObj_cellsize_get},
   43599             : {"mapscriptc::mapObj_units_set", _wrap_mapObj_units_set},
   43600             : {"mapscriptc::mapObj_units_get", _wrap_mapObj_units_get},
   43601             : {"mapscriptc::mapObj_scaledenom_set", _wrap_mapObj_scaledenom_set},
   43602             : {"mapscriptc::mapObj_scaledenom_get", _wrap_mapObj_scaledenom_get},
   43603             : {"mapscriptc::mapObj_resolution_set", _wrap_mapObj_resolution_set},
   43604             : {"mapscriptc::mapObj_resolution_get", _wrap_mapObj_resolution_get},
   43605             : {"mapscriptc::mapObj_defresolution_set", _wrap_mapObj_defresolution_set},
   43606             : {"mapscriptc::mapObj_defresolution_get", _wrap_mapObj_defresolution_get},
   43607             : {"mapscriptc::mapObj_shapepath_set", _wrap_mapObj_shapepath_set},
   43608             : {"mapscriptc::mapObj_shapepath_get", _wrap_mapObj_shapepath_get},
   43609             : {"mapscriptc::mapObj_mappath_set", _wrap_mapObj_mappath_set},
   43610             : {"mapscriptc::mapObj_mappath_get", _wrap_mapObj_mappath_get},
   43611             : {"mapscriptc::mapObj_imagecolor_set", _wrap_mapObj_imagecolor_set},
   43612             : {"mapscriptc::mapObj_imagecolor_get", _wrap_mapObj_imagecolor_get},
   43613             : {"mapscriptc::mapObj_numoutputformats_get", _wrap_mapObj_numoutputformats_get},
   43614             : {"mapscriptc::mapObj_outputformat_get", _wrap_mapObj_outputformat_get},
   43615             : {"mapscriptc::mapObj_imagetype_get", _wrap_mapObj_imagetype_get},
   43616             : {"mapscriptc::mapObj_reference_get", _wrap_mapObj_reference_get},
   43617             : {"mapscriptc::mapObj_scalebar_get", _wrap_mapObj_scalebar_get},
   43618             : {"mapscriptc::mapObj_legend_get", _wrap_mapObj_legend_get},
   43619             : {"mapscriptc::mapObj_querymap_get", _wrap_mapObj_querymap_get},
   43620             : {"mapscriptc::mapObj_web_get", _wrap_mapObj_web_get},
   43621             : {"mapscriptc::mapObj_layerorder_set", _wrap_mapObj_layerorder_set},
   43622             : {"mapscriptc::mapObj_layerorder_get", _wrap_mapObj_layerorder_get},
   43623             : {"mapscriptc::mapObj_debug_set", _wrap_mapObj_debug_set},
   43624             : {"mapscriptc::mapObj_debug_get", _wrap_mapObj_debug_get},
   43625             : {"mapscriptc::mapObj_datapattern_set", _wrap_mapObj_datapattern_set},
   43626             : {"mapscriptc::mapObj_datapattern_get", _wrap_mapObj_datapattern_get},
   43627             : {"mapscriptc::mapObj_templatepattern_set", _wrap_mapObj_templatepattern_set},
   43628             : {"mapscriptc::mapObj_templatepattern_get", _wrap_mapObj_templatepattern_get},
   43629             : {"mapscriptc::mapObj_configoptions_get", _wrap_mapObj_configoptions_get},
   43630             : {"mapscriptc::new_mapObj", _wrap_new_mapObj},
   43631             : {"mapscriptc::delete_mapObj", _wrap_delete_mapObj},
   43632             : {"mapscriptc::mapObj_clone", _wrap_mapObj_clone},
   43633             : {"mapscriptc::mapObj_insertLayer", _wrap_mapObj_insertLayer},
   43634             : {"mapscriptc::mapObj_removeLayer", _wrap_mapObj_removeLayer},
   43635             : {"mapscriptc::mapObj_setExtent", _wrap_mapObj_setExtent},
   43636             : {"mapscriptc::mapObj_offsetExtent", _wrap_mapObj_offsetExtent},
   43637             : {"mapscriptc::mapObj_scaleExtent", _wrap_mapObj_scaleExtent},
   43638             : {"mapscriptc::mapObj_setCenter", _wrap_mapObj_setCenter},
   43639             : {"mapscriptc::mapObj_setSize", _wrap_mapObj_setSize},
   43640             : {"mapscriptc::mapObj_setRotation", _wrap_mapObj_setRotation},
   43641             : {"mapscriptc::mapObj_getLayer", _wrap_mapObj_getLayer},
   43642             : {"mapscriptc::mapObj_getLayerByName", _wrap_mapObj_getLayerByName},
   43643             : {"mapscriptc::mapObj_getSymbolByName", _wrap_mapObj_getSymbolByName},
   43644             : {"mapscriptc::mapObj_prepareQuery", _wrap_mapObj_prepareQuery},
   43645             : {"mapscriptc::mapObj_prepareImage", _wrap_mapObj_prepareImage},
   43646             : {"mapscriptc::mapObj_setImageType", _wrap_mapObj_setImageType},
   43647             : {"mapscriptc::mapObj_selectOutputFormat", _wrap_mapObj_selectOutputFormat},
   43648             : {"mapscriptc::mapObj_getOutputFormat", _wrap_mapObj_getOutputFormat},
   43649             : {"mapscriptc::mapObj_setOutputFormat", _wrap_mapObj_setOutputFormat},
   43650             : {"mapscriptc::mapObj_draw", _wrap_mapObj_draw},
   43651             : {"mapscriptc::mapObj_drawQuery", _wrap_mapObj_drawQuery},
   43652             : {"mapscriptc::mapObj_drawLegend", _wrap_mapObj_drawLegend},
   43653             : {"mapscriptc::mapObj_drawScalebar", _wrap_mapObj_drawScalebar},
   43654             : {"mapscriptc::mapObj_drawReferenceMap", _wrap_mapObj_drawReferenceMap},
   43655             : {"mapscriptc::mapObj_embedScalebar", _wrap_mapObj_embedScalebar},
   43656             : {"mapscriptc::mapObj_embedLegend", _wrap_mapObj_embedLegend},
   43657             : {"mapscriptc::mapObj_drawLabelCache", _wrap_mapObj_drawLabelCache},
   43658             : {"mapscriptc::mapObj_queryByFilter", _wrap_mapObj_queryByFilter},
   43659             : {"mapscriptc::mapObj_queryByPoint", _wrap_mapObj_queryByPoint},
   43660             : {"mapscriptc::mapObj_queryByRect", _wrap_mapObj_queryByRect},
   43661             : {"mapscriptc::mapObj_queryByFeatures", _wrap_mapObj_queryByFeatures},
   43662             : {"mapscriptc::mapObj_queryByShape", _wrap_mapObj_queryByShape},
   43663             : {"mapscriptc::mapObj_setWKTProjection", _wrap_mapObj_setWKTProjection},
   43664             : {"mapscriptc::mapObj_getProjection", _wrap_mapObj_getProjection},
   43665             : {"mapscriptc::mapObj_setProjection", _wrap_mapObj_setProjection},
   43666             : {"mapscriptc::mapObj_save", _wrap_mapObj_save},
   43667             : {"mapscriptc::mapObj_saveQuery", _wrap_mapObj_saveQuery},
   43668             : {"mapscriptc::mapObj_loadQuery", _wrap_mapObj_loadQuery},
   43669             : {"mapscriptc::mapObj_freeQuery", _wrap_mapObj_freeQuery},
   43670             : {"mapscriptc::mapObj_saveQueryAsGML", _wrap_mapObj_saveQueryAsGML},
   43671             : {"mapscriptc::mapObj_getMetaData", _wrap_mapObj_getMetaData},
   43672             : {"mapscriptc::mapObj_setMetaData", _wrap_mapObj_setMetaData},
   43673             : {"mapscriptc::mapObj_removeMetaData", _wrap_mapObj_removeMetaData},
   43674             : {"mapscriptc::mapObj_getFirstMetaDataKey", _wrap_mapObj_getFirstMetaDataKey},
   43675             : {"mapscriptc::mapObj_getNextMetaDataKey", _wrap_mapObj_getNextMetaDataKey},
   43676             : {"mapscriptc::mapObj_setSymbolSet", _wrap_mapObj_setSymbolSet},
   43677             : {"mapscriptc::mapObj_getNumSymbols", _wrap_mapObj_getNumSymbols},
   43678             : {"mapscriptc::mapObj_setFontSet", _wrap_mapObj_setFontSet},
   43679             : {"mapscriptc::mapObj_saveMapContext", _wrap_mapObj_saveMapContext},
   43680             : {"mapscriptc::mapObj_loadMapContext", _wrap_mapObj_loadMapContext},
   43681             : {"mapscriptc::mapObj_moveLayerUp", _wrap_mapObj_moveLayerUp},
   43682             : {"mapscriptc::mapObj_moveLayerDown", _wrap_mapObj_moveLayerDown},
   43683             : {"mapscriptc::mapObj_getLayersDrawingOrder", _wrap_mapObj_getLayersDrawingOrder},
   43684             : {"mapscriptc::mapObj_setLayersDrawingOrder", _wrap_mapObj_setLayersDrawingOrder},
   43685             : {"mapscriptc::mapObj_setConfigOption", _wrap_mapObj_setConfigOption},
   43686             : {"mapscriptc::mapObj_getConfigOption", _wrap_mapObj_getConfigOption},
   43687             : {"mapscriptc::mapObj_applyConfigOptions", _wrap_mapObj_applyConfigOptions},
   43688             : {"mapscriptc::mapObj_applySLD", _wrap_mapObj_applySLD},
   43689             : {"mapscriptc::mapObj_applySLDURL", _wrap_mapObj_applySLDURL},
   43690             : {"mapscriptc::mapObj_generateSLD", _wrap_mapObj_generateSLD},
   43691             : {"mapscriptc::mapObj_processTemplate", _wrap_mapObj_processTemplate},
   43692             : {"mapscriptc::mapObj_processLegendTemplate", _wrap_mapObj_processLegendTemplate},
   43693             : {"mapscriptc::mapObj_processQueryTemplate", _wrap_mapObj_processQueryTemplate},
   43694             : {"mapscriptc::mapObj_getOutputFormatByName", _wrap_mapObj_getOutputFormatByName},
   43695             : {"mapscriptc::mapObj_appendOutputFormat", _wrap_mapObj_appendOutputFormat},
   43696             : {"mapscriptc::mapObj_removeOutputFormat", _wrap_mapObj_removeOutputFormat},
   43697             : {"mapscriptc::mapObj_loadOWSParameters", _wrap_mapObj_loadOWSParameters},
   43698             : {"mapscriptc::mapObj_OWSDispatch", _wrap_mapObj_OWSDispatch},
   43699             : {"mapscriptc::mapObj_convertToString", _wrap_mapObj_convertToString},
   43700             : {"mapscriptc::mapObj_zoomPoint", _wrap_mapObj_zoomPoint},
   43701             : {"mapscriptc::mapObj_zoomRectangle", _wrap_mapObj_zoomRectangle},
   43702             : {"mapscriptc::mapObj_zoomScale", _wrap_mapObj_zoomScale},
   43703             : {"mapscriptc::msSaveImage", _wrap_msSaveImage},
   43704             : {"mapscriptc::msFreeImage", _wrap_msFreeImage},
   43705             : {"mapscriptc::msSetup", _wrap_msSetup},
   43706             : {"mapscriptc::msCleanup", _wrap_msCleanup},
   43707             : {"mapscriptc::msLoadMapFromString", _wrap_msLoadMapFromString},
   43708             : {"mapscriptc::rectObj_minx_set", _wrap_rectObj_minx_set},
   43709             : {"mapscriptc::rectObj_minx_get", _wrap_rectObj_minx_get},
   43710             : {"mapscriptc::rectObj_miny_set", _wrap_rectObj_miny_set},
   43711             : {"mapscriptc::rectObj_miny_get", _wrap_rectObj_miny_get},
   43712             : {"mapscriptc::rectObj_maxx_set", _wrap_rectObj_maxx_set},
   43713             : {"mapscriptc::rectObj_maxx_get", _wrap_rectObj_maxx_get},
   43714             : {"mapscriptc::rectObj_maxy_set", _wrap_rectObj_maxy_set},
   43715             : {"mapscriptc::rectObj_maxy_get", _wrap_rectObj_maxy_get},
   43716             : {"mapscriptc::new_rectObj", _wrap_new_rectObj},
   43717             : {"mapscriptc::delete_rectObj", _wrap_delete_rectObj},
   43718             : {"mapscriptc::rectObj_project", _wrap_rectObj_project},
   43719             : {"mapscriptc::rectObj_fit", _wrap_rectObj_fit},
   43720             : {"mapscriptc::rectObj_draw", _wrap_rectObj_draw},
   43721             : {"mapscriptc::rectObj_getCenter", _wrap_rectObj_getCenter},
   43722             : {"mapscriptc::rectObj_toPolygon", _wrap_rectObj_toPolygon},
   43723             : {"mapscriptc::rectObj_toString", _wrap_rectObj_toString},
   43724             : {"mapscriptc::pointObj_x_set", _wrap_pointObj_x_set},
   43725             : {"mapscriptc::pointObj_x_get", _wrap_pointObj_x_get},
   43726             : {"mapscriptc::pointObj_y_set", _wrap_pointObj_y_set},
   43727             : {"mapscriptc::pointObj_y_get", _wrap_pointObj_y_get},
   43728             : {"mapscriptc::new_pointObj", _wrap_new_pointObj},
   43729             : {"mapscriptc::delete_pointObj", _wrap_delete_pointObj},
   43730             : {"mapscriptc::pointObj_project", _wrap_pointObj_project},
   43731             : {"mapscriptc::pointObj_draw", _wrap_pointObj_draw},
   43732             : {"mapscriptc::pointObj_distanceToPoint", _wrap_pointObj_distanceToPoint},
   43733             : {"mapscriptc::pointObj_distanceToSegment", _wrap_pointObj_distanceToSegment},
   43734             : {"mapscriptc::pointObj_distanceToShape", _wrap_pointObj_distanceToShape},
   43735             : {"mapscriptc::pointObj_setXY", _wrap_pointObj_setXY},
   43736             : {"mapscriptc::pointObj_setXYZ", _wrap_pointObj_setXYZ},
   43737             : {"mapscriptc::pointObj_setXYZM", _wrap_pointObj_setXYZM},
   43738             : {"mapscriptc::pointObj_toString", _wrap_pointObj_toString},
   43739             : {"mapscriptc::pointObj_toShape", _wrap_pointObj_toShape},
   43740             : {"mapscriptc::lineObj_numpoints_get", _wrap_lineObj_numpoints_get},
   43741             : {"mapscriptc::new_lineObj", _wrap_new_lineObj},
   43742             : {"mapscriptc::delete_lineObj", _wrap_delete_lineObj},
   43743             : {"mapscriptc::lineObj_project", _wrap_lineObj_project},
   43744             : {"mapscriptc::lineObj_get", _wrap_lineObj_get},
   43745             : {"mapscriptc::lineObj_add", _wrap_lineObj_add},
   43746             : {"mapscriptc::lineObj_set", _wrap_lineObj_set},
   43747             : {"mapscriptc::shapeObj_numlines_get", _wrap_shapeObj_numlines_get},
   43748             : {"mapscriptc::shapeObj_numvalues_get", _wrap_shapeObj_numvalues_get},
   43749             : {"mapscriptc::shapeObj_bounds_set", _wrap_shapeObj_bounds_set},
   43750             : {"mapscriptc::shapeObj_bounds_get", _wrap_shapeObj_bounds_get},
   43751             : {"mapscriptc::shapeObj_type_set", _wrap_shapeObj_type_set},
   43752             : {"mapscriptc::shapeObj_type_get", _wrap_shapeObj_type_get},
   43753             : {"mapscriptc::shapeObj_index_set", _wrap_shapeObj_index_set},
   43754             : {"mapscriptc::shapeObj_index_get", _wrap_shapeObj_index_get},
   43755             : {"mapscriptc::shapeObj_tileindex_set", _wrap_shapeObj_tileindex_set},
   43756             : {"mapscriptc::shapeObj_tileindex_get", _wrap_shapeObj_tileindex_get},
   43757             : {"mapscriptc::shapeObj_classindex_set", _wrap_shapeObj_classindex_set},
   43758             : {"mapscriptc::shapeObj_classindex_get", _wrap_shapeObj_classindex_get},
   43759             : {"mapscriptc::shapeObj_text_set", _wrap_shapeObj_text_set},
   43760             : {"mapscriptc::shapeObj_text_get", _wrap_shapeObj_text_get},
   43761             : {"mapscriptc::shapeObj_scratch_set", _wrap_shapeObj_scratch_set},
   43762             : {"mapscriptc::shapeObj_scratch_get", _wrap_shapeObj_scratch_get},
   43763             : {"mapscriptc::shapeObj_resultindex_set", _wrap_shapeObj_resultindex_set},
   43764             : {"mapscriptc::shapeObj_resultindex_get", _wrap_shapeObj_resultindex_get},
   43765             : {"mapscriptc::new_shapeObj", _wrap_new_shapeObj},
   43766             : {"mapscriptc::delete_shapeObj", _wrap_delete_shapeObj},
   43767             : {"mapscriptc::shapeObj_fromWKT", _wrap_shapeObj_fromWKT},
   43768             : {"mapscriptc::shapeObj_project", _wrap_shapeObj_project},
   43769             : {"mapscriptc::shapeObj_get", _wrap_shapeObj_get},
   43770             : {"mapscriptc::shapeObj_add", _wrap_shapeObj_add},
   43771             : {"mapscriptc::shapeObj_draw", _wrap_shapeObj_draw},
   43772             : {"mapscriptc::shapeObj_setBounds", _wrap_shapeObj_setBounds},
   43773             : {"mapscriptc::shapeObj_clone", _wrap_shapeObj_clone},
   43774             : {"mapscriptc::shapeObj_copy", _wrap_shapeObj_copy},
   43775             : {"mapscriptc::shapeObj_toWKT", _wrap_shapeObj_toWKT},
   43776             : {"mapscriptc::shapeObj_buffer", _wrap_shapeObj_buffer},
   43777             : {"mapscriptc::shapeObj_simplify", _wrap_shapeObj_simplify},
   43778             : {"mapscriptc::shapeObj_topologyPreservingSimplify", _wrap_shapeObj_topologyPreservingSimplify},
   43779             : {"mapscriptc::shapeObj_convexHull", _wrap_shapeObj_convexHull},
   43780             : {"mapscriptc::shapeObj_boundary", _wrap_shapeObj_boundary},
   43781             : {"mapscriptc::shapeObj_getCentroid", _wrap_shapeObj_getCentroid},
   43782             : {"mapscriptc::shapeObj_Union", _wrap_shapeObj_Union},
   43783             : {"mapscriptc::shapeObj_intersection", _wrap_shapeObj_intersection},
   43784             : {"mapscriptc::shapeObj_difference", _wrap_shapeObj_difference},
   43785             : {"mapscriptc::shapeObj_symDifference", _wrap_shapeObj_symDifference},
   43786             : {"mapscriptc::shapeObj_overlaps", _wrap_shapeObj_overlaps},
   43787             : {"mapscriptc::shapeObj_within", _wrap_shapeObj_within},
   43788             : {"mapscriptc::shapeObj_crosses", _wrap_shapeObj_crosses},
   43789             : {"mapscriptc::shapeObj_intersects", _wrap_shapeObj_intersects},
   43790             : {"mapscriptc::shapeObj_touches", _wrap_shapeObj_touches},
   43791             : {"mapscriptc::shapeObj_equals", _wrap_shapeObj_equals},
   43792             : {"mapscriptc::shapeObj_disjoint", _wrap_shapeObj_disjoint},
   43793             : {"mapscriptc::shapeObj_getArea", _wrap_shapeObj_getArea},
   43794             : {"mapscriptc::shapeObj_getLength", _wrap_shapeObj_getLength},
   43795             : {"mapscriptc::shapeObj_getValue", _wrap_shapeObj_getValue},
   43796             : {"mapscriptc::shapeObj_contains", _wrap_shapeObj_contains},
   43797             : {"mapscriptc::shapeObj_distanceToPoint", _wrap_shapeObj_distanceToPoint},
   43798             : {"mapscriptc::shapeObj_distanceToShape", _wrap_shapeObj_distanceToShape},
   43799             : {"mapscriptc::shapeObj_getLabelPoint", _wrap_shapeObj_getLabelPoint},
   43800             : {"mapscriptc::shapeObj_setValue", _wrap_shapeObj_setValue},
   43801             : {"mapscriptc::shapeObj_initValues", _wrap_shapeObj_initValues},
   43802             : {"mapscriptc::DBFInfo_fp_get", _wrap_DBFInfo_fp_get},
   43803             : {"mapscriptc::DBFInfo_nRecords_get", _wrap_DBFInfo_nRecords_get},
   43804             : {"mapscriptc::DBFInfo_nRecordLength_get", _wrap_DBFInfo_nRecordLength_get},
   43805             : {"mapscriptc::DBFInfo_nHeaderLength_get", _wrap_DBFInfo_nHeaderLength_get},
   43806             : {"mapscriptc::DBFInfo_nFields_get", _wrap_DBFInfo_nFields_get},
   43807             : {"mapscriptc::DBFInfo_panFieldOffset_get", _wrap_DBFInfo_panFieldOffset_get},
   43808             : {"mapscriptc::DBFInfo_panFieldSize_get", _wrap_DBFInfo_panFieldSize_get},
   43809             : {"mapscriptc::DBFInfo_panFieldDecimals_get", _wrap_DBFInfo_panFieldDecimals_get},
   43810             : {"mapscriptc::DBFInfo_pachFieldType_get", _wrap_DBFInfo_pachFieldType_get},
   43811             : {"mapscriptc::DBFInfo_pszHeader_get", _wrap_DBFInfo_pszHeader_get},
   43812             : {"mapscriptc::DBFInfo_nCurrentRecord_get", _wrap_DBFInfo_nCurrentRecord_get},
   43813             : {"mapscriptc::DBFInfo_bCurrentRecordModified_get", _wrap_DBFInfo_bCurrentRecordModified_get},
   43814             : {"mapscriptc::DBFInfo_pszCurrentRecord_get", _wrap_DBFInfo_pszCurrentRecord_get},
   43815             : {"mapscriptc::DBFInfo_bNoHeader_get", _wrap_DBFInfo_bNoHeader_get},
   43816             : {"mapscriptc::DBFInfo_bUpdated_get", _wrap_DBFInfo_bUpdated_get},
   43817             : {"mapscriptc::DBFInfo_pszStringField_get", _wrap_DBFInfo_pszStringField_get},
   43818             : {"mapscriptc::DBFInfo_nStringFieldLen_get", _wrap_DBFInfo_nStringFieldLen_get},
   43819             : {"mapscriptc::DBFInfo_getFieldName", _wrap_DBFInfo_getFieldName},
   43820             : {"mapscriptc::DBFInfo_getFieldWidth", _wrap_DBFInfo_getFieldWidth},
   43821             : {"mapscriptc::DBFInfo_getFieldDecimals", _wrap_DBFInfo_getFieldDecimals},
   43822             : {"mapscriptc::DBFInfo_getFieldType", _wrap_DBFInfo_getFieldType},
   43823             : {"mapscriptc::new_DBFInfo", _wrap_new_DBFInfo},
   43824             : {"mapscriptc::delete_DBFInfo", _wrap_delete_DBFInfo},
   43825             : {"mapscriptc::shapefileObj_source_get", _wrap_shapefileObj_source_get},
   43826             : {"mapscriptc::shapefileObj_type_get", _wrap_shapefileObj_type_get},
   43827             : {"mapscriptc::shapefileObj_numshapes_get", _wrap_shapefileObj_numshapes_get},
   43828             : {"mapscriptc::shapefileObj_bounds_get", _wrap_shapefileObj_bounds_get},
   43829             : {"mapscriptc::shapefileObj_lastshape_get", _wrap_shapefileObj_lastshape_get},
   43830             : {"mapscriptc::shapefileObj_status_get", _wrap_shapefileObj_status_get},
   43831             : {"mapscriptc::shapefileObj_isopen_get", _wrap_shapefileObj_isopen_get},
   43832             : {"mapscriptc::new_shapefileObj", _wrap_new_shapefileObj},
   43833             : {"mapscriptc::delete_shapefileObj", _wrap_delete_shapefileObj},
   43834             : {"mapscriptc::shapefileObj_get", _wrap_shapefileObj_get},
   43835             : {"mapscriptc::shapefileObj_getShape", _wrap_shapefileObj_getShape},
   43836             : {"mapscriptc::shapefileObj_getPoint", _wrap_shapefileObj_getPoint},
   43837             : {"mapscriptc::shapefileObj_getTransformed", _wrap_shapefileObj_getTransformed},
   43838             : {"mapscriptc::shapefileObj_getExtent", _wrap_shapefileObj_getExtent},
   43839             : {"mapscriptc::shapefileObj_add", _wrap_shapefileObj_add},
   43840             : {"mapscriptc::shapefileObj_addPoint", _wrap_shapefileObj_addPoint},
   43841             : {"mapscriptc::shapefileObj_getDBF", _wrap_shapefileObj_getDBF},
   43842             : {"mapscriptc::projectionObj_numargs_get", _wrap_projectionObj_numargs_get},
   43843             : {"mapscriptc::projectionObj_automatic_get", _wrap_projectionObj_automatic_get},
   43844             : {"mapscriptc::projectionObj_wellknownprojection_set", _wrap_projectionObj_wellknownprojection_set},
   43845             : {"mapscriptc::projectionObj_wellknownprojection_get", _wrap_projectionObj_wellknownprojection_get},
   43846             : {"mapscriptc::new_projectionObj", _wrap_new_projectionObj},
   43847             : {"mapscriptc::delete_projectionObj", _wrap_delete_projectionObj},
   43848             : {"mapscriptc::projectionObj_setWKTProjection", _wrap_projectionObj_setWKTProjection},
   43849             : {"mapscriptc::projectionObj_getUnits", _wrap_projectionObj_getUnits},
   43850             : {"mapscriptc::colorObj_red_set", _wrap_colorObj_red_set},
   43851             : {"mapscriptc::colorObj_red_get", _wrap_colorObj_red_get},
   43852             : {"mapscriptc::colorObj_green_set", _wrap_colorObj_green_set},
   43853             : {"mapscriptc::colorObj_green_get", _wrap_colorObj_green_get},
   43854             : {"mapscriptc::colorObj_blue_set", _wrap_colorObj_blue_set},
   43855             : {"mapscriptc::colorObj_blue_get", _wrap_colorObj_blue_get},
   43856             : {"mapscriptc::colorObj_alpha_set", _wrap_colorObj_alpha_set},
   43857             : {"mapscriptc::colorObj_alpha_get", _wrap_colorObj_alpha_get},
   43858             : {"mapscriptc::new_colorObj", _wrap_new_colorObj},
   43859             : {"mapscriptc::delete_colorObj", _wrap_delete_colorObj},
   43860             : {"mapscriptc::colorObj_setRGB", _wrap_colorObj_setRGB},
   43861             : {"mapscriptc::colorObj_setHex", _wrap_colorObj_setHex},
   43862             : {"mapscriptc::colorObj_toHex", _wrap_colorObj_toHex},
   43863             : {"mapscriptc::symbolObj_name_set", _wrap_symbolObj_name_set},
   43864             : {"mapscriptc::symbolObj_name_get", _wrap_symbolObj_name_get},
   43865             : {"mapscriptc::symbolObj_type_set", _wrap_symbolObj_type_set},
   43866             : {"mapscriptc::symbolObj_type_get", _wrap_symbolObj_type_get},
   43867             : {"mapscriptc::symbolObj_inmapfile_set", _wrap_symbolObj_inmapfile_set},
   43868             : {"mapscriptc::symbolObj_inmapfile_get", _wrap_symbolObj_inmapfile_get},
   43869             : {"mapscriptc::symbolObj_sizex_set", _wrap_symbolObj_sizex_set},
   43870             : {"mapscriptc::symbolObj_sizex_get", _wrap_symbolObj_sizex_get},
   43871             : {"mapscriptc::symbolObj_sizey_set", _wrap_symbolObj_sizey_set},
   43872             : {"mapscriptc::symbolObj_sizey_get", _wrap_symbolObj_sizey_get},
   43873             : {"mapscriptc::symbolObj_minx_set", _wrap_symbolObj_minx_set},
   43874             : {"mapscriptc::symbolObj_minx_get", _wrap_symbolObj_minx_get},
   43875             : {"mapscriptc::symbolObj_miny_set", _wrap_symbolObj_miny_set},
   43876             : {"mapscriptc::symbolObj_miny_get", _wrap_symbolObj_miny_get},
   43877             : {"mapscriptc::symbolObj_maxx_set", _wrap_symbolObj_maxx_set},
   43878             : {"mapscriptc::symbolObj_maxx_get", _wrap_symbolObj_maxx_get},
   43879             : {"mapscriptc::symbolObj_maxy_set", _wrap_symbolObj_maxy_set},
   43880             : {"mapscriptc::symbolObj_maxy_get", _wrap_symbolObj_maxy_get},
   43881             : {"mapscriptc::symbolObj_refcount_get", _wrap_symbolObj_refcount_get},
   43882             : {"mapscriptc::symbolObj_numpoints_get", _wrap_symbolObj_numpoints_get},
   43883             : {"mapscriptc::symbolObj_filled_set", _wrap_symbolObj_filled_set},
   43884             : {"mapscriptc::symbolObj_filled_get", _wrap_symbolObj_filled_get},
   43885             : {"mapscriptc::symbolObj_anchorpoint_x_set", _wrap_symbolObj_anchorpoint_x_set},
   43886             : {"mapscriptc::symbolObj_anchorpoint_x_get", _wrap_symbolObj_anchorpoint_x_get},
   43887             : {"mapscriptc::symbolObj_anchorpoint_y_set", _wrap_symbolObj_anchorpoint_y_set},
   43888             : {"mapscriptc::symbolObj_anchorpoint_y_get", _wrap_symbolObj_anchorpoint_y_get},
   43889             : {"mapscriptc::symbolObj_imagepath_get", _wrap_symbolObj_imagepath_get},
   43890             : {"mapscriptc::symbolObj_transparent_set", _wrap_symbolObj_transparent_set},
   43891             : {"mapscriptc::symbolObj_transparent_get", _wrap_symbolObj_transparent_get},
   43892             : {"mapscriptc::symbolObj_transparentcolor_set", _wrap_symbolObj_transparentcolor_set},
   43893             : {"mapscriptc::symbolObj_transparentcolor_get", _wrap_symbolObj_transparentcolor_get},
   43894             : {"mapscriptc::symbolObj_character_set", _wrap_symbolObj_character_set},
   43895             : {"mapscriptc::symbolObj_character_get", _wrap_symbolObj_character_get},
   43896             : {"mapscriptc::symbolObj_font_set", _wrap_symbolObj_font_set},
   43897             : {"mapscriptc::symbolObj_font_get", _wrap_symbolObj_font_get},
   43898             : {"mapscriptc::new_symbolObj", _wrap_new_symbolObj},
   43899             : {"mapscriptc::delete_symbolObj", _wrap_delete_symbolObj},
   43900             : {"mapscriptc::symbolObj_setImagepath", _wrap_symbolObj_setImagepath},
   43901             : {"mapscriptc::symbolObj_setPoints", _wrap_symbolObj_setPoints},
   43902             : {"mapscriptc::symbolObj_getPoints", _wrap_symbolObj_getPoints},
   43903             : {"mapscriptc::symbolObj_getImage", _wrap_symbolObj_getImage},
   43904             : {"mapscriptc::symbolObj_setImage", _wrap_symbolObj_setImage},
   43905             : {"mapscriptc::errorObj_code_set", _wrap_errorObj_code_set},
   43906             : {"mapscriptc::errorObj_code_get", _wrap_errorObj_code_get},
   43907             : {"mapscriptc::errorObj_routine_set", _wrap_errorObj_routine_set},
   43908             : {"mapscriptc::errorObj_routine_get", _wrap_errorObj_routine_get},
   43909             : {"mapscriptc::errorObj_message_set", _wrap_errorObj_message_set},
   43910             : {"mapscriptc::errorObj_message_get", _wrap_errorObj_message_get},
   43911             : {"mapscriptc::errorObj_isreported_set", _wrap_errorObj_isreported_set},
   43912             : {"mapscriptc::errorObj_isreported_get", _wrap_errorObj_isreported_get},
   43913             : {"mapscriptc::errorObj_errorcount_set", _wrap_errorObj_errorcount_set},
   43914             : {"mapscriptc::errorObj_errorcount_get", _wrap_errorObj_errorcount_get},
   43915             : {"mapscriptc::new_errorObj", _wrap_new_errorObj},
   43916             : {"mapscriptc::delete_errorObj", _wrap_delete_errorObj},
   43917             : {"mapscriptc::errorObj_next", _wrap_errorObj_next},
   43918             : {"mapscriptc::msGetErrorObj", _wrap_msGetErrorObj},
   43919             : {"mapscriptc::msResetErrorList", _wrap_msResetErrorList},
   43920             : {"mapscriptc::msGetVersion", _wrap_msGetVersion},
   43921             : {"mapscriptc::msGetVersionInt", _wrap_msGetVersionInt},
   43922             : {"mapscriptc::msGetErrorString", _wrap_msGetErrorString},
   43923             : {"mapscriptc::hashTableObj_numitems_get", _wrap_hashTableObj_numitems_get},
   43924             : {"mapscriptc::new_hashTableObj", _wrap_new_hashTableObj},
   43925             : {"mapscriptc::delete_hashTableObj", _wrap_delete_hashTableObj},
   43926             : {"mapscriptc::hashTableObj_set", _wrap_hashTableObj_set},
   43927             : {"mapscriptc::hashTableObj_get", _wrap_hashTableObj_get},
   43928             : {"mapscriptc::hashTableObj_remove", _wrap_hashTableObj_remove},
   43929             : {"mapscriptc::hashTableObj_clear", _wrap_hashTableObj_clear},
   43930             : {"mapscriptc::hashTableObj_nextKey", _wrap_hashTableObj_nextKey},
   43931             : {"mapscriptc::OWSRequest_NumParams_get", _wrap_OWSRequest_NumParams_get},
   43932             : {"mapscriptc::OWSRequest_type_set", _wrap_OWSRequest_type_set},
   43933             : {"mapscriptc::OWSRequest_type_get", _wrap_OWSRequest_type_get},
   43934             : {"mapscriptc::OWSRequest_contenttype_set", _wrap_OWSRequest_contenttype_set},
   43935             : {"mapscriptc::OWSRequest_contenttype_get", _wrap_OWSRequest_contenttype_get},
   43936             : {"mapscriptc::OWSRequest_postrequest_set", _wrap_OWSRequest_postrequest_set},
   43937             : {"mapscriptc::OWSRequest_postrequest_get", _wrap_OWSRequest_postrequest_get},
   43938             : {"mapscriptc::OWSRequest_httpcookiedata_set", _wrap_OWSRequest_httpcookiedata_set},
   43939             : {"mapscriptc::OWSRequest_httpcookiedata_get", _wrap_OWSRequest_httpcookiedata_get},
   43940             : {"mapscriptc::new_OWSRequest", _wrap_new_OWSRequest},
   43941             : {"mapscriptc::delete_OWSRequest", _wrap_delete_OWSRequest},
   43942             : {"mapscriptc::OWSRequest_loadParams", _wrap_OWSRequest_loadParams},
   43943             : {"mapscriptc::OWSRequest_loadParamsFromURL", _wrap_OWSRequest_loadParamsFromURL},
   43944             : {"mapscriptc::OWSRequest_setParameter", _wrap_OWSRequest_setParameter},
   43945             : {"mapscriptc::OWSRequest_addParameter", _wrap_OWSRequest_addParameter},
   43946             : {"mapscriptc::OWSRequest_getName", _wrap_OWSRequest_getName},
   43947             : {"mapscriptc::OWSRequest_getValue", _wrap_OWSRequest_getValue},
   43948             : {"mapscriptc::OWSRequest_getValueByName", _wrap_OWSRequest_getValueByName},
   43949             : {"mapscriptc::msConnPoolCloseUnreferenced", _wrap_msConnPoolCloseUnreferenced},
   43950             : {"mapscriptc::msIO_resetHandlers", _wrap_msIO_resetHandlers},
   43951             : {"mapscriptc::msIO_installStdoutToBuffer", _wrap_msIO_installStdoutToBuffer},
   43952             : {"mapscriptc::msIO_installStdinFromBuffer", _wrap_msIO_installStdinFromBuffer},
   43953             : {"mapscriptc::msIO_stripStdoutBufferContentType", _wrap_msIO_stripStdoutBufferContentType},
   43954             : {"mapscriptc::msIO_stripStdoutBufferContentHeaders", _wrap_msIO_stripStdoutBufferContentHeaders},
   43955             : {"mapscriptc::msIO_getStdoutBufferString", _wrap_msIO_getStdoutBufferString},
   43956             : {"mapscriptc::msIO_getStdoutBufferBytes", _wrap_msIO_getStdoutBufferBytes},
   43957             : {"mapscriptc::msIO_getAndStripStdoutBufferMimeHeaders", _wrap_msIO_getAndStripStdoutBufferMimeHeaders},
   43958             : {0,0}
   43959             : };
   43960             : /* -----------------------------------------------------------------------------
   43961             :  * Type initialization:
   43962             :  * This problem is tough by the requirement that no dynamic
   43963             :  * memory is used. Also, since swig_type_info structures store pointers to
   43964             :  * swig_cast_info structures and swig_cast_info structures store pointers back
   43965             :  * to swig_type_info structures, we need some lookup code at initialization.
   43966             :  * The idea is that swig generates all the structures that are needed.
   43967             :  * The runtime then collects these partially filled structures.
   43968             :  * The SWIG_InitializeModule function takes these initial arrays out of
   43969             :  * swig_module, and does all the lookup, filling in the swig_module.types
   43970             :  * array with the correct data and linking the correct swig_cast_info
   43971             :  * structures together.
   43972             :  *
   43973             :  * The generated swig_type_info structures are assigned statically to an initial
   43974             :  * array. We just loop through that array, and handle each type individually.
   43975             :  * First we lookup if this type has been already loaded, and if so, use the
   43976             :  * loaded structure instead of the generated one. Then we have to fill in the
   43977             :  * cast linked list. The cast data is initially stored in something like a
   43978             :  * two-dimensional array. Each row corresponds to a type (there are the same
   43979             :  * number of rows as there are in the swig_type_initial array). Each entry in
   43980             :  * a column is one of the swig_cast_info structures for that type.
   43981             :  * The cast_initial array is actually an array of arrays, because each row has
   43982             :  * a variable number of columns. So to actually build the cast linked list,
   43983             :  * we find the array of casts associated with the type, and loop through it
   43984             :  * adding the casts to the list. The one last trick we need to do is making
   43985             :  * sure the type pointer in the swig_cast_info struct is correct.
   43986             :  *
   43987             :  * First off, we lookup the cast->type name to see if it is already loaded.
   43988             :  * There are three cases to handle:
   43989             :  *  1) If the cast->type has already been loaded AND the type we are adding
   43990             :  *     casting info to has not been loaded (it is in this module), THEN we
   43991             :  *     replace the cast->type pointer with the type pointer that has already
   43992             :  *     been loaded.
   43993             :  *  2) If BOTH types (the one we are adding casting info to, and the
   43994             :  *     cast->type) are loaded, THEN the cast info has already been loaded by
   43995             :  *     the previous module so we just ignore it.
   43996             :  *  3) Finally, if cast->type has not already been loaded, then we add that
   43997             :  *     swig_cast_info to the linked list (because the cast->type) pointer will
   43998             :  *     be correct.
   43999             :  * ----------------------------------------------------------------------------- */
   44000             : 
   44001             : #ifdef __cplusplus
   44002             : extern "C" {
   44003             : #if 0
   44004             : } /* c-mode */
   44005             : #endif
   44006             : #endif
   44007             : 
   44008             : #if 0
   44009             : #define SWIGRUNTIME_DEBUG
   44010             : #endif
   44011             : 
   44012             : 
   44013             : SWIGRUNTIME void
   44014           1 : SWIG_InitializeModule(void *clientdata) {
   44015             :   size_t i;
   44016             :   swig_module_info *module_head, *iter;
   44017             :   int init;
   44018             :   
   44019             :   /* check to see if the circular list has been setup, if not, set it up */
   44020           1 :   if (swig_module.next==0) {
   44021             :     /* Initialize the swig_module */
   44022           1 :     swig_module.type_initial = swig_type_initial;
   44023           1 :     swig_module.cast_initial = swig_cast_initial;
   44024           1 :     swig_module.next = &swig_module;
   44025             :     init = 1;
   44026             :   } else {
   44027             :     init = 0;
   44028             :   }
   44029             :   
   44030             :   /* Try and load any already created modules */
   44031           1 :   module_head = SWIG_GetModule(clientdata);
   44032           1 :   if (!module_head) {
   44033             :     /* This is the first module loaded for this interpreter */
   44034             :     /* so set the swig module into the interpreter */
   44035           1 :     SWIG_SetModule(clientdata, &swig_module);
   44036             :   } else {
   44037             :     /* the interpreter has loaded a SWIG module, but has it loaded this one? */
   44038             :     iter=module_head;
   44039             :     do {
   44040           0 :       if (iter==&swig_module) {
   44041             :         /* Our module is already in the list, so there's nothing more to do. */
   44042             :         return;
   44043             :       }
   44044           0 :       iter=iter->next;
   44045           0 :     } while (iter!= module_head);
   44046             :     
   44047             :     /* otherwise we must add our module into the list */
   44048           0 :     swig_module.next = module_head->next;
   44049           0 :     module_head->next = &swig_module;
   44050             :   }
   44051             :   
   44052             :   /* When multiple interpreters are used, a module could have already been initialized in
   44053             :        a different interpreter, but not yet have a pointer in this interpreter.
   44054             :        In this case, we do not want to continue adding types... everything should be
   44055             :        set up already */
   44056           1 :   if (init == 0) return;
   44057             :   
   44058             :   /* Now work on filling in swig_module.types */
   44059             : #ifdef SWIGRUNTIME_DEBUG
   44060             :   printf("SWIG_InitializeModule: size %d\n", swig_module.size);
   44061             : #endif
   44062           1 :   for (i = 0; i < swig_module.size; ++i) {
   44063             :     swig_type_info *type = 0;
   44064             :     swig_type_info *ret;
   44065             :     swig_cast_info *cast;
   44066             :     
   44067             : #ifdef SWIGRUNTIME_DEBUG
   44068             :     printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
   44069             : #endif
   44070             :     
   44071             :     /* if there is another module already loaded */
   44072           1 :     if (swig_module.next != &swig_module) {
   44073           0 :       type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
   44074             :     }
   44075           1 :     if (type) {
   44076             :       /* Overwrite clientdata field */
   44077             : #ifdef SWIGRUNTIME_DEBUG
   44078             :       printf("SWIG_InitializeModule: found type %s\n", type->name);
   44079             : #endif
   44080           0 :       if (swig_module.type_initial[i]->clientdata) {
   44081           0 :         type->clientdata = swig_module.type_initial[i]->clientdata;
   44082             : #ifdef SWIGRUNTIME_DEBUG
   44083             :         printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
   44084             : #endif
   44085             :       }
   44086             :     } else {
   44087           1 :       type = swig_module.type_initial[i];
   44088             :     }
   44089             :     
   44090             :     /* Insert casting types */
   44091           1 :     cast = swig_module.cast_initial[i];
   44092           1 :     while (cast->type) {
   44093             :       /* Don't need to add information already in the list */
   44094             :       ret = 0;
   44095             : #ifdef SWIGRUNTIME_DEBUG
   44096             :       printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
   44097             : #endif
   44098           1 :       if (swig_module.next != &swig_module) {
   44099           0 :         ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
   44100             : #ifdef SWIGRUNTIME_DEBUG
   44101             :         if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
   44102             : #endif
   44103             :       }
   44104           1 :       if (ret) {
   44105           0 :         if (type == swig_module.type_initial[i]) {
   44106             : #ifdef SWIGRUNTIME_DEBUG
   44107             :           printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
   44108             : #endif
   44109           0 :           cast->type = ret;
   44110             :           ret = 0;
   44111             :         } else {
   44112             :           /* Check for casting already in the list */
   44113           0 :           swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
   44114             : #ifdef SWIGRUNTIME_DEBUG
   44115             :           if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
   44116             : #endif
   44117           0 :           if (!ocast) ret = 0;
   44118             :         }
   44119             :       }
   44120             :       
   44121           1 :       if (!ret) {
   44122             : #ifdef SWIGRUNTIME_DEBUG
   44123             :         printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
   44124             : #endif
   44125           1 :         if (type->cast) {
   44126           1 :           type->cast->prev = cast;
   44127           1 :           cast->next = type->cast;
   44128             :         }
   44129           1 :         type->cast = cast;
   44130             :       }
   44131           1 :       cast++;
   44132             :     }
   44133             :     /* Set entry in modules->types array equal to the type */
   44134           1 :     swig_module.types[i] = type;
   44135             :   }
   44136           1 :   swig_module.types[i] = 0;
   44137             :   
   44138             : #ifdef SWIGRUNTIME_DEBUG
   44139             :   printf("**** SWIG_InitializeModule: Cast List ******\n");
   44140             :   for (i = 0; i < swig_module.size; ++i) {
   44141             :     int j = 0;
   44142             :     swig_cast_info *cast = swig_module.cast_initial[i];
   44143             :     printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
   44144             :     while (cast->type) {
   44145             :       printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
   44146             :       cast++;
   44147             :       ++j;
   44148             :     }
   44149             :     printf("---- Total casts: %d\n",j);
   44150             :   }
   44151             :   printf("**** SWIG_InitializeModule: Cast List ******\n");
   44152             : #endif
   44153             : }
   44154             : 
   44155             : /* This function will propagate the clientdata field of type to
   44156             : * any new swig_type_info structures that have been added into the list
   44157             : * of equivalent types.  It is like calling
   44158             : * SWIG_TypeClientData(type, clientdata) a second time.
   44159             : */
   44160             : SWIGRUNTIME void
   44161             : SWIG_PropagateClientData(void) {
   44162             :   size_t i;
   44163             :   swig_cast_info *equiv;
   44164             :   static int init_run = 0;
   44165             :   
   44166             :   if (init_run) return;
   44167             :   init_run = 1;
   44168             :   
   44169             :   for (i = 0; i < swig_module.size; i++) {
   44170             :     if (swig_module.types[i]->clientdata) {
   44171             :       equiv = swig_module.types[i]->cast;
   44172             :       while (equiv) {
   44173             :         if (!equiv->converter) {
   44174             :           if (equiv->type && !equiv->type->clientdata)
   44175             :           SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
   44176             :         }
   44177             :         equiv = equiv->next;
   44178             :       }
   44179             :     }
   44180             :   }
   44181             : }
   44182             : 
   44183             : #ifdef __cplusplus
   44184             : #if 0
   44185             : {
   44186             :   /* c-mode */
   44187             : #endif
   44188             : }
   44189             : #endif
   44190             : 
   44191             : 
   44192             : 
   44193             : #if defined(__cplusplus) && ! defined(XSPROTO)
   44194             : extern "C"
   44195             : #endif
   44196             : 
   44197           1 : XS(SWIG_init) {
   44198           1 :   dXSARGS;
   44199             :   int i;
   44200             :   (void)items;
   44201             :   
   44202           1 :   SWIG_InitializeModule(0);
   44203             :   
   44204             :   /* Install commands */
   44205           1 :   for (i = 0; swig_commands[i].name; i++) {
   44206             :     /* Casts only needed for Perl < 5.10. */
   44207             : #ifdef __cplusplus
   44208             :     newXS(const_cast<char*>(swig_commands[i].name), swig_commands[i].wrapper, const_cast<char*>(__FILE__));
   44209             : #else
   44210           1 :     newXS((char*)swig_commands[i].name, swig_commands[i].wrapper, (char*)__FILE__);
   44211             : #endif
   44212             :   }
   44213             :   
   44214             :   /* Install variables */
   44215           0 :   for (i = 0; swig_variables[i].name; i++) {
   44216             :     SV *sv;
   44217           0 :     sv = get_sv(swig_variables[i].name, TRUE | 0x2 | GV_ADDMULTI);
   44218           0 :     if (swig_variables[i].type) {
   44219           0 :       SWIG_MakePtr(sv,(void *)1, *swig_variables[i].type,0);
   44220             :     } else {
   44221           0 :       sv_setiv(sv,(IV) 0);
   44222             :     }
   44223           0 :     swig_create_magic(sv, swig_variables[i].name, swig_variables[i].set, swig_variables[i].get); 
   44224             :   }
   44225             :   
   44226             :   /* Install constant */
   44227           0 :   for (i = 0; swig_constants[i].type; i++) {
   44228             :     SV *sv;
   44229           0 :     sv = get_sv(swig_constants[i].name, TRUE | 0x2 | GV_ADDMULTI);
   44230           0 :     switch(swig_constants[i].type) {
   44231             :     case SWIG_INT:
   44232           0 :       sv_setiv(sv, (IV) swig_constants[i].lvalue);
   44233           0 :       break;
   44234             :     case SWIG_FLOAT:
   44235           0 :       sv_setnv(sv, (double) swig_constants[i].dvalue);
   44236           0 :       break;
   44237             :     case SWIG_STRING:
   44238           0 :       sv_setpv(sv, (const char *) swig_constants[i].pvalue);
   44239           0 :       break;
   44240             :     case SWIG_POINTER:
   44241           0 :       SWIG_MakePtr(sv, swig_constants[i].pvalue, *(swig_constants[i].ptype),0);
   44242           0 :       break;
   44243             :     case SWIG_BINARY:
   44244           0 :       SWIG_MakePackedObj(sv, swig_constants[i].pvalue, swig_constants[i].lvalue, *(swig_constants[i].ptype));
   44245           0 :       break;
   44246             :     default:
   44247             :       break;
   44248             :     }
   44249           0 :     SvREADONLY_on(sv);
   44250             :   }
   44251             :   
   44252           1 :   SWIG_TypeClientData(SWIGTYPE_p_intarray, (void*) "mapscript::intarray");
   44253             :   
   44254           1 :   if(msSetup() != MS_SUCCESS) {
   44255           0 :     msSetError(MS_MISCERR, "Error initializing MapServer/Mapscript.", "msSetup()");
   44256             :   }
   44257             :   
   44258             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44259           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TRUE", TRUE | 0x2 | GV_ADDMULTI);
   44260           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(1)));
   44261           1 :     SvREADONLY_on(sv);
   44262             :   } while(0) /*@SWIG@*/;
   44263             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44264           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_FALSE", TRUE | 0x2 | GV_ADDMULTI);
   44265           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(0)));
   44266           1 :     SvREADONLY_on(sv);
   44267             :   } while(0) /*@SWIG@*/;
   44268             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44269           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_UNKNOWN", TRUE | 0x2 | GV_ADDMULTI);
   44270           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(-1)));
   44271           1 :     SvREADONLY_on(sv);
   44272             :   } while(0) /*@SWIG@*/;
   44273             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44274           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_ON", TRUE | 0x2 | GV_ADDMULTI);
   44275           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(1)));
   44276           1 :     SvREADONLY_on(sv);
   44277             :   } while(0) /*@SWIG@*/;
   44278             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44279           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_OFF", TRUE | 0x2 | GV_ADDMULTI);
   44280           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(0)));
   44281           1 :     SvREADONLY_on(sv);
   44282             :   } while(0) /*@SWIG@*/;
   44283             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44284           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_DEFAULT", TRUE | 0x2 | GV_ADDMULTI);
   44285           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(2)));
   44286           1 :     SvREADONLY_on(sv);
   44287             :   } while(0) /*@SWIG@*/;
   44288             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44289           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_EMBED", TRUE | 0x2 | GV_ADDMULTI);
   44290           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(3)));
   44291           1 :     SvREADONLY_on(sv);
   44292             :   } while(0) /*@SWIG@*/;
   44293             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44294           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_DELETE", TRUE | 0x2 | GV_ADDMULTI);
   44295           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(4)));
   44296           1 :     SvREADONLY_on(sv);
   44297             :   } while(0) /*@SWIG@*/;
   44298             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44299           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_YES", TRUE | 0x2 | GV_ADDMULTI);
   44300           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(1)));
   44301           1 :     SvREADONLY_on(sv);
   44302             :   } while(0) /*@SWIG@*/;
   44303             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44304           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_NO", TRUE | 0x2 | GV_ADDMULTI);
   44305           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(0)));
   44306           1 :     SvREADONLY_on(sv);
   44307             :   } while(0) /*@SWIG@*/;
   44308             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44309           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_LAYER_ALLOCSIZE", TRUE | 0x2 | GV_ADDMULTI);
   44310           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(64)));
   44311           1 :     SvREADONLY_on(sv);
   44312             :   } while(0) /*@SWIG@*/;
   44313             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44314           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_CLASS_ALLOCSIZE", TRUE | 0x2 | GV_ADDMULTI);
   44315           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(8)));
   44316           1 :     SvREADONLY_on(sv);
   44317             :   } while(0) /*@SWIG@*/;
   44318             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44319           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_ALLOCSIZE", TRUE | 0x2 | GV_ADDMULTI);
   44320           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(4)));
   44321           1 :     SvREADONLY_on(sv);
   44322             :   } while(0) /*@SWIG@*/;
   44323             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44324           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_ALLOCSIZE", TRUE | 0x2 | GV_ADDMULTI);
   44325           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(2)));
   44326           1 :     SvREADONLY_on(sv);
   44327             :   } while(0) /*@SWIG@*/;
   44328             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44329           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_MAX_LABEL_PRIORITY", TRUE | 0x2 | GV_ADDMULTI);
   44330           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(10)));
   44331           1 :     SvREADONLY_on(sv);
   44332             :   } while(0) /*@SWIG@*/;
   44333             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44334           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_MAX_LABEL_FONTS", TRUE | 0x2 | GV_ADDMULTI);
   44335           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(5)));
   44336           1 :     SvREADONLY_on(sv);
   44337             :   } while(0) /*@SWIG@*/;
   44338             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44339           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_DEFAULT_LABEL_PRIORITY", TRUE | 0x2 | GV_ADDMULTI);
   44340           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(1)));
   44341           1 :     SvREADONLY_on(sv);
   44342             :   } while(0) /*@SWIG@*/;
   44343             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44344           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_FORCE_GROUP", TRUE | 0x2 | GV_ADDMULTI);
   44345           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(2)));
   44346           1 :     SvREADONLY_on(sv);
   44347             :   } while(0) /*@SWIG@*/;
   44348             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44349           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_SWF", TRUE | 0x2 | GV_ADDMULTI);
   44350           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(2)));
   44351           1 :     SvREADONLY_on(sv);
   44352             :   } while(0) /*@SWIG@*/;
   44353             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44354           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_RAWDATA", TRUE | 0x2 | GV_ADDMULTI);
   44355           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(3)));
   44356           1 :     SvREADONLY_on(sv);
   44357             :   } while(0) /*@SWIG@*/;
   44358             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44359           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_IMAGEMAP", TRUE | 0x2 | GV_ADDMULTI);
   44360           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(5)));
   44361           1 :     SvREADONLY_on(sv);
   44362             :   } while(0) /*@SWIG@*/;
   44363             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44364           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_TEMPLATE", TRUE | 0x2 | GV_ADDMULTI);
   44365           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(8)));
   44366           1 :     SvREADONLY_on(sv);
   44367             :   } while(0) /*@SWIG@*/;
   44368             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44369           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_OGR", TRUE | 0x2 | GV_ADDMULTI);
   44370           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(16)));
   44371           1 :     SvREADONLY_on(sv);
   44372             :   } while(0) /*@SWIG@*/;
   44373             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44374           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_PLUGIN", TRUE | 0x2 | GV_ADDMULTI);
   44375           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(100)));
   44376           1 :     SvREADONLY_on(sv);
   44377             :   } while(0) /*@SWIG@*/;
   44378             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44379           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_CAIRO_RASTER", TRUE | 0x2 | GV_ADDMULTI);
   44380           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(101)));
   44381           1 :     SvREADONLY_on(sv);
   44382             :   } while(0) /*@SWIG@*/;
   44383             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44384           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_CAIRO_PDF", TRUE | 0x2 | GV_ADDMULTI);
   44385           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(102)));
   44386           1 :     SvREADONLY_on(sv);
   44387             :   } while(0) /*@SWIG@*/;
   44388             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44389           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_CAIRO_SVG", TRUE | 0x2 | GV_ADDMULTI);
   44390           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(103)));
   44391           1 :     SvREADONLY_on(sv);
   44392             :   } while(0) /*@SWIG@*/;
   44393             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44394           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_OGL", TRUE | 0x2 | GV_ADDMULTI);
   44395           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(104)));
   44396           1 :     SvREADONLY_on(sv);
   44397             :   } while(0) /*@SWIG@*/;
   44398             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44399           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_AGG", TRUE | 0x2 | GV_ADDMULTI);
   44400           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(105)));
   44401           1 :     SvREADONLY_on(sv);
   44402             :   } while(0) /*@SWIG@*/;
   44403             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44404           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_KML", TRUE | 0x2 | GV_ADDMULTI);
   44405           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(106)));
   44406           1 :     SvREADONLY_on(sv);
   44407             :   } while(0) /*@SWIG@*/;
   44408             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44409           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_UTFGRID", TRUE | 0x2 | GV_ADDMULTI);
   44410           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(107)));
   44411           1 :     SvREADONLY_on(sv);
   44412             :   } while(0) /*@SWIG@*/;
   44413             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44414           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_MVT", TRUE | 0x2 | GV_ADDMULTI);
   44415           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(108)));
   44416           1 :     SvREADONLY_on(sv);
   44417             :   } while(0) /*@SWIG@*/;
   44418             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44419           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_FILE_MAP", TRUE | 0x2 | GV_ADDMULTI);
   44420           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_FILE_MAP)));
   44421           1 :     SvREADONLY_on(sv);
   44422             :   } while(0) /*@SWIG@*/;
   44423             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44424           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_FILE_SYMBOL", TRUE | 0x2 | GV_ADDMULTI);
   44425           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_FILE_SYMBOL)));
   44426           1 :     SvREADONLY_on(sv);
   44427             :   } while(0) /*@SWIG@*/;
   44428             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44429           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_INCHES", TRUE | 0x2 | GV_ADDMULTI);
   44430           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_INCHES)));
   44431           1 :     SvREADONLY_on(sv);
   44432             :   } while(0) /*@SWIG@*/;
   44433             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44434           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_FEET", TRUE | 0x2 | GV_ADDMULTI);
   44435           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_FEET)));
   44436           1 :     SvREADONLY_on(sv);
   44437             :   } while(0) /*@SWIG@*/;
   44438             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44439           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_MILES", TRUE | 0x2 | GV_ADDMULTI);
   44440           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_MILES)));
   44441           1 :     SvREADONLY_on(sv);
   44442             :   } while(0) /*@SWIG@*/;
   44443             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44444           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_METERS", TRUE | 0x2 | GV_ADDMULTI);
   44445           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_METERS)));
   44446           1 :     SvREADONLY_on(sv);
   44447             :   } while(0) /*@SWIG@*/;
   44448             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44449           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_KILOMETERS", TRUE | 0x2 | GV_ADDMULTI);
   44450           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_KILOMETERS)));
   44451           1 :     SvREADONLY_on(sv);
   44452             :   } while(0) /*@SWIG@*/;
   44453             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44454           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_DD", TRUE | 0x2 | GV_ADDMULTI);
   44455           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_DD)));
   44456           1 :     SvREADONLY_on(sv);
   44457             :   } while(0) /*@SWIG@*/;
   44458             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44459           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_PIXELS", TRUE | 0x2 | GV_ADDMULTI);
   44460           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_PIXELS)));
   44461           1 :     SvREADONLY_on(sv);
   44462             :   } while(0) /*@SWIG@*/;
   44463             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44464           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_PERCENTAGES", TRUE | 0x2 | GV_ADDMULTI);
   44465           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_PERCENTAGES)));
   44466           1 :     SvREADONLY_on(sv);
   44467             :   } while(0) /*@SWIG@*/;
   44468             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44469           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_NAUTICALMILES", TRUE | 0x2 | GV_ADDMULTI);
   44470           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_NAUTICALMILES)));
   44471           1 :     SvREADONLY_on(sv);
   44472             :   } while(0) /*@SWIG@*/;
   44473             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44474           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_SHAPE_POINT", TRUE | 0x2 | GV_ADDMULTI);
   44475           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_SHAPE_POINT)));
   44476           1 :     SvREADONLY_on(sv);
   44477             :   } while(0) /*@SWIG@*/;
   44478             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44479           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_SHAPE_LINE", TRUE | 0x2 | GV_ADDMULTI);
   44480           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_SHAPE_LINE)));
   44481           1 :     SvREADONLY_on(sv);
   44482             :   } while(0) /*@SWIG@*/;
   44483             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44484           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_SHAPE_POLYGON", TRUE | 0x2 | GV_ADDMULTI);
   44485           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_SHAPE_POLYGON)));
   44486           1 :     SvREADONLY_on(sv);
   44487             :   } while(0) /*@SWIG@*/;
   44488             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44489           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_SHAPE_NULL", TRUE | 0x2 | GV_ADDMULTI);
   44490           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_SHAPE_NULL)));
   44491           1 :     SvREADONLY_on(sv);
   44492             :   } while(0) /*@SWIG@*/;
   44493             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44494           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_LAYER_POINT", TRUE | 0x2 | GV_ADDMULTI);
   44495           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_LAYER_POINT)));
   44496           1 :     SvREADONLY_on(sv);
   44497             :   } while(0) /*@SWIG@*/;
   44498             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44499           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_LAYER_LINE", TRUE | 0x2 | GV_ADDMULTI);
   44500           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_LAYER_LINE)));
   44501           1 :     SvREADONLY_on(sv);
   44502             :   } while(0) /*@SWIG@*/;
   44503             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44504           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_LAYER_POLYGON", TRUE | 0x2 | GV_ADDMULTI);
   44505           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_LAYER_POLYGON)));
   44506           1 :     SvREADONLY_on(sv);
   44507             :   } while(0) /*@SWIG@*/;
   44508             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44509           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_LAYER_RASTER", TRUE | 0x2 | GV_ADDMULTI);
   44510           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_LAYER_RASTER)));
   44511           1 :     SvREADONLY_on(sv);
   44512             :   } while(0) /*@SWIG@*/;
   44513             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44514           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_LAYER_ANNOTATION", TRUE | 0x2 | GV_ADDMULTI);
   44515           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_LAYER_ANNOTATION)));
   44516           1 :     SvREADONLY_on(sv);
   44517             :   } while(0) /*@SWIG@*/;
   44518             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44519           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_LAYER_QUERY", TRUE | 0x2 | GV_ADDMULTI);
   44520           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_LAYER_QUERY)));
   44521           1 :     SvREADONLY_on(sv);
   44522             :   } while(0) /*@SWIG@*/;
   44523             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44524           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_LAYER_CIRCLE", TRUE | 0x2 | GV_ADDMULTI);
   44525           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_LAYER_CIRCLE)));
   44526           1 :     SvREADONLY_on(sv);
   44527             :   } while(0) /*@SWIG@*/;
   44528             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44529           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_LAYER_TILEINDEX", TRUE | 0x2 | GV_ADDMULTI);
   44530           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_LAYER_TILEINDEX)));
   44531           1 :     SvREADONLY_on(sv);
   44532             :   } while(0) /*@SWIG@*/;
   44533             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44534           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_LAYER_CHART", TRUE | 0x2 | GV_ADDMULTI);
   44535           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_LAYER_CHART)));
   44536           1 :     SvREADONLY_on(sv);
   44537             :   } while(0) /*@SWIG@*/;
   44538             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44539           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TRUETYPE", TRUE | 0x2 | GV_ADDMULTI);
   44540           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TRUETYPE)));
   44541           1 :     SvREADONLY_on(sv);
   44542             :   } while(0) /*@SWIG@*/;
   44543             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44544           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_BITMAP", TRUE | 0x2 | GV_ADDMULTI);
   44545           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_BITMAP)));
   44546           1 :     SvREADONLY_on(sv);
   44547             :   } while(0) /*@SWIG@*/;
   44548             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44549           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_POSITIONS_LENGTH", TRUE | 0x2 | GV_ADDMULTI);
   44550           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(14)));
   44551           1 :     SvREADONLY_on(sv);
   44552             :   } while(0) /*@SWIG@*/;
   44553             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44554           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_UL", TRUE | 0x2 | GV_ADDMULTI);
   44555           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_UL)));
   44556           1 :     SvREADONLY_on(sv);
   44557             :   } while(0) /*@SWIG@*/;
   44558             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44559           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_LR", TRUE | 0x2 | GV_ADDMULTI);
   44560           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_LR)));
   44561           1 :     SvREADONLY_on(sv);
   44562             :   } while(0) /*@SWIG@*/;
   44563             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44564           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_UR", TRUE | 0x2 | GV_ADDMULTI);
   44565           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_UR)));
   44566           1 :     SvREADONLY_on(sv);
   44567             :   } while(0) /*@SWIG@*/;
   44568             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44569           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_LL", TRUE | 0x2 | GV_ADDMULTI);
   44570           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_LL)));
   44571           1 :     SvREADONLY_on(sv);
   44572             :   } while(0) /*@SWIG@*/;
   44573             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44574           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_CR", TRUE | 0x2 | GV_ADDMULTI);
   44575           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_CR)));
   44576           1 :     SvREADONLY_on(sv);
   44577             :   } while(0) /*@SWIG@*/;
   44578             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44579           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_CL", TRUE | 0x2 | GV_ADDMULTI);
   44580           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_CL)));
   44581           1 :     SvREADONLY_on(sv);
   44582             :   } while(0) /*@SWIG@*/;
   44583             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44584           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_UC", TRUE | 0x2 | GV_ADDMULTI);
   44585           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_UC)));
   44586           1 :     SvREADONLY_on(sv);
   44587             :   } while(0) /*@SWIG@*/;
   44588             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44589           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_LC", TRUE | 0x2 | GV_ADDMULTI);
   44590           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_LC)));
   44591           1 :     SvREADONLY_on(sv);
   44592             :   } while(0) /*@SWIG@*/;
   44593             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44594           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_CC", TRUE | 0x2 | GV_ADDMULTI);
   44595           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_CC)));
   44596           1 :     SvREADONLY_on(sv);
   44597             :   } while(0) /*@SWIG@*/;
   44598             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44599           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_AUTO", TRUE | 0x2 | GV_ADDMULTI);
   44600           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_AUTO)));
   44601           1 :     SvREADONLY_on(sv);
   44602             :   } while(0) /*@SWIG@*/;
   44603             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44604           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_XY", TRUE | 0x2 | GV_ADDMULTI);
   44605           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_XY)));
   44606           1 :     SvREADONLY_on(sv);
   44607             :   } while(0) /*@SWIG@*/;
   44608             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44609           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_NONE", TRUE | 0x2 | GV_ADDMULTI);
   44610           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_NONE)));
   44611           1 :     SvREADONLY_on(sv);
   44612             :   } while(0) /*@SWIG@*/;
   44613             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44614           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_AUTO2", TRUE | 0x2 | GV_ADDMULTI);
   44615           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_AUTO2)));
   44616           1 :     SvREADONLY_on(sv);
   44617             :   } while(0) /*@SWIG@*/;
   44618             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44619           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_FOLLOW", TRUE | 0x2 | GV_ADDMULTI);
   44620           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_FOLLOW)));
   44621           1 :     SvREADONLY_on(sv);
   44622             :   } while(0) /*@SWIG@*/;
   44623             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44624           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TINY", TRUE | 0x2 | GV_ADDMULTI);
   44625           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(5)));
   44626           1 :     SvREADONLY_on(sv);
   44627             :   } while(0) /*@SWIG@*/;
   44628             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44629           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_SMALL", TRUE | 0x2 | GV_ADDMULTI);
   44630           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(7)));
   44631           1 :     SvREADONLY_on(sv);
   44632             :   } while(0) /*@SWIG@*/;
   44633             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44634           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_MEDIUM", TRUE | 0x2 | GV_ADDMULTI);
   44635           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(10)));
   44636           1 :     SvREADONLY_on(sv);
   44637             :   } while(0) /*@SWIG@*/;
   44638             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44639           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_LARGE", TRUE | 0x2 | GV_ADDMULTI);
   44640           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(13)));
   44641           1 :     SvREADONLY_on(sv);
   44642             :   } while(0) /*@SWIG@*/;
   44643             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44644           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_GIANT", TRUE | 0x2 | GV_ADDMULTI);
   44645           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(16)));
   44646           1 :     SvREADONLY_on(sv);
   44647             :   } while(0) /*@SWIG@*/;
   44648             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44649           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_NORMAL", TRUE | 0x2 | GV_ADDMULTI);
   44650           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_NORMAL)));
   44651           1 :     SvREADONLY_on(sv);
   44652             :   } while(0) /*@SWIG@*/;
   44653             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44654           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_HILITE", TRUE | 0x2 | GV_ADDMULTI);
   44655           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_HILITE)));
   44656           1 :     SvREADONLY_on(sv);
   44657             :   } while(0) /*@SWIG@*/;
   44658             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44659           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_SELECTED", TRUE | 0x2 | GV_ADDMULTI);
   44660           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_SELECTED)));
   44661           1 :     SvREADONLY_on(sv);
   44662             :   } while(0) /*@SWIG@*/;
   44663             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44664           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_INLINE", TRUE | 0x2 | GV_ADDMULTI);
   44665           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_INLINE)));
   44666           1 :     SvREADONLY_on(sv);
   44667             :   } while(0) /*@SWIG@*/;
   44668             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44669           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_SHAPEFILE", TRUE | 0x2 | GV_ADDMULTI);
   44670           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_SHAPEFILE)));
   44671           1 :     SvREADONLY_on(sv);
   44672             :   } while(0) /*@SWIG@*/;
   44673             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44674           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TILED_SHAPEFILE", TRUE | 0x2 | GV_ADDMULTI);
   44675           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TILED_SHAPEFILE)));
   44676           1 :     SvREADONLY_on(sv);
   44677             :   } while(0) /*@SWIG@*/;
   44678             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44679           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_UNUSED_2", TRUE | 0x2 | GV_ADDMULTI);
   44680           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_UNUSED_2)));
   44681           1 :     SvREADONLY_on(sv);
   44682             :   } while(0) /*@SWIG@*/;
   44683             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44684           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_OGR", TRUE | 0x2 | GV_ADDMULTI);
   44685           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_OGR)));
   44686           1 :     SvREADONLY_on(sv);
   44687             :   } while(0) /*@SWIG@*/;
   44688             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44689           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_UNUSED_1", TRUE | 0x2 | GV_ADDMULTI);
   44690           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_UNUSED_1)));
   44691           1 :     SvREADONLY_on(sv);
   44692             :   } while(0) /*@SWIG@*/;
   44693             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44694           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_POSTGIS", TRUE | 0x2 | GV_ADDMULTI);
   44695           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_POSTGIS)));
   44696           1 :     SvREADONLY_on(sv);
   44697             :   } while(0) /*@SWIG@*/;
   44698             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44699           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_WMS", TRUE | 0x2 | GV_ADDMULTI);
   44700           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_WMS)));
   44701           1 :     SvREADONLY_on(sv);
   44702             :   } while(0) /*@SWIG@*/;
   44703             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44704           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_ORACLESPATIAL", TRUE | 0x2 | GV_ADDMULTI);
   44705           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_ORACLESPATIAL)));
   44706           1 :     SvREADONLY_on(sv);
   44707             :   } while(0) /*@SWIG@*/;
   44708             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44709           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_WFS", TRUE | 0x2 | GV_ADDMULTI);
   44710           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_WFS)));
   44711           1 :     SvREADONLY_on(sv);
   44712             :   } while(0) /*@SWIG@*/;
   44713             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44714           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_GRATICULE", TRUE | 0x2 | GV_ADDMULTI);
   44715           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_GRATICULE)));
   44716           1 :     SvREADONLY_on(sv);
   44717             :   } while(0) /*@SWIG@*/;
   44718             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44719           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_MYSQL", TRUE | 0x2 | GV_ADDMULTI);
   44720           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_MYSQL)));
   44721           1 :     SvREADONLY_on(sv);
   44722             :   } while(0) /*@SWIG@*/;
   44723             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44724           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_RASTER", TRUE | 0x2 | GV_ADDMULTI);
   44725           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_RASTER)));
   44726           1 :     SvREADONLY_on(sv);
   44727             :   } while(0) /*@SWIG@*/;
   44728             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44729           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_PLUGIN", TRUE | 0x2 | GV_ADDMULTI);
   44730           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_PLUGIN)));
   44731           1 :     SvREADONLY_on(sv);
   44732             :   } while(0) /*@SWIG@*/;
   44733             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44734           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_UNION", TRUE | 0x2 | GV_ADDMULTI);
   44735           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_UNION)));
   44736           1 :     SvREADONLY_on(sv);
   44737             :   } while(0) /*@SWIG@*/;
   44738             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44739           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_UVRASTER", TRUE | 0x2 | GV_ADDMULTI);
   44740           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_UVRASTER)));
   44741           1 :     SvREADONLY_on(sv);
   44742             :   } while(0) /*@SWIG@*/;
   44743             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44744           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_CONTOUR", TRUE | 0x2 | GV_ADDMULTI);
   44745           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_CONTOUR)));
   44746           1 :     SvREADONLY_on(sv);
   44747             :   } while(0) /*@SWIG@*/;
   44748             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44749           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_KERNELDENSITY", TRUE | 0x2 | GV_ADDMULTI);
   44750           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_KERNELDENSITY)));
   44751           1 :     SvREADONLY_on(sv);
   44752             :   } while(0) /*@SWIG@*/;
   44753             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44754           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_DB_XBASE", TRUE | 0x2 | GV_ADDMULTI);
   44755           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_DB_XBASE)));
   44756           1 :     SvREADONLY_on(sv);
   44757             :   } while(0) /*@SWIG@*/;
   44758             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44759           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_DB_CSV", TRUE | 0x2 | GV_ADDMULTI);
   44760           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_DB_CSV)));
   44761           1 :     SvREADONLY_on(sv);
   44762             :   } while(0) /*@SWIG@*/;
   44763             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44764           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_DB_MYSQL", TRUE | 0x2 | GV_ADDMULTI);
   44765           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_DB_MYSQL)));
   44766           1 :     SvREADONLY_on(sv);
   44767             :   } while(0) /*@SWIG@*/;
   44768             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44769           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_DB_ORACLE", TRUE | 0x2 | GV_ADDMULTI);
   44770           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_DB_ORACLE)));
   44771           1 :     SvREADONLY_on(sv);
   44772             :   } while(0) /*@SWIG@*/;
   44773             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44774           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_DB_POSTGRES", TRUE | 0x2 | GV_ADDMULTI);
   44775           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_DB_POSTGRES)));
   44776           1 :     SvREADONLY_on(sv);
   44777             :   } while(0) /*@SWIG@*/;
   44778             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44779           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_JOIN_ONE_TO_ONE", TRUE | 0x2 | GV_ADDMULTI);
   44780           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_JOIN_ONE_TO_ONE)));
   44781           1 :     SvREADONLY_on(sv);
   44782             :   } while(0) /*@SWIG@*/;
   44783             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44784           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_JOIN_ONE_TO_MANY", TRUE | 0x2 | GV_ADDMULTI);
   44785           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_JOIN_ONE_TO_MANY)));
   44786           1 :     SvREADONLY_on(sv);
   44787             :   } while(0) /*@SWIG@*/;
   44788             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44789           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_SINGLE", TRUE | 0x2 | GV_ADDMULTI);
   44790           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(0)));
   44791           1 :     SvREADONLY_on(sv);
   44792             :   } while(0) /*@SWIG@*/;
   44793             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44794           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_MULTIPLE", TRUE | 0x2 | GV_ADDMULTI);
   44795           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(1)));
   44796           1 :     SvREADONLY_on(sv);
   44797             :   } while(0) /*@SWIG@*/;
   44798             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44799           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_QUERY_SINGLE", TRUE | 0x2 | GV_ADDMULTI);
   44800           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_QUERY_SINGLE)));
   44801           1 :     SvREADONLY_on(sv);
   44802             :   } while(0) /*@SWIG@*/;
   44803             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44804           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_QUERY_MULTIPLE", TRUE | 0x2 | GV_ADDMULTI);
   44805           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_QUERY_MULTIPLE)));
   44806           1 :     SvREADONLY_on(sv);
   44807             :   } while(0) /*@SWIG@*/;
   44808             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44809           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_QUERY_IS_NULL", TRUE | 0x2 | GV_ADDMULTI);
   44810           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_QUERY_IS_NULL)));
   44811           1 :     SvREADONLY_on(sv);
   44812             :   } while(0) /*@SWIG@*/;
   44813             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44814           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_QUERY_BY_POINT", TRUE | 0x2 | GV_ADDMULTI);
   44815           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_QUERY_BY_POINT)));
   44816           1 :     SvREADONLY_on(sv);
   44817             :   } while(0) /*@SWIG@*/;
   44818             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44819           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_QUERY_BY_RECT", TRUE | 0x2 | GV_ADDMULTI);
   44820           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_QUERY_BY_RECT)));
   44821           1 :     SvREADONLY_on(sv);
   44822             :   } while(0) /*@SWIG@*/;
   44823             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44824           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_QUERY_BY_SHAPE", TRUE | 0x2 | GV_ADDMULTI);
   44825           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_QUERY_BY_SHAPE)));
   44826           1 :     SvREADONLY_on(sv);
   44827             :   } while(0) /*@SWIG@*/;
   44828             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44829           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_QUERY_BY_ATTRIBUTE", TRUE | 0x2 | GV_ADDMULTI);
   44830           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_QUERY_BY_ATTRIBUTE)));
   44831           1 :     SvREADONLY_on(sv);
   44832             :   } while(0) /*@SWIG@*/;
   44833             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44834           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_QUERY_BY_INDEX", TRUE | 0x2 | GV_ADDMULTI);
   44835           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_QUERY_BY_INDEX)));
   44836           1 :     SvREADONLY_on(sv);
   44837             :   } while(0) /*@SWIG@*/;
   44838             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44839           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_QUERY_BY_FILTER", TRUE | 0x2 | GV_ADDMULTI);
   44840           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_QUERY_BY_FILTER)));
   44841           1 :     SvREADONLY_on(sv);
   44842             :   } while(0) /*@SWIG@*/;
   44843             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44844           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_ALIGN_DEFAULT", TRUE | 0x2 | GV_ADDMULTI);
   44845           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_ALIGN_DEFAULT)));
   44846           1 :     SvREADONLY_on(sv);
   44847             :   } while(0) /*@SWIG@*/;
   44848             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44849           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_ALIGN_LEFT", TRUE | 0x2 | GV_ADDMULTI);
   44850           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_ALIGN_LEFT)));
   44851           1 :     SvREADONLY_on(sv);
   44852             :   } while(0) /*@SWIG@*/;
   44853             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44854           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_ALIGN_CENTER", TRUE | 0x2 | GV_ADDMULTI);
   44855           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_ALIGN_CENTER)));
   44856           1 :     SvREADONLY_on(sv);
   44857             :   } while(0) /*@SWIG@*/;
   44858             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44859           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_ALIGN_RIGHT", TRUE | 0x2 | GV_ADDMULTI);
   44860           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_ALIGN_RIGHT)));
   44861           1 :     SvREADONLY_on(sv);
   44862             :   } while(0) /*@SWIG@*/;
   44863             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44864           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_CJC_NONE", TRUE | 0x2 | GV_ADDMULTI);
   44865           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_CJC_NONE)));
   44866           1 :     SvREADONLY_on(sv);
   44867             :   } while(0) /*@SWIG@*/;
   44868             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44869           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_CJC_BEVEL", TRUE | 0x2 | GV_ADDMULTI);
   44870           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_CJC_BEVEL)));
   44871           1 :     SvREADONLY_on(sv);
   44872             :   } while(0) /*@SWIG@*/;
   44873             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44874           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_CJC_BUTT", TRUE | 0x2 | GV_ADDMULTI);
   44875           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_CJC_BUTT)));
   44876           1 :     SvREADONLY_on(sv);
   44877             :   } while(0) /*@SWIG@*/;
   44878             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44879           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_CJC_MITER", TRUE | 0x2 | GV_ADDMULTI);
   44880           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_CJC_MITER)));
   44881           1 :     SvREADONLY_on(sv);
   44882             :   } while(0) /*@SWIG@*/;
   44883             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44884           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_CJC_ROUND", TRUE | 0x2 | GV_ADDMULTI);
   44885           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_CJC_ROUND)));
   44886           1 :     SvREADONLY_on(sv);
   44887             :   } while(0) /*@SWIG@*/;
   44888             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44889           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_CJC_SQUARE", TRUE | 0x2 | GV_ADDMULTI);
   44890           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_CJC_SQUARE)));
   44891           1 :     SvREADONLY_on(sv);
   44892             :   } while(0) /*@SWIG@*/;
   44893             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44894           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_CJC_TRIANGLE", TRUE | 0x2 | GV_ADDMULTI);
   44895           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_CJC_TRIANGLE)));
   44896           1 :     SvREADONLY_on(sv);
   44897             :   } while(0) /*@SWIG@*/;
   44898             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44899           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_CJC_DEFAULT_JOIN_MAXSIZE", TRUE | 0x2 | GV_ADDMULTI);
   44900           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(3)));
   44901           1 :     SvREADONLY_on(sv);
   44902             :   } while(0) /*@SWIG@*/;
   44903             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44904           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_SUCCESS", TRUE | 0x2 | GV_ADDMULTI);
   44905           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_SUCCESS)));
   44906           1 :     SvREADONLY_on(sv);
   44907             :   } while(0) /*@SWIG@*/;
   44908             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44909           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_FAILURE", TRUE | 0x2 | GV_ADDMULTI);
   44910           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_FAILURE)));
   44911           1 :     SvREADONLY_on(sv);
   44912             :   } while(0) /*@SWIG@*/;
   44913             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44914           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_DONE", TRUE | 0x2 | GV_ADDMULTI);
   44915           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_DONE)));
   44916           1 :     SvREADONLY_on(sv);
   44917             :   } while(0) /*@SWIG@*/;
   44918             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44919           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_IMAGEMODE_PC256", TRUE | 0x2 | GV_ADDMULTI);
   44920           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_IMAGEMODE_PC256)));
   44921           1 :     SvREADONLY_on(sv);
   44922             :   } while(0) /*@SWIG@*/;
   44923             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44924           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_IMAGEMODE_RGB", TRUE | 0x2 | GV_ADDMULTI);
   44925           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_IMAGEMODE_RGB)));
   44926           1 :     SvREADONLY_on(sv);
   44927             :   } while(0) /*@SWIG@*/;
   44928             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44929           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_IMAGEMODE_RGBA", TRUE | 0x2 | GV_ADDMULTI);
   44930           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_IMAGEMODE_RGBA)));
   44931           1 :     SvREADONLY_on(sv);
   44932             :   } while(0) /*@SWIG@*/;
   44933             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44934           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_IMAGEMODE_INT16", TRUE | 0x2 | GV_ADDMULTI);
   44935           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_IMAGEMODE_INT16)));
   44936           1 :     SvREADONLY_on(sv);
   44937             :   } while(0) /*@SWIG@*/;
   44938             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44939           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_IMAGEMODE_FLOAT32", TRUE | 0x2 | GV_ADDMULTI);
   44940           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_IMAGEMODE_FLOAT32)));
   44941           1 :     SvREADONLY_on(sv);
   44942             :   } while(0) /*@SWIG@*/;
   44943             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44944           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_IMAGEMODE_BYTE", TRUE | 0x2 | GV_ADDMULTI);
   44945           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_IMAGEMODE_BYTE)));
   44946           1 :     SvREADONLY_on(sv);
   44947             :   } while(0) /*@SWIG@*/;
   44948             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44949           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_IMAGEMODE_FEATURE", TRUE | 0x2 | GV_ADDMULTI);
   44950           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_IMAGEMODE_FEATURE)));
   44951           1 :     SvREADONLY_on(sv);
   44952             :   } while(0) /*@SWIG@*/;
   44953             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44954           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_IMAGEMODE_NULL", TRUE | 0x2 | GV_ADDMULTI);
   44955           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_IMAGEMODE_NULL)));
   44956           1 :     SvREADONLY_on(sv);
   44957             :   } while(0) /*@SWIG@*/;
   44958             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44959           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_GEOS_EQUALS", TRUE | 0x2 | GV_ADDMULTI);
   44960           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_GEOS_EQUALS)));
   44961           1 :     SvREADONLY_on(sv);
   44962             :   } while(0) /*@SWIG@*/;
   44963             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44964           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_GEOS_DISJOINT", TRUE | 0x2 | GV_ADDMULTI);
   44965           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_GEOS_DISJOINT)));
   44966           1 :     SvREADONLY_on(sv);
   44967             :   } while(0) /*@SWIG@*/;
   44968             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44969           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_GEOS_TOUCHES", TRUE | 0x2 | GV_ADDMULTI);
   44970           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_GEOS_TOUCHES)));
   44971           1 :     SvREADONLY_on(sv);
   44972             :   } while(0) /*@SWIG@*/;
   44973             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44974           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_GEOS_OVERLAPS", TRUE | 0x2 | GV_ADDMULTI);
   44975           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_GEOS_OVERLAPS)));
   44976           1 :     SvREADONLY_on(sv);
   44977             :   } while(0) /*@SWIG@*/;
   44978             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44979           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_GEOS_CROSSES", TRUE | 0x2 | GV_ADDMULTI);
   44980           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_GEOS_CROSSES)));
   44981           1 :     SvREADONLY_on(sv);
   44982             :   } while(0) /*@SWIG@*/;
   44983             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44984           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_GEOS_INTERSECTS", TRUE | 0x2 | GV_ADDMULTI);
   44985           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_GEOS_INTERSECTS)));
   44986           1 :     SvREADONLY_on(sv);
   44987             :   } while(0) /*@SWIG@*/;
   44988             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44989           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_GEOS_WITHIN", TRUE | 0x2 | GV_ADDMULTI);
   44990           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_GEOS_WITHIN)));
   44991           1 :     SvREADONLY_on(sv);
   44992             :   } while(0) /*@SWIG@*/;
   44993             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44994           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_GEOS_CONTAINS", TRUE | 0x2 | GV_ADDMULTI);
   44995           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_GEOS_CONTAINS)));
   44996           1 :     SvREADONLY_on(sv);
   44997             :   } while(0) /*@SWIG@*/;
   44998             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44999           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_GEOS_BEYOND", TRUE | 0x2 | GV_ADDMULTI);
   45000           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_GEOS_BEYOND)));
   45001           1 :     SvREADONLY_on(sv);
   45002             :   } while(0) /*@SWIG@*/;
   45003             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45004           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_GEOS_DWITHIN", TRUE | 0x2 | GV_ADDMULTI);
   45005           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_GEOS_DWITHIN)));
   45006           1 :     SvREADONLY_on(sv);
   45007             :   } while(0) /*@SWIG@*/;
   45008             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45009           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TRANSFORM_NONE", TRUE | 0x2 | GV_ADDMULTI);
   45010           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TRANSFORM_NONE)));
   45011           1 :     SvREADONLY_on(sv);
   45012             :   } while(0) /*@SWIG@*/;
   45013             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45014           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TRANSFORM_ROUND", TRUE | 0x2 | GV_ADDMULTI);
   45015           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TRANSFORM_ROUND)));
   45016           1 :     SvREADONLY_on(sv);
   45017             :   } while(0) /*@SWIG@*/;
   45018             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45019           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TRANSFORM_SNAPTOGRID", TRUE | 0x2 | GV_ADDMULTI);
   45020           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TRANSFORM_SNAPTOGRID)));
   45021           1 :     SvREADONLY_on(sv);
   45022             :   } while(0) /*@SWIG@*/;
   45023             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45024           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TRANSFORM_FULLRESOLUTION", TRUE | 0x2 | GV_ADDMULTI);
   45025           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TRANSFORM_FULLRESOLUTION)));
   45026           1 :     SvREADONLY_on(sv);
   45027             :   } while(0) /*@SWIG@*/;
   45028             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45029           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TRANSFORM_SIMPLIFY", TRUE | 0x2 | GV_ADDMULTI);
   45030           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TRANSFORM_SIMPLIFY)));
   45031           1 :     SvREADONLY_on(sv);
   45032             :   } while(0) /*@SWIG@*/;
   45033             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45034           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_CLEAR", TRUE | 0x2 | GV_ADDMULTI);
   45035           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_CLEAR)));
   45036           1 :     SvREADONLY_on(sv);
   45037             :   } while(0) /*@SWIG@*/;
   45038             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45039           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_SRC", TRUE | 0x2 | GV_ADDMULTI);
   45040           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_SRC)));
   45041           1 :     SvREADONLY_on(sv);
   45042             :   } while(0) /*@SWIG@*/;
   45043             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45044           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_DST", TRUE | 0x2 | GV_ADDMULTI);
   45045           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_DST)));
   45046           1 :     SvREADONLY_on(sv);
   45047             :   } while(0) /*@SWIG@*/;
   45048             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45049           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_SRC_OVER", TRUE | 0x2 | GV_ADDMULTI);
   45050           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_SRC_OVER)));
   45051           1 :     SvREADONLY_on(sv);
   45052             :   } while(0) /*@SWIG@*/;
   45053             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45054           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_DST_OVER", TRUE | 0x2 | GV_ADDMULTI);
   45055           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_DST_OVER)));
   45056           1 :     SvREADONLY_on(sv);
   45057             :   } while(0) /*@SWIG@*/;
   45058             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45059           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_SRC_IN", TRUE | 0x2 | GV_ADDMULTI);
   45060           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_SRC_IN)));
   45061           1 :     SvREADONLY_on(sv);
   45062             :   } while(0) /*@SWIG@*/;
   45063             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45064           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_DST_IN", TRUE | 0x2 | GV_ADDMULTI);
   45065           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_DST_IN)));
   45066           1 :     SvREADONLY_on(sv);
   45067             :   } while(0) /*@SWIG@*/;
   45068             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45069           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_SRC_OUT", TRUE | 0x2 | GV_ADDMULTI);
   45070           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_SRC_OUT)));
   45071           1 :     SvREADONLY_on(sv);
   45072             :   } while(0) /*@SWIG@*/;
   45073             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45074           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_DST_OUT", TRUE | 0x2 | GV_ADDMULTI);
   45075           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_DST_OUT)));
   45076           1 :     SvREADONLY_on(sv);
   45077             :   } while(0) /*@SWIG@*/;
   45078             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45079           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_SRC_ATOP", TRUE | 0x2 | GV_ADDMULTI);
   45080           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_SRC_ATOP)));
   45081           1 :     SvREADONLY_on(sv);
   45082             :   } while(0) /*@SWIG@*/;
   45083             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45084           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_DST_ATOP", TRUE | 0x2 | GV_ADDMULTI);
   45085           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_DST_ATOP)));
   45086           1 :     SvREADONLY_on(sv);
   45087             :   } while(0) /*@SWIG@*/;
   45088             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45089           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_XOR", TRUE | 0x2 | GV_ADDMULTI);
   45090           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_XOR)));
   45091           1 :     SvREADONLY_on(sv);
   45092             :   } while(0) /*@SWIG@*/;
   45093             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45094           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_PLUS", TRUE | 0x2 | GV_ADDMULTI);
   45095           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_PLUS)));
   45096           1 :     SvREADONLY_on(sv);
   45097             :   } while(0) /*@SWIG@*/;
   45098             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45099           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_MINUS", TRUE | 0x2 | GV_ADDMULTI);
   45100           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_MINUS)));
   45101           1 :     SvREADONLY_on(sv);
   45102             :   } while(0) /*@SWIG@*/;
   45103             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45104           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_MULTIPLY", TRUE | 0x2 | GV_ADDMULTI);
   45105           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_MULTIPLY)));
   45106           1 :     SvREADONLY_on(sv);
   45107             :   } while(0) /*@SWIG@*/;
   45108             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45109           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_SCREEN", TRUE | 0x2 | GV_ADDMULTI);
   45110           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_SCREEN)));
   45111           1 :     SvREADONLY_on(sv);
   45112             :   } while(0) /*@SWIG@*/;
   45113             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45114           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_OVERLAY", TRUE | 0x2 | GV_ADDMULTI);
   45115           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_OVERLAY)));
   45116           1 :     SvREADONLY_on(sv);
   45117             :   } while(0) /*@SWIG@*/;
   45118             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45119           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_DARKEN", TRUE | 0x2 | GV_ADDMULTI);
   45120           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_DARKEN)));
   45121           1 :     SvREADONLY_on(sv);
   45122             :   } while(0) /*@SWIG@*/;
   45123             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45124           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_LIGHTEN", TRUE | 0x2 | GV_ADDMULTI);
   45125           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_LIGHTEN)));
   45126           1 :     SvREADONLY_on(sv);
   45127             :   } while(0) /*@SWIG@*/;
   45128             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45129           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_COLOR_DODGE", TRUE | 0x2 | GV_ADDMULTI);
   45130           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_COLOR_DODGE)));
   45131           1 :     SvREADONLY_on(sv);
   45132             :   } while(0) /*@SWIG@*/;
   45133             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45134           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_COLOR_BURN", TRUE | 0x2 | GV_ADDMULTI);
   45135           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_COLOR_BURN)));
   45136           1 :     SvREADONLY_on(sv);
   45137             :   } while(0) /*@SWIG@*/;
   45138             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45139           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_HARD_LIGHT", TRUE | 0x2 | GV_ADDMULTI);
   45140           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_HARD_LIGHT)));
   45141           1 :     SvREADONLY_on(sv);
   45142             :   } while(0) /*@SWIG@*/;
   45143             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45144           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_SOFT_LIGHT", TRUE | 0x2 | GV_ADDMULTI);
   45145           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_SOFT_LIGHT)));
   45146           1 :     SvREADONLY_on(sv);
   45147             :   } while(0) /*@SWIG@*/;
   45148             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45149           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_DIFFERENCE", TRUE | 0x2 | GV_ADDMULTI);
   45150           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_DIFFERENCE)));
   45151           1 :     SvREADONLY_on(sv);
   45152             :   } while(0) /*@SWIG@*/;
   45153             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45154           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_EXCLUSION", TRUE | 0x2 | GV_ADDMULTI);
   45155           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_EXCLUSION)));
   45156           1 :     SvREADONLY_on(sv);
   45157             :   } while(0) /*@SWIG@*/;
   45158             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45159           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_CONTRAST", TRUE | 0x2 | GV_ADDMULTI);
   45160           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_CONTRAST)));
   45161           1 :     SvREADONLY_on(sv);
   45162             :   } while(0) /*@SWIG@*/;
   45163             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45164           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_INVERT", TRUE | 0x2 | GV_ADDMULTI);
   45165           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_INVERT)));
   45166           1 :     SvREADONLY_on(sv);
   45167             :   } while(0) /*@SWIG@*/;
   45168             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45169           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_INVERT_RGB", TRUE | 0x2 | GV_ADDMULTI);
   45170           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_INVERT_RGB)));
   45171           1 :     SvREADONLY_on(sv);
   45172             :   } while(0) /*@SWIG@*/;
   45173           1 :   SWIG_TypeClientData(SWIGTYPE_p__CompositingFilter, (void*) "mapscript::CompositingFilter");
   45174           1 :   SWIG_TypeClientData(SWIGTYPE_p__LayerCompositer, (void*) "mapscript::LayerCompositer");
   45175             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45176           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_BINDING_LENGTH", TRUE | 0x2 | GV_ADDMULTI);
   45177           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(12)));
   45178           1 :     SvREADONLY_on(sv);
   45179             :   } while(0) /*@SWIG@*/;
   45180             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45181           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_BINDING_SIZE", TRUE | 0x2 | GV_ADDMULTI);
   45182           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_STYLE_BINDING_SIZE)));
   45183           1 :     SvREADONLY_on(sv);
   45184             :   } while(0) /*@SWIG@*/;
   45185             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45186           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_BINDING_WIDTH", TRUE | 0x2 | GV_ADDMULTI);
   45187           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_STYLE_BINDING_WIDTH)));
   45188           1 :     SvREADONLY_on(sv);
   45189             :   } while(0) /*@SWIG@*/;
   45190             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45191           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_BINDING_ANGLE", TRUE | 0x2 | GV_ADDMULTI);
   45192           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_STYLE_BINDING_ANGLE)));
   45193           1 :     SvREADONLY_on(sv);
   45194             :   } while(0) /*@SWIG@*/;
   45195             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45196           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_BINDING_COLOR", TRUE | 0x2 | GV_ADDMULTI);
   45197           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_STYLE_BINDING_COLOR)));
   45198           1 :     SvREADONLY_on(sv);
   45199             :   } while(0) /*@SWIG@*/;
   45200             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45201           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_BINDING_OUTLINECOLOR", TRUE | 0x2 | GV_ADDMULTI);
   45202           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_STYLE_BINDING_OUTLINECOLOR)));
   45203           1 :     SvREADONLY_on(sv);
   45204             :   } while(0) /*@SWIG@*/;
   45205             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45206           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_BINDING_SYMBOL", TRUE | 0x2 | GV_ADDMULTI);
   45207           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_STYLE_BINDING_SYMBOL)));
   45208           1 :     SvREADONLY_on(sv);
   45209             :   } while(0) /*@SWIG@*/;
   45210             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45211           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_BINDING_OUTLINEWIDTH", TRUE | 0x2 | GV_ADDMULTI);
   45212           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_STYLE_BINDING_OUTLINEWIDTH)));
   45213           1 :     SvREADONLY_on(sv);
   45214             :   } while(0) /*@SWIG@*/;
   45215             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45216           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_BINDING_OPACITY", TRUE | 0x2 | GV_ADDMULTI);
   45217           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_STYLE_BINDING_OPACITY)));
   45218           1 :     SvREADONLY_on(sv);
   45219             :   } while(0) /*@SWIG@*/;
   45220             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45221           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_BINDING_OFFSET_X", TRUE | 0x2 | GV_ADDMULTI);
   45222           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_STYLE_BINDING_OFFSET_X)));
   45223           1 :     SvREADONLY_on(sv);
   45224             :   } while(0) /*@SWIG@*/;
   45225             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45226           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_BINDING_OFFSET_Y", TRUE | 0x2 | GV_ADDMULTI);
   45227           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_STYLE_BINDING_OFFSET_Y)));
   45228           1 :     SvREADONLY_on(sv);
   45229             :   } while(0) /*@SWIG@*/;
   45230             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45231           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_BINDING_POLAROFFSET_PIXEL", TRUE | 0x2 | GV_ADDMULTI);
   45232           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_STYLE_BINDING_POLAROFFSET_PIXEL)));
   45233           1 :     SvREADONLY_on(sv);
   45234             :   } while(0) /*@SWIG@*/;
   45235             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45236           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_BINDING_POLAROFFSET_ANGLE", TRUE | 0x2 | GV_ADDMULTI);
   45237           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_STYLE_BINDING_POLAROFFSET_ANGLE)));
   45238           1 :     SvREADONLY_on(sv);
   45239             :   } while(0) /*@SWIG@*/;
   45240             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45241           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_BINDING_LENGTH", TRUE | 0x2 | GV_ADDMULTI);
   45242           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(9)));
   45243           1 :     SvREADONLY_on(sv);
   45244             :   } while(0) /*@SWIG@*/;
   45245             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45246           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_BINDING_SIZE", TRUE | 0x2 | GV_ADDMULTI);
   45247           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_LABEL_BINDING_SIZE)));
   45248           1 :     SvREADONLY_on(sv);
   45249             :   } while(0) /*@SWIG@*/;
   45250             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45251           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_BINDING_ANGLE", TRUE | 0x2 | GV_ADDMULTI);
   45252           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_LABEL_BINDING_ANGLE)));
   45253           1 :     SvREADONLY_on(sv);
   45254             :   } while(0) /*@SWIG@*/;
   45255             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45256           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_BINDING_COLOR", TRUE | 0x2 | GV_ADDMULTI);
   45257           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_LABEL_BINDING_COLOR)));
   45258           1 :     SvREADONLY_on(sv);
   45259             :   } while(0) /*@SWIG@*/;
   45260             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45261           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_BINDING_OUTLINECOLOR", TRUE | 0x2 | GV_ADDMULTI);
   45262           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_LABEL_BINDING_OUTLINECOLOR)));
   45263           1 :     SvREADONLY_on(sv);
   45264             :   } while(0) /*@SWIG@*/;
   45265             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45266           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_BINDING_FONT", TRUE | 0x2 | GV_ADDMULTI);
   45267           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_LABEL_BINDING_FONT)));
   45268           1 :     SvREADONLY_on(sv);
   45269             :   } while(0) /*@SWIG@*/;
   45270             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45271           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_BINDING_PRIORITY", TRUE | 0x2 | GV_ADDMULTI);
   45272           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_LABEL_BINDING_PRIORITY)));
   45273           1 :     SvREADONLY_on(sv);
   45274             :   } while(0) /*@SWIG@*/;
   45275             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45276           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_BINDING_POSITION", TRUE | 0x2 | GV_ADDMULTI);
   45277           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_LABEL_BINDING_POSITION)));
   45278           1 :     SvREADONLY_on(sv);
   45279             :   } while(0) /*@SWIG@*/;
   45280             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45281           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_BINDING_SHADOWSIZEX", TRUE | 0x2 | GV_ADDMULTI);
   45282           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_LABEL_BINDING_SHADOWSIZEX)));
   45283           1 :     SvREADONLY_on(sv);
   45284             :   } while(0) /*@SWIG@*/;
   45285             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45286           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_BINDING_SHADOWSIZEY", TRUE | 0x2 | GV_ADDMULTI);
   45287           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_LABEL_BINDING_SHADOWSIZEY)));
   45288           1 :     SvREADONLY_on(sv);
   45289             :   } while(0) /*@SWIG@*/;
   45290           1 :   SWIG_TypeClientData(SWIGTYPE_p_fontSetObj, (void*) "mapscript::fontSetObj");
   45291             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45292           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_LOGICAL_AND", TRUE | 0x2 | GV_ADDMULTI);
   45293           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_LOGICAL_AND)));
   45294           1 :     SvREADONLY_on(sv);
   45295             :   } while(0) /*@SWIG@*/;
   45296             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45297           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_LOGICAL_OR", TRUE | 0x2 | GV_ADDMULTI);
   45298           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_LOGICAL_OR)));
   45299           1 :     SvREADONLY_on(sv);
   45300             :   } while(0) /*@SWIG@*/;
   45301             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45302           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_LOGICAL_NOT", TRUE | 0x2 | GV_ADDMULTI);
   45303           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_LOGICAL_NOT)));
   45304           1 :     SvREADONLY_on(sv);
   45305             :   } while(0) /*@SWIG@*/;
   45306             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45307           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_LITERAL_NUMBER", TRUE | 0x2 | GV_ADDMULTI);
   45308           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_LITERAL_NUMBER)));
   45309           1 :     SvREADONLY_on(sv);
   45310             :   } while(0) /*@SWIG@*/;
   45311             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45312           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_LITERAL_STRING", TRUE | 0x2 | GV_ADDMULTI);
   45313           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_LITERAL_STRING)));
   45314           1 :     SvREADONLY_on(sv);
   45315             :   } while(0) /*@SWIG@*/;
   45316             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45317           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_LITERAL_TIME", TRUE | 0x2 | GV_ADDMULTI);
   45318           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_LITERAL_TIME)));
   45319           1 :     SvREADONLY_on(sv);
   45320             :   } while(0) /*@SWIG@*/;
   45321             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45322           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_LITERAL_SHAPE", TRUE | 0x2 | GV_ADDMULTI);
   45323           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_LITERAL_SHAPE)));
   45324           1 :     SvREADONLY_on(sv);
   45325             :   } while(0) /*@SWIG@*/;
   45326             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45327           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_LITERAL_BOOLEAN", TRUE | 0x2 | GV_ADDMULTI);
   45328           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_LITERAL_BOOLEAN)));
   45329           1 :     SvREADONLY_on(sv);
   45330             :   } while(0) /*@SWIG@*/;
   45331             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45332           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_EQ", TRUE | 0x2 | GV_ADDMULTI);
   45333           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_EQ)));
   45334           1 :     SvREADONLY_on(sv);
   45335             :   } while(0) /*@SWIG@*/;
   45336             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45337           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_NE", TRUE | 0x2 | GV_ADDMULTI);
   45338           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_NE)));
   45339           1 :     SvREADONLY_on(sv);
   45340             :   } while(0) /*@SWIG@*/;
   45341             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45342           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_GT", TRUE | 0x2 | GV_ADDMULTI);
   45343           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_GT)));
   45344           1 :     SvREADONLY_on(sv);
   45345             :   } while(0) /*@SWIG@*/;
   45346             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45347           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_LT", TRUE | 0x2 | GV_ADDMULTI);
   45348           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_LT)));
   45349           1 :     SvREADONLY_on(sv);
   45350             :   } while(0) /*@SWIG@*/;
   45351             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45352           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_LE", TRUE | 0x2 | GV_ADDMULTI);
   45353           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_LE)));
   45354           1 :     SvREADONLY_on(sv);
   45355             :   } while(0) /*@SWIG@*/;
   45356             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45357           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_GE", TRUE | 0x2 | GV_ADDMULTI);
   45358           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_GE)));
   45359           1 :     SvREADONLY_on(sv);
   45360             :   } while(0) /*@SWIG@*/;
   45361             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45362           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_IEQ", TRUE | 0x2 | GV_ADDMULTI);
   45363           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_IEQ)));
   45364           1 :     SvREADONLY_on(sv);
   45365             :   } while(0) /*@SWIG@*/;
   45366             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45367           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_RE", TRUE | 0x2 | GV_ADDMULTI);
   45368           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_RE)));
   45369           1 :     SvREADONLY_on(sv);
   45370             :   } while(0) /*@SWIG@*/;
   45371             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45372           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_IRE", TRUE | 0x2 | GV_ADDMULTI);
   45373           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_IRE)));
   45374           1 :     SvREADONLY_on(sv);
   45375             :   } while(0) /*@SWIG@*/;
   45376             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45377           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_IN", TRUE | 0x2 | GV_ADDMULTI);
   45378           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_IN)));
   45379           1 :     SvREADONLY_on(sv);
   45380             :   } while(0) /*@SWIG@*/;
   45381             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45382           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_LIKE", TRUE | 0x2 | GV_ADDMULTI);
   45383           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_LIKE)));
   45384           1 :     SvREADONLY_on(sv);
   45385             :   } while(0) /*@SWIG@*/;
   45386             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45387           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_INTERSECTS", TRUE | 0x2 | GV_ADDMULTI);
   45388           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_INTERSECTS)));
   45389           1 :     SvREADONLY_on(sv);
   45390             :   } while(0) /*@SWIG@*/;
   45391             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45392           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_DISJOINT", TRUE | 0x2 | GV_ADDMULTI);
   45393           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_DISJOINT)));
   45394           1 :     SvREADONLY_on(sv);
   45395             :   } while(0) /*@SWIG@*/;
   45396             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45397           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_TOUCHES", TRUE | 0x2 | GV_ADDMULTI);
   45398           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_TOUCHES)));
   45399           1 :     SvREADONLY_on(sv);
   45400             :   } while(0) /*@SWIG@*/;
   45401             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45402           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_OVERLAPS", TRUE | 0x2 | GV_ADDMULTI);
   45403           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_OVERLAPS)));
   45404           1 :     SvREADONLY_on(sv);
   45405             :   } while(0) /*@SWIG@*/;
   45406             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45407           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_CROSSES", TRUE | 0x2 | GV_ADDMULTI);
   45408           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_CROSSES)));
   45409           1 :     SvREADONLY_on(sv);
   45410             :   } while(0) /*@SWIG@*/;
   45411             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45412           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_WITHIN", TRUE | 0x2 | GV_ADDMULTI);
   45413           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_WITHIN)));
   45414           1 :     SvREADONLY_on(sv);
   45415             :   } while(0) /*@SWIG@*/;
   45416             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45417           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_CONTAINS", TRUE | 0x2 | GV_ADDMULTI);
   45418           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_CONTAINS)));
   45419           1 :     SvREADONLY_on(sv);
   45420             :   } while(0) /*@SWIG@*/;
   45421             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45422           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_EQUALS", TRUE | 0x2 | GV_ADDMULTI);
   45423           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_EQUALS)));
   45424           1 :     SvREADONLY_on(sv);
   45425             :   } while(0) /*@SWIG@*/;
   45426             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45427           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_BEYOND", TRUE | 0x2 | GV_ADDMULTI);
   45428           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_BEYOND)));
   45429           1 :     SvREADONLY_on(sv);
   45430             :   } while(0) /*@SWIG@*/;
   45431             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45432           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_DWITHIN", TRUE | 0x2 | GV_ADDMULTI);
   45433           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_DWITHIN)));
   45434           1 :     SvREADONLY_on(sv);
   45435             :   } while(0) /*@SWIG@*/;
   45436             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45437           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_LENGTH", TRUE | 0x2 | GV_ADDMULTI);
   45438           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_LENGTH)));
   45439           1 :     SvREADONLY_on(sv);
   45440             :   } while(0) /*@SWIG@*/;
   45441             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45442           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_TOSTRING", TRUE | 0x2 | GV_ADDMULTI);
   45443           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_TOSTRING)));
   45444           1 :     SvREADONLY_on(sv);
   45445             :   } while(0) /*@SWIG@*/;
   45446             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45447           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_COMMIFY", TRUE | 0x2 | GV_ADDMULTI);
   45448           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_COMMIFY)));
   45449           1 :     SvREADONLY_on(sv);
   45450             :   } while(0) /*@SWIG@*/;
   45451             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45452           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_AREA", TRUE | 0x2 | GV_ADDMULTI);
   45453           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_AREA)));
   45454           1 :     SvREADONLY_on(sv);
   45455             :   } while(0) /*@SWIG@*/;
   45456             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45457           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_ROUND", TRUE | 0x2 | GV_ADDMULTI);
   45458           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_ROUND)));
   45459           1 :     SvREADONLY_on(sv);
   45460             :   } while(0) /*@SWIG@*/;
   45461             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45462           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_FROMTEXT", TRUE | 0x2 | GV_ADDMULTI);
   45463           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_FROMTEXT)));
   45464           1 :     SvREADONLY_on(sv);
   45465             :   } while(0) /*@SWIG@*/;
   45466             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45467           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_BUFFER", TRUE | 0x2 | GV_ADDMULTI);
   45468           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_BUFFER)));
   45469           1 :     SvREADONLY_on(sv);
   45470             :   } while(0) /*@SWIG@*/;
   45471             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45472           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_DIFFERENCE", TRUE | 0x2 | GV_ADDMULTI);
   45473           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_DIFFERENCE)));
   45474           1 :     SvREADONLY_on(sv);
   45475             :   } while(0) /*@SWIG@*/;
   45476             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45477           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_SIMPLIFY", TRUE | 0x2 | GV_ADDMULTI);
   45478           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_SIMPLIFY)));
   45479           1 :     SvREADONLY_on(sv);
   45480             :   } while(0) /*@SWIG@*/;
   45481             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45482           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_SIMPLIFYPT", TRUE | 0x2 | GV_ADDMULTI);
   45483           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_SIMPLIFYPT)));
   45484           1 :     SvREADONLY_on(sv);
   45485             :   } while(0) /*@SWIG@*/;
   45486             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45487           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_GENERALIZE", TRUE | 0x2 | GV_ADDMULTI);
   45488           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_GENERALIZE)));
   45489           1 :     SvREADONLY_on(sv);
   45490             :   } while(0) /*@SWIG@*/;
   45491             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45492           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_SMOOTHSIA", TRUE | 0x2 | GV_ADDMULTI);
   45493           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_SMOOTHSIA)));
   45494           1 :     SvREADONLY_on(sv);
   45495             :   } while(0) /*@SWIG@*/;
   45496             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45497           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_JAVASCRIPT", TRUE | 0x2 | GV_ADDMULTI);
   45498           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_JAVASCRIPT)));
   45499           1 :     SvREADONLY_on(sv);
   45500             :   } while(0) /*@SWIG@*/;
   45501             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45502           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_UPPER", TRUE | 0x2 | GV_ADDMULTI);
   45503           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_UPPER)));
   45504           1 :     SvREADONLY_on(sv);
   45505             :   } while(0) /*@SWIG@*/;
   45506             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45507           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_LOWER", TRUE | 0x2 | GV_ADDMULTI);
   45508           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_LOWER)));
   45509           1 :     SvREADONLY_on(sv);
   45510             :   } while(0) /*@SWIG@*/;
   45511             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45512           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_INITCAP", TRUE | 0x2 | GV_ADDMULTI);
   45513           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_INITCAP)));
   45514           1 :     SvREADONLY_on(sv);
   45515             :   } while(0) /*@SWIG@*/;
   45516             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45517           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_FIRSTCAP", TRUE | 0x2 | GV_ADDMULTI);
   45518           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_FIRSTCAP)));
   45519           1 :     SvREADONLY_on(sv);
   45520             :   } while(0) /*@SWIG@*/;
   45521             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45522           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_BINDING_DOUBLE", TRUE | 0x2 | GV_ADDMULTI);
   45523           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_BINDING_DOUBLE)));
   45524           1 :     SvREADONLY_on(sv);
   45525             :   } while(0) /*@SWIG@*/;
   45526             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45527           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_BINDING_INTEGER", TRUE | 0x2 | GV_ADDMULTI);
   45528           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_BINDING_INTEGER)));
   45529           1 :     SvREADONLY_on(sv);
   45530             :   } while(0) /*@SWIG@*/;
   45531             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45532           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_BINDING_STRING", TRUE | 0x2 | GV_ADDMULTI);
   45533           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_BINDING_STRING)));
   45534           1 :     SvREADONLY_on(sv);
   45535             :   } while(0) /*@SWIG@*/;
   45536             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45537           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_BINDING_TIME", TRUE | 0x2 | GV_ADDMULTI);
   45538           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_BINDING_TIME)));
   45539           1 :     SvREADONLY_on(sv);
   45540             :   } while(0) /*@SWIG@*/;
   45541             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45542           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_BINDING_SHAPE", TRUE | 0x2 | GV_ADDMULTI);
   45543           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_BINDING_SHAPE)));
   45544           1 :     SvREADONLY_on(sv);
   45545             :   } while(0) /*@SWIG@*/;
   45546             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45547           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_BINDING_MAP_CELLSIZE", TRUE | 0x2 | GV_ADDMULTI);
   45548           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_BINDING_MAP_CELLSIZE)));
   45549           1 :     SvREADONLY_on(sv);
   45550             :   } while(0) /*@SWIG@*/;
   45551             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45552           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_BINDING_DATA_CELLSIZE", TRUE | 0x2 | GV_ADDMULTI);
   45553           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_BINDING_DATA_CELLSIZE)));
   45554           1 :     SvREADONLY_on(sv);
   45555             :   } while(0) /*@SWIG@*/;
   45556             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45557           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_PARSE_TYPE_BOOLEAN", TRUE | 0x2 | GV_ADDMULTI);
   45558           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_PARSE_TYPE_BOOLEAN)));
   45559           1 :     SvREADONLY_on(sv);
   45560             :   } while(0) /*@SWIG@*/;
   45561             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45562           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_PARSE_TYPE_STRING", TRUE | 0x2 | GV_ADDMULTI);
   45563           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_PARSE_TYPE_STRING)));
   45564           1 :     SvREADONLY_on(sv);
   45565             :   } while(0) /*@SWIG@*/;
   45566             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45567           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_PARSE_TYPE_SHAPE", TRUE | 0x2 | GV_ADDMULTI);
   45568           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_PARSE_TYPE_SHAPE)));
   45569           1 :     SvREADONLY_on(sv);
   45570             :   } while(0) /*@SWIG@*/;
   45571           1 :   SWIG_TypeClientData(SWIGTYPE_p_clusterObj, (void*) "mapscript::clusterObj");
   45572           1 :   SWIG_TypeClientData(SWIGTYPE_p_outputFormatObj, (void*) "mapscript::outputFormatObj");
   45573             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45574           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_NOOVERRIDE", TRUE | 0x2 | GV_ADDMULTI);
   45575           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(-1111)));
   45576           1 :     SvREADONLY_on(sv);
   45577             :   } while(0) /*@SWIG@*/;
   45578           1 :   SWIG_TypeClientData(SWIGTYPE_p_queryMapObj, (void*) "mapscript::queryMapObj");
   45579           1 :   SWIG_TypeClientData(SWIGTYPE_p_webObj, (void*) "mapscript::webObj");
   45580           1 :   SWIG_TypeClientData(SWIGTYPE_p_styleObj, (void*) "mapscript::styleObj");
   45581             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45582           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_SINGLE_SIDED_OFFSET", TRUE | 0x2 | GV_ADDMULTI);
   45583           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(-99)));
   45584           1 :     SvREADONLY_on(sv);
   45585             :   } while(0) /*@SWIG@*/;
   45586             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45587           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_DOUBLE_SIDED_OFFSET", TRUE | 0x2 | GV_ADDMULTI);
   45588           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(-999)));
   45589           1 :     SvREADONLY_on(sv);
   45590             :   } while(0) /*@SWIG@*/;
   45591           1 :   SWIG_TypeClientData(SWIGTYPE_p_labelLeaderObj, (void*) "mapscript::labelLeaderObj");
   45592           1 :   SWIG_TypeClientData(SWIGTYPE_p_labelObj, (void*) "mapscript::labelObj");
   45593             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45594           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_PERPENDICULAR_OFFSET", TRUE | 0x2 | GV_ADDMULTI);
   45595           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(-99)));
   45596           1 :     SvREADONLY_on(sv);
   45597             :   } while(0) /*@SWIG@*/;
   45598             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45599           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_PERPENDICULAR_TOP_OFFSET", TRUE | 0x2 | GV_ADDMULTI);
   45600           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(99)));
   45601           1 :     SvREADONLY_on(sv);
   45602             :   } while(0) /*@SWIG@*/;
   45603           1 :   SWIG_TypeClientData(SWIGTYPE_p_classObj, (void*) "mapscript::classObj");
   45604           1 :   SWIG_TypeClientData(SWIGTYPE_p_labelCacheMemberObj, (void*) "mapscript::labelCacheMemberObj");
   45605           1 :   SWIG_TypeClientData(SWIGTYPE_p_markerCacheMemberObj, (void*) "mapscript::markerCacheMemberObj");
   45606           1 :   SWIG_TypeClientData(SWIGTYPE_p_labelCacheSlotObj, (void*) "mapscript::labelCacheSlotObj");
   45607           1 :   SWIG_TypeClientData(SWIGTYPE_p_labelCacheObj, (void*) "mapscript::labelCacheObj");
   45608           1 :   SWIG_TypeClientData(SWIGTYPE_p_resultObj, (void*) "mapscript::resultObj");
   45609           1 :   SWIG_TypeClientData(SWIGTYPE_p_resultCacheObj, (void*) "mapscript::resultCacheObj");
   45610           1 :   SWIG_TypeClientData(SWIGTYPE_p_symbolSetObj, (void*) "mapscript::symbolSetObj");
   45611           1 :   SWIG_TypeClientData(SWIGTYPE_p_referenceMapObj, (void*) "mapscript::referenceMapObj");
   45612           1 :   SWIG_TypeClientData(SWIGTYPE_p_scalebarObj, (void*) "mapscript::scalebarObj");
   45613           1 :   SWIG_TypeClientData(SWIGTYPE_p_legendObj, (void*) "mapscript::legendObj");
   45614           1 :   SWIG_TypeClientData(SWIGTYPE_p_imageObj, (void*) "mapscript::imageObj");
   45615           1 :   SWIG_TypeClientData(SWIGTYPE_p_scaleTokenEntryObj, (void*) "mapscript::scaleTokenEntryObj");
   45616           1 :   SWIG_TypeClientData(SWIGTYPE_p_scaleTokenObj, (void*) "mapscript::scaleTokenObj");
   45617           1 :   SWIG_TypeClientData(SWIGTYPE_p_layerObj, (void*) "mapscript::layerObj");
   45618           1 :   SWIG_TypeClientData(SWIGTYPE_p_mapObj, (void*) "mapscript::mapObj");
   45619             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45620           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_VERSION_MAJOR", TRUE | 0x2 | GV_ADDMULTI);
   45621           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(7)));
   45622           1 :     SvREADONLY_on(sv);
   45623             :   } while(0) /*@SWIG@*/;
   45624             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45625           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_VERSION_MINOR", TRUE | 0x2 | GV_ADDMULTI);
   45626           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(5)));
   45627           1 :     SvREADONLY_on(sv);
   45628             :   } while(0) /*@SWIG@*/;
   45629             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45630           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_VERSION_REV", TRUE | 0x2 | GV_ADDMULTI);
   45631           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(0)));
   45632           1 :     SvREADONLY_on(sv);
   45633             :   } while(0) /*@SWIG@*/;
   45634             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45635           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_VERSION", TRUE | 0x2 | GV_ADDMULTI);
   45636           1 :     sv_setsv(sv, SWIG_FromCharPtr("7.5-dev"));
   45637           1 :     SvREADONLY_on(sv);
   45638             :   } while(0) /*@SWIG@*/;
   45639             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45640           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_VERSION_NUM", TRUE | 0x2 | GV_ADDMULTI);
   45641           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(70500)));
   45642           1 :     SvREADONLY_on(sv);
   45643             :   } while(0) /*@SWIG@*/;
   45644           1 :   SWIG_TypeClientData(SWIGTYPE_p_rectObj, (void*) "mapscript::rectObj");
   45645           1 :   SWIG_TypeClientData(SWIGTYPE_p_pointObj, (void*) "mapscript::pointObj");
   45646           1 :   SWIG_TypeClientData(SWIGTYPE_p_lineObj, (void*) "mapscript::lineObj");
   45647           1 :   SWIG_TypeClientData(SWIGTYPE_p_shapeObj, (void*) "mapscript::shapeObj");
   45648             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45649           1 :     SV *sv = get_sv((char*) SWIG_prefix "SHX_BUFFER_PAGE", TRUE | 0x2 | GV_ADDMULTI);
   45650           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(1024)));
   45651           1 :     SvREADONLY_on(sv);
   45652             :   } while(0) /*@SWIG@*/;
   45653             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45654           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_SHAPEFILE_POINT", TRUE | 0x2 | GV_ADDMULTI);
   45655           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(1)));
   45656           1 :     SvREADONLY_on(sv);
   45657             :   } while(0) /*@SWIG@*/;
   45658             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45659           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_SHAPEFILE_ARC", TRUE | 0x2 | GV_ADDMULTI);
   45660           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(3)));
   45661           1 :     SvREADONLY_on(sv);
   45662             :   } while(0) /*@SWIG@*/;
   45663             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45664           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_SHAPEFILE_POLYGON", TRUE | 0x2 | GV_ADDMULTI);
   45665           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(5)));
   45666           1 :     SvREADONLY_on(sv);
   45667             :   } while(0) /*@SWIG@*/;
   45668             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45669           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_SHAPEFILE_MULTIPOINT", TRUE | 0x2 | GV_ADDMULTI);
   45670           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(8)));
   45671           1 :     SvREADONLY_on(sv);
   45672             :   } while(0) /*@SWIG@*/;
   45673             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45674           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_SHP_POINTZ", TRUE | 0x2 | GV_ADDMULTI);
   45675           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(11)));
   45676           1 :     SvREADONLY_on(sv);
   45677             :   } while(0) /*@SWIG@*/;
   45678             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45679           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_SHP_ARCZ", TRUE | 0x2 | GV_ADDMULTI);
   45680           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(13)));
   45681           1 :     SvREADONLY_on(sv);
   45682             :   } while(0) /*@SWIG@*/;
   45683             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45684           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_SHP_POLYGONZ", TRUE | 0x2 | GV_ADDMULTI);
   45685           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(15)));
   45686           1 :     SvREADONLY_on(sv);
   45687             :   } while(0) /*@SWIG@*/;
   45688             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45689           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_SHP_MULTIPOINTZ", TRUE | 0x2 | GV_ADDMULTI);
   45690           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(18)));
   45691           1 :     SvREADONLY_on(sv);
   45692             :   } while(0) /*@SWIG@*/;
   45693             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45694           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_SHP_POINTM", TRUE | 0x2 | GV_ADDMULTI);
   45695           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(21)));
   45696           1 :     SvREADONLY_on(sv);
   45697             :   } while(0) /*@SWIG@*/;
   45698             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45699           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_SHP_ARCM", TRUE | 0x2 | GV_ADDMULTI);
   45700           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(23)));
   45701           1 :     SvREADONLY_on(sv);
   45702             :   } while(0) /*@SWIG@*/;
   45703             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45704           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_SHP_POLYGONM", TRUE | 0x2 | GV_ADDMULTI);
   45705           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(25)));
   45706           1 :     SvREADONLY_on(sv);
   45707             :   } while(0) /*@SWIG@*/;
   45708             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45709           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_SHP_MULTIPOINTM", TRUE | 0x2 | GV_ADDMULTI);
   45710           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(28)));
   45711           1 :     SvREADONLY_on(sv);
   45712             :   } while(0) /*@SWIG@*/;
   45713           1 :   SWIG_TypeClientData(SWIGTYPE_p_DBFInfo, (void*) "mapscript::DBFInfo");
   45714             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45715           1 :     SV *sv = get_sv((char*) SWIG_prefix "FTString", TRUE | 0x2 | GV_ADDMULTI);
   45716           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(FTString)));
   45717           1 :     SvREADONLY_on(sv);
   45718             :   } while(0) /*@SWIG@*/;
   45719             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45720           1 :     SV *sv = get_sv((char*) SWIG_prefix "FTInteger", TRUE | 0x2 | GV_ADDMULTI);
   45721           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(FTInteger)));
   45722           1 :     SvREADONLY_on(sv);
   45723             :   } while(0) /*@SWIG@*/;
   45724             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45725           1 :     SV *sv = get_sv((char*) SWIG_prefix "FTDouble", TRUE | 0x2 | GV_ADDMULTI);
   45726           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(FTDouble)));
   45727           1 :     SvREADONLY_on(sv);
   45728             :   } while(0) /*@SWIG@*/;
   45729             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45730           1 :     SV *sv = get_sv((char*) SWIG_prefix "FTInvalid", TRUE | 0x2 | GV_ADDMULTI);
   45731           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(FTInvalid)));
   45732           1 :     SvREADONLY_on(sv);
   45733             :   } while(0) /*@SWIG@*/;
   45734           1 :   SWIG_TypeClientData(SWIGTYPE_p_shapefileObj, (void*) "mapscript::shapefileObj");
   45735             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45736           1 :     SV *sv = get_sv((char*) SWIG_prefix "ACCEPT_USE_OF_DEPRECATED_PROJ_API_H", TRUE | 0x2 | GV_ADDMULTI);
   45737           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(1)));
   45738           1 :     SvREADONLY_on(sv);
   45739             :   } while(0) /*@SWIG@*/;
   45740             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45741           1 :     SV *sv = get_sv((char*) SWIG_prefix "wkp_none", TRUE | 0x2 | GV_ADDMULTI);
   45742           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(0)));
   45743           1 :     SvREADONLY_on(sv);
   45744             :   } while(0) /*@SWIG@*/;
   45745             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45746           1 :     SV *sv = get_sv((char*) SWIG_prefix "wkp_lonlat", TRUE | 0x2 | GV_ADDMULTI);
   45747           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(1)));
   45748           1 :     SvREADONLY_on(sv);
   45749             :   } while(0) /*@SWIG@*/;
   45750             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45751           1 :     SV *sv = get_sv((char*) SWIG_prefix "wkp_gmerc", TRUE | 0x2 | GV_ADDMULTI);
   45752           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(2)));
   45753           1 :     SvREADONLY_on(sv);
   45754             :   } while(0) /*@SWIG@*/;
   45755           1 :   SWIG_TypeClientData(SWIGTYPE_p_projectionObj, (void*) "mapscript::projectionObj");
   45756             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45757           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_SYMBOL_SIMPLE", TRUE | 0x2 | GV_ADDMULTI);
   45758           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_SYMBOL_SIMPLE)));
   45759           1 :     SvREADONLY_on(sv);
   45760             :   } while(0) /*@SWIG@*/;
   45761             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45762           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_SYMBOL_VECTOR", TRUE | 0x2 | GV_ADDMULTI);
   45763           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_SYMBOL_VECTOR)));
   45764           1 :     SvREADONLY_on(sv);
   45765             :   } while(0) /*@SWIG@*/;
   45766             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45767           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_SYMBOL_ELLIPSE", TRUE | 0x2 | GV_ADDMULTI);
   45768           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_SYMBOL_ELLIPSE)));
   45769           1 :     SvREADONLY_on(sv);
   45770             :   } while(0) /*@SWIG@*/;
   45771             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45772           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_SYMBOL_PIXMAP", TRUE | 0x2 | GV_ADDMULTI);
   45773           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_SYMBOL_PIXMAP)));
   45774           1 :     SvREADONLY_on(sv);
   45775             :   } while(0) /*@SWIG@*/;
   45776             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45777           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_SYMBOL_TRUETYPE", TRUE | 0x2 | GV_ADDMULTI);
   45778           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_SYMBOL_TRUETYPE)));
   45779           1 :     SvREADONLY_on(sv);
   45780             :   } while(0) /*@SWIG@*/;
   45781             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45782           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_SYMBOL_HATCH", TRUE | 0x2 | GV_ADDMULTI);
   45783           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_SYMBOL_HATCH)));
   45784           1 :     SvREADONLY_on(sv);
   45785             :   } while(0) /*@SWIG@*/;
   45786             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45787           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_SYMBOL_SVG", TRUE | 0x2 | GV_ADDMULTI);
   45788           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_SYMBOL_SVG)));
   45789           1 :     SvREADONLY_on(sv);
   45790             :   } while(0) /*@SWIG@*/;
   45791             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45792           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_SYMBOL_ALLOCSIZE", TRUE | 0x2 | GV_ADDMULTI);
   45793           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(64)));
   45794           1 :     SvREADONLY_on(sv);
   45795             :   } while(0) /*@SWIG@*/;
   45796             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45797           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_MAXVECTORPOINTS", TRUE | 0x2 | GV_ADDMULTI);
   45798           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(100)));
   45799           1 :     SvREADONLY_on(sv);
   45800             :   } while(0) /*@SWIG@*/;
   45801             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45802           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_MAXPATTERNLENGTH", TRUE | 0x2 | GV_ADDMULTI);
   45803           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(10)));
   45804           1 :     SvREADONLY_on(sv);
   45805             :   } while(0) /*@SWIG@*/;
   45806             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45807           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_IMAGECACHESIZE", TRUE | 0x2 | GV_ADDMULTI);
   45808           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(6)));
   45809           1 :     SvREADONLY_on(sv);
   45810             :   } while(0) /*@SWIG@*/;
   45811           1 :   SWIG_TypeClientData(SWIGTYPE_p_colorObj, (void*) "mapscript::colorObj");
   45812           1 :   SWIG_TypeClientData(SWIGTYPE_p_symbolObj, (void*) "mapscript::symbolObj");
   45813             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45814           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_NOERR", TRUE | 0x2 | GV_ADDMULTI);
   45815           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(0)));
   45816           1 :     SvREADONLY_on(sv);
   45817             :   } while(0) /*@SWIG@*/;
   45818             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45819           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_IOERR", TRUE | 0x2 | GV_ADDMULTI);
   45820           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(1)));
   45821           1 :     SvREADONLY_on(sv);
   45822             :   } while(0) /*@SWIG@*/;
   45823             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45824           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_MEMERR", TRUE | 0x2 | GV_ADDMULTI);
   45825           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(2)));
   45826           1 :     SvREADONLY_on(sv);
   45827             :   } while(0) /*@SWIG@*/;
   45828             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45829           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TYPEERR", TRUE | 0x2 | GV_ADDMULTI);
   45830           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(3)));
   45831           1 :     SvREADONLY_on(sv);
   45832             :   } while(0) /*@SWIG@*/;
   45833             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45834           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_SYMERR", TRUE | 0x2 | GV_ADDMULTI);
   45835           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(4)));
   45836           1 :     SvREADONLY_on(sv);
   45837             :   } while(0) /*@SWIG@*/;
   45838             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45839           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_REGEXERR", TRUE | 0x2 | GV_ADDMULTI);
   45840           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(5)));
   45841           1 :     SvREADONLY_on(sv);
   45842             :   } while(0) /*@SWIG@*/;
   45843             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45844           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TTFERR", TRUE | 0x2 | GV_ADDMULTI);
   45845           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(6)));
   45846           1 :     SvREADONLY_on(sv);
   45847             :   } while(0) /*@SWIG@*/;
   45848             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45849           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_DBFERR", TRUE | 0x2 | GV_ADDMULTI);
   45850           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(7)));
   45851           1 :     SvREADONLY_on(sv);
   45852             :   } while(0) /*@SWIG@*/;
   45853             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45854           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_IDENTERR", TRUE | 0x2 | GV_ADDMULTI);
   45855           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(9)));
   45856           1 :     SvREADONLY_on(sv);
   45857             :   } while(0) /*@SWIG@*/;
   45858             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45859           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_EOFERR", TRUE | 0x2 | GV_ADDMULTI);
   45860           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(10)));
   45861           1 :     SvREADONLY_on(sv);
   45862             :   } while(0) /*@SWIG@*/;
   45863             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45864           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_PROJERR", TRUE | 0x2 | GV_ADDMULTI);
   45865           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(11)));
   45866           1 :     SvREADONLY_on(sv);
   45867             :   } while(0) /*@SWIG@*/;
   45868             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45869           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_MISCERR", TRUE | 0x2 | GV_ADDMULTI);
   45870           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(12)));
   45871           1 :     SvREADONLY_on(sv);
   45872             :   } while(0) /*@SWIG@*/;
   45873             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45874           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_CGIERR", TRUE | 0x2 | GV_ADDMULTI);
   45875           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(13)));
   45876           1 :     SvREADONLY_on(sv);
   45877             :   } while(0) /*@SWIG@*/;
   45878             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45879           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_WEBERR", TRUE | 0x2 | GV_ADDMULTI);
   45880           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(14)));
   45881           1 :     SvREADONLY_on(sv);
   45882             :   } while(0) /*@SWIG@*/;
   45883             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45884           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_IMGERR", TRUE | 0x2 | GV_ADDMULTI);
   45885           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(15)));
   45886           1 :     SvREADONLY_on(sv);
   45887             :   } while(0) /*@SWIG@*/;
   45888             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45889           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_HASHERR", TRUE | 0x2 | GV_ADDMULTI);
   45890           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(16)));
   45891           1 :     SvREADONLY_on(sv);
   45892             :   } while(0) /*@SWIG@*/;
   45893             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45894           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_JOINERR", TRUE | 0x2 | GV_ADDMULTI);
   45895           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(17)));
   45896           1 :     SvREADONLY_on(sv);
   45897             :   } while(0) /*@SWIG@*/;
   45898             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45899           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_NOTFOUND", TRUE | 0x2 | GV_ADDMULTI);
   45900           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(18)));
   45901           1 :     SvREADONLY_on(sv);
   45902             :   } while(0) /*@SWIG@*/;
   45903             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45904           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_SHPERR", TRUE | 0x2 | GV_ADDMULTI);
   45905           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(19)));
   45906           1 :     SvREADONLY_on(sv);
   45907             :   } while(0) /*@SWIG@*/;
   45908             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45909           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_PARSEERR", TRUE | 0x2 | GV_ADDMULTI);
   45910           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(20)));
   45911           1 :     SvREADONLY_on(sv);
   45912             :   } while(0) /*@SWIG@*/;
   45913             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45914           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_UNUSEDERR", TRUE | 0x2 | GV_ADDMULTI);
   45915           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(21)));
   45916           1 :     SvREADONLY_on(sv);
   45917             :   } while(0) /*@SWIG@*/;
   45918             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45919           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_OGRERR", TRUE | 0x2 | GV_ADDMULTI);
   45920           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(22)));
   45921           1 :     SvREADONLY_on(sv);
   45922             :   } while(0) /*@SWIG@*/;
   45923             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45924           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_QUERYERR", TRUE | 0x2 | GV_ADDMULTI);
   45925           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(23)));
   45926           1 :     SvREADONLY_on(sv);
   45927             :   } while(0) /*@SWIG@*/;
   45928             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45929           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_WMSERR", TRUE | 0x2 | GV_ADDMULTI);
   45930           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(24)));
   45931           1 :     SvREADONLY_on(sv);
   45932             :   } while(0) /*@SWIG@*/;
   45933             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45934           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_WMSCONNERR", TRUE | 0x2 | GV_ADDMULTI);
   45935           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(25)));
   45936           1 :     SvREADONLY_on(sv);
   45937             :   } while(0) /*@SWIG@*/;
   45938             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45939           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_ORACLESPATIALERR", TRUE | 0x2 | GV_ADDMULTI);
   45940           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(26)));
   45941           1 :     SvREADONLY_on(sv);
   45942             :   } while(0) /*@SWIG@*/;
   45943             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45944           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_WFSERR", TRUE | 0x2 | GV_ADDMULTI);
   45945           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(27)));
   45946           1 :     SvREADONLY_on(sv);
   45947             :   } while(0) /*@SWIG@*/;
   45948             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45949           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_WFSCONNERR", TRUE | 0x2 | GV_ADDMULTI);
   45950           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(28)));
   45951           1 :     SvREADONLY_on(sv);
   45952             :   } while(0) /*@SWIG@*/;
   45953             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45954           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_MAPCONTEXTERR", TRUE | 0x2 | GV_ADDMULTI);
   45955           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(29)));
   45956           1 :     SvREADONLY_on(sv);
   45957             :   } while(0) /*@SWIG@*/;
   45958             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45959           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_HTTPERR", TRUE | 0x2 | GV_ADDMULTI);
   45960           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(30)));
   45961           1 :     SvREADONLY_on(sv);
   45962             :   } while(0) /*@SWIG@*/;
   45963             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45964           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_CHILDERR", TRUE | 0x2 | GV_ADDMULTI);
   45965           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(31)));
   45966           1 :     SvREADONLY_on(sv);
   45967             :   } while(0) /*@SWIG@*/;
   45968             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45969           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_WCSERR", TRUE | 0x2 | GV_ADDMULTI);
   45970           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(32)));
   45971           1 :     SvREADONLY_on(sv);
   45972             :   } while(0) /*@SWIG@*/;
   45973             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45974           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_GEOSERR", TRUE | 0x2 | GV_ADDMULTI);
   45975           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(33)));
   45976           1 :     SvREADONLY_on(sv);
   45977             :   } while(0) /*@SWIG@*/;
   45978             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45979           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_RECTERR", TRUE | 0x2 | GV_ADDMULTI);
   45980           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(34)));
   45981           1 :     SvREADONLY_on(sv);
   45982             :   } while(0) /*@SWIG@*/;
   45983             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45984           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TIMEERR", TRUE | 0x2 | GV_ADDMULTI);
   45985           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(35)));
   45986           1 :     SvREADONLY_on(sv);
   45987             :   } while(0) /*@SWIG@*/;
   45988             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45989           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_GMLERR", TRUE | 0x2 | GV_ADDMULTI);
   45990           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(36)));
   45991           1 :     SvREADONLY_on(sv);
   45992             :   } while(0) /*@SWIG@*/;
   45993             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45994           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_SOSERR", TRUE | 0x2 | GV_ADDMULTI);
   45995           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(37)));
   45996           1 :     SvREADONLY_on(sv);
   45997             :   } while(0) /*@SWIG@*/;
   45998             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45999           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_NULLPARENTERR", TRUE | 0x2 | GV_ADDMULTI);
   46000           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(38)));
   46001           1 :     SvREADONLY_on(sv);
   46002             :   } while(0) /*@SWIG@*/;
   46003             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46004           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_AGGERR", TRUE | 0x2 | GV_ADDMULTI);
   46005           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(39)));
   46006           1 :     SvREADONLY_on(sv);
   46007             :   } while(0) /*@SWIG@*/;
   46008             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46009           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_OWSERR", TRUE | 0x2 | GV_ADDMULTI);
   46010           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(40)));
   46011           1 :     SvREADONLY_on(sv);
   46012             :   } while(0) /*@SWIG@*/;
   46013             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46014           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_OGLERR", TRUE | 0x2 | GV_ADDMULTI);
   46015           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(41)));
   46016           1 :     SvREADONLY_on(sv);
   46017             :   } while(0) /*@SWIG@*/;
   46018             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46019           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_RENDERERERR", TRUE | 0x2 | GV_ADDMULTI);
   46020           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(42)));
   46021           1 :     SvREADONLY_on(sv);
   46022             :   } while(0) /*@SWIG@*/;
   46023             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46024           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_V8ERR", TRUE | 0x2 | GV_ADDMULTI);
   46025           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(43)));
   46026           1 :     SvREADONLY_on(sv);
   46027             :   } while(0) /*@SWIG@*/;
   46028             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46029           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_NUMERRORCODES", TRUE | 0x2 | GV_ADDMULTI);
   46030           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(44)));
   46031           1 :     SvREADONLY_on(sv);
   46032             :   } while(0) /*@SWIG@*/;
   46033             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46034           1 :     SV *sv = get_sv((char*) SWIG_prefix "MESSAGELENGTH", TRUE | 0x2 | GV_ADDMULTI);
   46035           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(2048)));
   46036           1 :     SvREADONLY_on(sv);
   46037             :   } while(0) /*@SWIG@*/;
   46038             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46039           1 :     SV *sv = get_sv((char*) SWIG_prefix "ROUTINELENGTH", TRUE | 0x2 | GV_ADDMULTI);
   46040           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(64)));
   46041           1 :     SvREADONLY_on(sv);
   46042             :   } while(0) /*@SWIG@*/;
   46043             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46044           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_ERROR_LANGUAGE", TRUE | 0x2 | GV_ADDMULTI);
   46045           1 :     sv_setsv(sv, SWIG_FromCharPtr("en-US"));
   46046           1 :     SvREADONLY_on(sv);
   46047             :   } while(0) /*@SWIG@*/;
   46048           1 :   SWIG_TypeClientData(SWIGTYPE_p_errorObj, (void*) "mapscript::errorObj");
   46049             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46050           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_DEBUGLEVEL_ERRORSONLY", TRUE | 0x2 | GV_ADDMULTI);
   46051           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_DEBUGLEVEL_ERRORSONLY)));
   46052           1 :     SvREADONLY_on(sv);
   46053             :   } while(0) /*@SWIG@*/;
   46054             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46055           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_DEBUGLEVEL_DEBUG", TRUE | 0x2 | GV_ADDMULTI);
   46056           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_DEBUGLEVEL_DEBUG)));
   46057           1 :     SvREADONLY_on(sv);
   46058             :   } while(0) /*@SWIG@*/;
   46059             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46060           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_DEBUGLEVEL_TUNING", TRUE | 0x2 | GV_ADDMULTI);
   46061           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_DEBUGLEVEL_TUNING)));
   46062           1 :     SvREADONLY_on(sv);
   46063             :   } while(0) /*@SWIG@*/;
   46064             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46065           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_DEBUGLEVEL_V", TRUE | 0x2 | GV_ADDMULTI);
   46066           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_DEBUGLEVEL_V)));
   46067           1 :     SvREADONLY_on(sv);
   46068             :   } while(0) /*@SWIG@*/;
   46069             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46070           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_DEBUGLEVEL_VV", TRUE | 0x2 | GV_ADDMULTI);
   46071           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_DEBUGLEVEL_VV)));
   46072           1 :     SvREADONLY_on(sv);
   46073             :   } while(0) /*@SWIG@*/;
   46074             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46075           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_DEBUGLEVEL_VVV", TRUE | 0x2 | GV_ADDMULTI);
   46076           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_DEBUGLEVEL_VVV)));
   46077           1 :     SvREADONLY_on(sv);
   46078             :   } while(0) /*@SWIG@*/;
   46079             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46080           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_DEBUGLEVEL_DEVDEBUG", TRUE | 0x2 | GV_ADDMULTI);
   46081           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_DEBUGLEVEL_DEVDEBUG)));
   46082           1 :     SvREADONLY_on(sv);
   46083             :   } while(0) /*@SWIG@*/;
   46084             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46085           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_HASHSIZE", TRUE | 0x2 | GV_ADDMULTI);
   46086           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(41)));
   46087           1 :     SvREADONLY_on(sv);
   46088             :   } while(0) /*@SWIG@*/;
   46089           1 :   SWIG_TypeClientData(SWIGTYPE_p_hashTableObj, (void*) "mapscript::hashTableObj");
   46090             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46091           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_DEFAULT_CGI_PARAMS", TRUE | 0x2 | GV_ADDMULTI);
   46092           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(100)));
   46093           1 :     SvREADONLY_on(sv);
   46094             :   } while(0) /*@SWIG@*/;
   46095             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46096           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_GET_REQUEST", TRUE | 0x2 | GV_ADDMULTI);
   46097           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_GET_REQUEST)));
   46098           1 :     SvREADONLY_on(sv);
   46099             :   } while(0) /*@SWIG@*/;
   46100             :   /*@SWIG:/usr/share/swig/3.0.12/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46101           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_POST_REQUEST", TRUE | 0x2 | GV_ADDMULTI);
   46102           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_POST_REQUEST)));
   46103           1 :     SvREADONLY_on(sv);
   46104             :   } while(0) /*@SWIG@*/;
   46105           1 :   SWIG_TypeClientData(SWIGTYPE_p_cgiRequestObj, (void*) "mapscript::OWSRequest");
   46106           1 :   ST(0) = &PL_sv_yes;
   46107           1 :   XSRETURN(1);
   46108             : }
   46109             : 

Generated by: LCOV version 1.10